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
bilibili video related to festivel event cannot be downloaded #6138
Comments
Same as above. Any updates ? |
I don't know any Japanese, but according to a git bisect, prior to ad97487 an 18 minute video downloaded, and after that commit, no video downloaded. That means that an 18 minute video will download on version 2022.10.04, but not on later versions Here is a verbose log of the first bad commit:
Here's a verbose log of the last good commit:
|
PS: I don't know why @matsumotokenji passed cookies in their verbose log, but this issue definitely doesn't require cookies to reproduce |
It is a site-bug, these festival video pages is not same as other normal videos. I personally have no plans to fix it right now due to the small number of videos involved. Volunteers are needed |
These URL is redirect to |
For users: as a temporary workaround, run For developers: ad97487 is a rather big commit, so I decided to run a bisect to see which individual commit of #4945 has the regression. Believe it or not, it is the first commit (8eee34c), although that commit gives a slightly different error message:
I also observed some other error messages at different commits, as I was running the bisect. Unfortunately I have closed the command prompt window now, and I don't have the patience to run another git bisect. |
That commit is a complete refactoring (to be precise, it was rewritten), using a different way of getting video information. If you can write python, you can try to create a patch for https://www.bilibili.com/festival |
Beginnings of a solution at ytdl-org/youtube-dl#31661. |
The approach linked above seems not to work in the yt-dlp extractor because there's no Not entirely on-topic, but relevant to back-porting new IEs from the yt-dlp module:
Obvs may be others in these tests since only the first disagreement is reported in the download tests. |
I submitted a PR (#6547) but I could only test up to 480p. Also I don't know if festival videos can be anthologies, so I couldn't test that. |
Closes yt-dlp#6138 Authored by: qbnu
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Malaysia
Provide a description that is worded well enough to be understood
Bilibili Videos related to special festival events cannot be downloaded as the page is directed to a different templete. On previous version of yt-dlp (22.09.01) low quality version can still be downloadable but with latest version nothing can be downloaded.
example video
https://www.bilibili.com/video/BV1ay4y1d77f/
https://www.bilibili.com/video/BV1hD4y117je/
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: