Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[bilibili]how can i download video on page2? #16870
Comments
|
when video-download.co was still able to download bilibili, this is what I used to get the page 2 I havent's tried using youtube-dl for bilibili, does it really work now? |
|
@yonhee137 |
|
the fix that atxalex posted in #16354 will correct the issue for you. I am currently using it with 100% success. |
|
@miklast Test url:https://www.bilibili.com/video/av18178195 ●by original bilibili.py
●by modified bilibili.py from #16354
Or i have some wrong? I just get the bilibili.py from #16354 |
|
@miklast How to correctly apply that proposed fix from the current version? This line (from atxalex's proposed fix):
doesn't look right as I'm getting: "TypeError: '_sre.SRE_Match' object does not support item assignment". |
|
@kesdoputr In line 134: 'cid = mobj[int(page)-1] or ' ,I replace the line to 'cid = mobj[int(page)] or ' I don't know why ,but It actually worked for me . |
|
Sorry i didnt come back to this sooner @kesdoputr @lss4 4 Im not going to lie, im not the best with github/recompiling/python, so i had a friend help me out. Here's what mine looks like from line 132-141:
Hope this helps. Ill try to respond quicker if theres any other issues. edit 4 or whatever: this may help too, its the full code for Bilibili.py with changes. |
|
@miklast 谢谢老哥! |
|
@miklast |
|
@miklast Thanks sincerely! |
|
@miklast can you tell me how to put the new bilibili.py in that exe version. I am totally new to this. Thank you |
|
@miklast It works, thanks a lot. |
|
I can confirm the version from jasonszang works. It downloaded the video I wanted to download correctly... Hope this can be merged to mainstream. Also, I do wish if it's also possible to download entire playlist from bilibili. I know it's already possible to do so with YouTube. |
|
[BiliBili] 17843872: Downloading webpage |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.06.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.What is the purpose of your issue?
I try to use youtube-dl to download a video on bilibili like https://www.bilibili.com/video/av18178195
The video have 2 pages, but when i type youtube-dl -f 1 https://www.bilibili.com/video/av18178195
i just get the video on page1, how can i get video on page2?
I have see this page #16354
but i use
youtube-dl -f 1 https://www.bilibili.com/video/av18178195/index_2.html or
youtube-dl -f 1 https://www.bilibili.com/video/av18178195/?p=2
It will get the same video on page1
How can i solve this problem? Thank you.
Is this problem fixed? I use the standalone exe version.