Youtube-dl doesn't always download the currently playing video when specified "--no-playlist --max-downloads 1" #2830

Open
opened 2026-02-20 23:08:58 -05:00 by deekerman · 0 comments
Owner

Originally created by @chaochichen on GitHub (Aug 11, 2014).

Trying to download the playing video at https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk with "--no-playlist --max-downloads 1" command line options, the youtube-dl downloads the first video from the "Uploads" playlist instead of the one that is currently playing on the web browser screen with the same URL link.

Based on the "youtube-dl --help" screen:
--no-playlist download only the currently playing video

So, this is an obvious defect in the youtube-dl for the Youtube.com site.

youtube-dl.exe --verbose --no-playlist --max-downloads 1 https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--no-playlist', '--max-downloads', '1', 'https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[download] Downloading playlist: coolschool
[youtube:user] coolschool: Downloading video ids from 1 to 51
[youtube:user] coolschool: Downloading video ids from 51 to 101
[youtube:user] coolschool: Downloading video ids from 101 to 151
[youtube:user] playlist coolschool: Downloading 129 videos
[download] Downloading video #1 of 129
[youtube] Setting language
[youtube] nzN7ncecJHY: Downloading webpage
[youtube] nzN7ncecJHY: Downloading video info webpage
[youtube] nzN7ncecJHY: Extracting video information
[debug] Invoking downloader on u'https://r18---sn-nx57yn7r.googlevideo.com/videoplayback?requiressl=yes&ms=au&key=yt5&ip=207.188.17.53&mm=31&ratebypass=yes&ipbits=0&mws=yes&fexp=902408%2C927622%2C931983%2C934024%2C934030%2C941814%2C945035%2C945533%2C946013%2C949501&sparams=id%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=BED3E4920A2E990778D03D1265FD50FFC925F2BF.F70565BBA4F63D8A1B296F46B8952361DD1AD7D1&upn=yI0mgHCXjq4&id=o-AABpoCI1O-zhFmpi9s7vnG8C0JQsksz5gqlB7HLlk-4M&initcwndbps=37575125&itag=22&mt=1407776585&sver=3&expire=1407798231&mv=m&source=youtube'
[download] Destination: Pop Goes the Weasel - Nursery Rhymes for Kids at Cool School-nzN7ncecJHY.mp4
[download] 100% of 32.31MiB in 00:00
[download] Downloading video #2 of 129
[youtube] EsXqUuFEch4: Downloading webpage
[youtube] EsXqUuFEch4: Downloading video info webpage
[youtube] EsXqUuFEch4: Extracting video information
[info] Maximum number of downloaded files reached.
--max-download limit reached, aborting.

Originally created by @chaochichen on GitHub (Aug 11, 2014). Trying to download the playing video at https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk with "--no-playlist --max-downloads 1" command line options, the youtube-dl downloads the first video from the "Uploads" playlist instead of the one that is currently playing on the web browser screen with the same URL link. Based on the "youtube-dl --help" screen: --no-playlist download only the currently playing video So, this is an obvious defect in the youtube-dl for the Youtube.com site. youtube-dl.exe --verbose --no-playlist --max-downloads 1 https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '--no-playlist', '--max-downloads', '1', 'https://www.youtube.com/user/coolschool?v=DiJkxmKGRpk'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2014.08.10 [debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1 [debug] Proxy map: {} [download] Downloading playlist: coolschool [youtube:user] coolschool: Downloading video ids from 1 to 51 [youtube:user] coolschool: Downloading video ids from 51 to 101 [youtube:user] coolschool: Downloading video ids from 101 to 151 [youtube:user] playlist coolschool: Downloading 129 videos [download] Downloading video #1 of 129 [youtube] Setting language [youtube] nzN7ncecJHY: Downloading webpage [youtube] nzN7ncecJHY: Downloading video info webpage [youtube] nzN7ncecJHY: Extracting video information [debug] Invoking downloader on u'https://r18---sn-nx57yn7r.googlevideo.com/videoplayback?requiressl=yes&ms=au&key=yt5&ip=207.188.17.53&mm=31&ratebypass=yes&ipbits=0&mws=yes&fexp=902408%2C927622%2C931983%2C934024%2C934030%2C941814%2C945035%2C945533%2C946013%2C949501&sparams=id%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=BED3E4920A2E990778D03D1265FD50FFC925F2BF.F70565BBA4F63D8A1B296F46B8952361DD1AD7D1&upn=yI0mgHCXjq4&id=o-AABpoCI1O-zhFmpi9s7vnG8C0JQsksz5gqlB7HLlk-4M&initcwndbps=37575125&itag=22&mt=1407776585&sver=3&expire=1407798231&mv=m&source=youtube' [download] Destination: Pop Goes the Weasel - Nursery Rhymes for Kids at Cool School-nzN7ncecJHY.mp4 [download] 100% of 32.31MiB in 00:00 [download] Downloading video #2 of 129 [youtube] EsXqUuFEch4: Downloading webpage [youtube] EsXqUuFEch4: Downloading video info webpage [youtube] EsXqUuFEch4: Extracting video information [info] Maximum number of downloaded files reached. --max-download limit reached, aborting.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#2830
No description provided.