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

[Twitter/X] Can't download NSFW videos. #5832

Closed
huskyhi opened this issue Jul 7, 2024 · 1 comment
Closed

[Twitter/X] Can't download NSFW videos. #5832

huskyhi opened this issue Jul 7, 2024 · 1 comment

Comments

@huskyhi
Copy link

huskyhi commented Jul 7, 2024

After testing a bunch of random NSFW videos I've discovered I can't seem to pass cookies, Username & Passwords, or from browser (firefox)

Starting from /Users/nobuogawa
[twitter] Extracting URL: https://x.com/i/web/status/1807446285751828487
[twitter] 1807446285751828487: Downloading guest token
[twitter] 1807446285751828487: Downloading GraphQL JSON
ERROR: [twitter] 1807446285751828487: NSFW tweet requires authentication. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (twitter) to provide account credentials
[download][error] Failed to download ytdl:https://x.com/i/web/status/1807446285751828487

As a sample link I tried recently after asking around for NSFW link to test. This one fails every time.
Config file has username, password, there also a cookies.txt file set to use, and firefox was installed and logged into x.com

@mikf
Copy link
Owner

mikf commented Jul 7, 2024

You need to enable downloader.ytdl.forward-cookies for yt-dlp to be able to use your gallery-dl login session when using "videos": "ytdl". Or you use one of cmdline-args or config-file to have yt-dlp use its own.

@mikf mikf closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants