Skip to content

[Bug] ERROR: [youtube] Qn0yFkgNXqQ: Requested format is not available. Use --list-formats for a list of available formats #844

@BOplaid

Description

@BOplaid

  • Tried latest version

  • This issue is not duplicated with any other open or closed issues

Describe the bug

When I pressed Download on my YouTube client, first it came up with the "sign in this protects our community" thing, and there was a button that said "Get Cookies" and I tapped that and assumed that I needed to sign in to the YT web page that came up. So I did pressed the OK button at the top, then another error came up:

ERROR: [youtube] Qn0yFkgNXqQ: Requested format is not available. Use --list-formats for a list of available formats

There was a Continue Anyway option but no good happened from that.

Expected behavior

The second error not happening (I'm using an obscure free VPN so the first one is expected) and me being able to choose my settings and download.

Steps to reproduce

(Assuming using Revanced Extended)

  1. Configure RVX to use YTDLnis.
  2. Find a video and press Download.
  3. Wait for some time, get cookies if needed.
  4. The error should appear

Device information

Device: Samsung Galaxy A52s 5G
System: Android 14
Using a VPN (v2ray to be exact, and no it is not possible to turn it off as this is my only way to access even GitHub, let alone YT)

Screenshots / Recordings

No response

Additional context

Log:

Downloading:
Title:
URL: https://youtu.be/Qn0yFkgNXqQ
Type: video
Command:
--extractor-args "youtube:lang=en" --newline -N "3" --cookies "/data/user/0/com.deniscerri.ytdl/cache/cookies.txt" --trim-filenames "184" --no-mtime --sponsorblock-remove "music_offtopic" --sponsorblock-mark "all" --embed-chapters -f "bv+ba/b" --write-subs --write-auto-subs --compat-options "no-keep-subs" --embed-subs --sub-format "srt/best" --convert-subtitles "srt" --sub-langs "en.,.-orig" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/downloads/1" -o "%(uploader).30B - %(title).170B.%(ext)s" --parse-metadata "%(artists,artist,uploader,channel,creator|null)l:^(?P.*?)(?:(?= - Topic)|$)" "https://youtu.be/Qn0yFkgNXqQ"

WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
WARNING: [youtube] Falling back to generic n function search
player = https://www.youtube.com/s/player/14397202/player_ias.vflset/en_US/base.js
WARNING: [youtube] Qn0yFkgNXqQ: nsig extraction failed: Some formats may be missing
n = ozW3kK473LadhcHuD ; player = https://www.youtube.com/s/player/14397202/player_ias.vflset/en_US/base.js
WARNING: [youtube] Falling back to generic n function search
player = https://www.youtube.com/s/player/14397202/player_ias.vflset/en_US/base.js
WARNING: [youtube] Qn0yFkgNXqQ: nsig extraction failed: Some formats may be missing
n = G7xGlyenppC4DmQik ; player = https://www.youtube.com/s/player/14397202/player_ias.vflset/en_US/base.js
WARNING: Only images are available for download. use --list-formats to see them
ERROR: [youtube] Qn0yFkgNXqQ: Requested format is not available. Use --list-formats for a list of available formats

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingyt-dlp relatedNot a bug about the app but with the yt-dlp library

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions