Open ahoko opened 5 years ago
There are multiple partial solutions for this, none of which have been merged with the main branch. I currently use #18827 with 2 lines changed (appkey broke about 1 month ago, my bilibili.py is here: https://pastebin.com/6AQ6BV4s). It downloads paged videos, but not as one would hope. It does not treat it as a playlist, so you must create a list of URLs. This is not such a big deal, if it weren't for the fact that it sometimes ignores the page title ("part2" in your example), making filename not unique resulting in attempts to download same file repeatedly. In these cases it requires babysitting, moving the files elsewhere or renaming before beginning another URL. I can't see under what conditions it will use the page title as part of the filename.
Anyway, you need to modify bilibili.py, as the main branch's has no logic for paged videos. So you can just replace your bilibili.py with one of the ones found on pull request (this one has just been posted a few days ago: #20393 , maybe it is better than what I use). Once you've done that just rebuild youtube-dl, or just build fresh from the commit which contains the desired bilibili.py.
Maybe, this solution can be implemented in Bilibili.py https://github.com/iawia002/annie#download-playlist seems to be working just fine.
same issue
Exactly the same issue
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like this:[x]
)Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2019.03.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
I am wondering if it is possible to have support for videos from Bilibili that are in multiple parts. One example is this: https://www.bilibili.com/video/av40918356/?p=2 When I enter this into youtube-dl, it only downloads the first part of the video, ignoring the /?p=2 on the end (part 1 has /?p=1 and part 3 has /?p=3 etc.). I've seen some people talk about potential solutions around this website (like here: #12654), however I have no idea how to implement them myself. Thanks so much if anyone can help explain this to me, I'm still a novice with things like this.