Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] Unable to download age-restricted video #3249

Closed
6 of 7 tasks
user7230724 opened this issue Mar 30, 2022 · 6 comments
Closed
6 of 7 tasks

[YouTube] Unable to download age-restricted video #3249

user7230724 opened this issue Mar 30, 2022 · 6 comments
Labels
incomplete Further information is needed site-bug Issue with a specific website

Comments

@user7230724
Copy link

user7230724 commented Mar 30, 2022

Checklist

Region

Any region.

Description

The following age-restricted video cannot be downloaded: EuQLMXyGQOE. Cookies are provided for Firefox. I am properly logged into my YT account in Firefox and can play the video. It was working few days ago, but stopped working today.

Verbose log

[debug] Command-line config: ['-vU', '--no-cache-dir', '--ffmpeg-location', 'C:/Other/ffmpeg.exe', '--retries', 'infinite', '--fragment-retries', 'infinite', '--cookies', 'firefox', 'https://www.youtube.com/watch?v=EuQLMXyGQOE']
[debug] Encodings: locale cp65001, fs utf-8, out utf-8, err utf-8, pref cp65001
[debug] yt-dlp version 2022.03.08.1 [c0c2c57] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 4.4-full_build (setts), ffprobe 4.4-full_build
[debug] Optional libraries: brotli, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.1
yt-dlp is up to date (2022.03.08.1)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=EuQLMXyGQOE
[youtube] EuQLMXyGQOE: Downloading webpage
[youtube] EuQLMXyGQOE: Downloading android player API JSON
[youtube] EuQLMXyGQOE: Downloading android agegate player API JSON
[youtube] EuQLMXyGQOE: Downloading web agegate player API JSON
ERROR: [youtube] EuQLMXyGQOE: Sign in to confirm your age. This video may be inappropriate for some users.
  File "yt_dlp\extractor\common.py", line 617, in extract
  File "yt_dlp\extractor\youtube.py", line 3339, in _real_extract
  File "yt_dlp\extractor\common.py", line 1126, in raise_no_formats
@user7230724 user7230724 added site-bug Issue with a specific website triage Untriaged issue labels Mar 30, 2022
@NanaMizukiAnother7
Copy link

This was caused by YouTube's new policy update. Also, this has been fixed and is duplicate of #3182!

@user7230724
Copy link
Author

Ok, nice! I couldn't find that issue for some reason.

@pukkandan Can you please publish a new release that includes the fix from #3233?

@Lesmiscore
Copy link
Contributor

You have mistaken cookies-related option. You have to use --cookies-from-browser firefox to extract cookies.

@Lesmiscore
Copy link
Contributor

Ah okay, makes sense

@pukkandan pukkandan added duplicate This issue or pull request already exists and removed triage Untriaged issue labels Mar 31, 2022
@pukkandan
Copy link
Member

pukkandan commented Mar 31, 2022

Were you using logged in cookies? If so, this is not a duplicate of #3182 and something else is going on

@pukkandan pukkandan added incomplete Further information is needed and removed duplicate This issue or pull request already exists labels Mar 31, 2022
@pukkandan
Copy link
Member

The log doesn't say Extracted SAPISID cookie, so I assume not. Then why are you even passing cookies? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Further information is needed site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

4 participants