ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.23k stars 10.03k forks source link

Cannot download multiple pages video from bilibili.com #19250

Closed jinggqu closed 5 years ago

jinggqu commented 5 years ago

I have tried #16007, but it doesn't work

first step, download the page 1

$ youtube-dl -v https://www.bilibili.com/video/av39642369/index_1.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.bilibili.com/video/av39642369/index_1.html']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2019.02.08
[debug] Python version 3.7.2 (CPython) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg N-92906-g54109b1d14, ffprobe N-92906-g54109b1d14
[debug] Proxy map: {}
[BiliBili] 39642369: Downloading webpage
[BiliBili] 39642369: Downloading video info page
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://upos-hz-mirrorkodou.acgvideo.com/upgcxcode/11/04/69630411/69630411-1-80.flv?e=ig8euxZM2rNcNb4a7WdVtW4a7WdVNEVEuCIv29hEn0lqXg8Y2ENvNCImNEVEUJ1miI7MT96fqj3E9r1qNCNEto8g2ENvN03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&deadline=1550388525&gen=playurl&nbs=1&oi=3752224793&os=kodou&platform=pc&trid=623966b3586240bf8d958deeeb184c76&uipk=5&upsig=3b99ec278426bb69141cc2307544af85'
[download] Destination: 408王道计算机组成原理精讲+习题讲解+冲刺-39642369.flv
[download] 100% of 13.73MiB in 00:02

then download the page 2

$ youtube-dl -v https://www.bilibili.com/video/av39642369/index_2.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.bilibili.com/video/av39642369/index_2.html']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2019.02.08
[debug] Python version 3.7.2 (CPython) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg N-92906-g54109b1d14, ffprobe N-92906-g54109b1d14
[debug] Proxy map: {}
[BiliBili] 39642369: Downloading webpage
[BiliBili] 39642369: Downloading video info page
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://upos-hz-mirrorkodou.acgvideo.com/upgcxcode/11/04/69630411/69630411-1-80.flv?e=ig8euxZM2rNcNb4a7WdVtW4a7WdVNEVEuCIv29hEn0lqXg8Y2ENvNCImNEVEUJ1miI7MT96fqj3E9r1qNCNEto8g2ENvN03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&deadline=1550388571&gen=playurl&nbs=1&oi=3752224793&os=kodou&platform=pc&trid=e69ee69d94904a5fa81a3dca7ef6d7fe&uipk=5&upsig=fe3aeb87e791194f6ab0b83fb02638b4'
[download] 408王道计算机组成原理精讲+习题讲解+冲刺-39642369.flv has already been downloaded
[download] 100% of 13.73MiB
dstftw commented 5 years ago

Both URLs link to the same video.

jinggqu commented 5 years ago

no they are not the same video. index_1.html refer to the page 1 index_2.html refer to the page 2 although the av number are both 39642369

dstftw commented 5 years ago

There are no pages for me. Both play the same video in browser.

ahoko commented 5 years ago

They appear as different videos for me, too and I am also unable to download the second video+. I also have this issue on several other videos. I don't think I am able to change labels, but at least I can reproduce.

YuiyuD001 commented 5 years ago

true, in the list, they have different videos, not same https://www.bilibili.com/video/av39642369/?p=9

https://www.bilibili.com/video/av39642369/?p=4

omega13a commented 5 years ago

I can confirm the problem as well. These multi-page videos should be treated like a playlist but aren't. It's very frustrating.

vulc commented 5 years ago

I join, still actual. How to download p=2 and next parts? For example: https://www.bilibili.com/video/av52816222/?p=2 Is issue reproduced, can confirm?

lod61 commented 4 years ago

@vulc same problem, and don't know how to fix that. anybody know how to do ?