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

[Douyin] can't download and how to fix? #8139

Closed
9 tasks done
monostudio88 opened this issue Sep 17, 2023 · 6 comments
Closed
9 tasks done

[Douyin] can't download and how to fix? #8139

monostudio88 opened this issue Sep 17, 2023 · 6 comments
Labels
duplicate This issue or pull request already exists site-bug Issue with a specific website

Comments

@monostudio88
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Please make sure the question is worded well enough to be understood

yt-dlp --cookies-from-browser firefox https://www.douyin.com/video/7242677089596361984
Extracting cookies from firefox
Extracted 74 cookies from firefox
[Douyin] Extracting URL: https://www.douyin.com/video/7242677089596361984
[Douyin] 7242677089596361984: Downloading video feed
[Douyin] 7242677089596361984: Unable to find video in feed; trying with webpage
[Douyin] 7242677089596361984: Downloading webpage
WARNING: [Douyin] unable to extract render data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [Douyin] 7242677089596361984: Fresh cookies (not necessarily logged in) are needed; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

No response

@monostudio88 monostudio88 added the question Question label Sep 17, 2023
@bashonly
Copy link
Member

First, run yt-dlp --update-to nightly

You need to load the video in your browser, solve the anti-bot puzzle challenge, and then pass cookies from your browser to yt-dlp. The key point is that they are fresh cookies extracted soon after you have solved the anti-bot challenge.

Though then you might run into this issue: #7854

@monostudio88
Copy link
Author

First, run yt-dlp --update-to nightly

You need to load the video in your browser, solve the anti-bot puzzle challenge, and then pass cookies from your browser to yt-dlp. The key point is that they are fresh cookies extracted soon after you have solved the anti-bot challenge.

Though then you might run into this issue: #7854

I update to last version nightly@2023.09.17.105706, but not work

@bashonly
Copy link
Member

You need to load the video in your browser, solve the anti-bot puzzle challenge, and then pass cookies from your browser to yt-dlp

Did you do this? Show a complete verbose log (add -v to your command)

@monostudio88
Copy link
Author

You need to load the video in your browser, solve the anti-bot puzzle challenge, and then pass cookies from your browser to yt-dlp

Did you do this? Show a complete verbose log (add -v to your command)

Yes, i do this already, but not work too

@monostudio88
Copy link
Author

You need to load the video in your browser, solve the anti-bot puzzle challenge, and then pass cookies from your browser to yt-dlp

Did you do this? Show a complete verbose log (add -v to your command)

yt-dlp --cookies cookies.txt https://www.douyin.com/video/7265151697159310644
[Douyin] Extracting URL: https://www.douyin.com/video/7265151697159310644
[Douyin] 7265151697159310644: Downloading video feed
[Douyin] 7265151697159310644: Unable to find video in feed; trying with webpage
[Douyin] 7265151697159310644: Downloading webpage
ERROR: 'NoneType' object is not subscriptable

@bashonly
Copy link
Member

You are running into #7854

The extractor is broken and someone needs to fix it, if it's even possible

@bashonly bashonly closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
@bashonly bashonly added duplicate This issue or pull request already exists site-bug Issue with a specific website and removed question Question labels Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

2 participants