Skip to content
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

youtu.be URLs ignore --no-playlist #10896

Closed
tremby opened this issue Oct 10, 2016 · 0 comments
Closed

youtu.be URLs ignore --no-playlist #10896

tremby opened this issue Oct 10, 2016 · 0 comments

Comments

@tremby
Copy link

@tremby tremby commented Oct 10, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.10.07
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Output

With youtu.be URL

$ youtube-dl --verbose --no-playlist "https://youtu.be/yeWKywCrFtk?list=PL2qgrgXsNUG5ig9cat4ohreBjYLAPC0J5"                                                                     
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--no-playlist', 'https://youtu.be/yeWKywCrFtk?list=PL2qgrgXsNUG5ig9cat4ohreBjYLAPC0J5']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.10.07
[debug] Python version 3.4.3+ - Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 2.7.6-0ubuntu0.15.10.1, avprobe 2.7.6-0ubuntu0.15.10.1, ffmpeg 2.7.6-0ubuntu0.15.10.1, ffprobe 2.7.6-0ubuntu0.15.10.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PL2qgrgXsNUG5ig9cat4ohreBjYLAPC0J5: Downloading webpage
[download] Downloading playlist: Heritage Farm Show
[youtube:playlist] playlist Heritage Farm Show: Downloading 5 videos
[download] Downloading video 1 of 5
[youtube] iONbUvOhrlU: Downloading webpage
[youtube] iONbUvOhrlU: Downloading video info webpage
[youtube] iONbUvOhrlU: Extracting video information
[youtube] {22} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {43} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {18} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {36} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {17} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {137} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {136} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {135} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {134} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {133} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {160} signature length 42.43, html5 player en_US-vflQcYs5w
[youtube] {140} signature length 42.43, html5 player en_US-vflQcYs5w
[debug] Invoking downloader on 'https://r6---sn-nx5e6ne6.googlevideo.com/videoplayback?requiressl=yes&pl=19&nh=IgpwcjAyLnNlYTAzKgkxMjcuMC4wLjE&initcwndbps=1332500&pcm2=yes&ei=sRj8V6XdLYrw-gO32ato&id=o-AHuWhN7N1BBGCNxDPsdRwKtKUam9yOX3PJTmIsx5fWrl&upn=X1EhGU-68mg&key=yt6&ip=64.46.18.222&ipbits=0&lmt=1476125826767113&clen=33025044&mt=1476138711&mv=m&ms=au&mm=31&mn=sn-nx5e6ne6&dur=66.366&gir=yes&itag=137&expire=1476160785&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpcm2%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&source=youtube&mime=video%2Fmp4&keepalive=yes&signature=B076350D081262244C21CFA466522BEE0D1CD90C.080CFFEAF72426971590A9CB511299D0B59DD076&ratebypass=yes'
[download] Destination: Heritage Farm Show Commercial 2016-iONbUvOhrlU.f137.mp4
[download]   6.3% of 31.50MiB at  3.24MiB/s ETA 00:09^C
ERROR: Interrupted by user

With youtube.com URL

$ youtube-dl --verbose --no-playlist "https://www.youtube.com/watch?v=yeWKywCrFtk&list=PL2qgrgXsNUG5ig9cat4ohreBjYLAPC0J5"                                                      
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--no-playlist', 'https://www.youtube.com/watch?v=yeWKywCrFtk&list=PL2qgrgXsNUG5ig9cat4ohreBjYLAPC0J5']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.10.07
[debug] Python version 3.4.3+ - Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 2.7.6-0ubuntu0.15.10.1, avprobe 2.7.6-0ubuntu0.15.10.1, ffmpeg 2.7.6-0ubuntu0.15.10.1, ffprobe 2.7.6-0ubuntu0.15.10.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] Downloading just video yeWKywCrFtk because of --no-playlist
[youtube] yeWKywCrFtk: Downloading webpage
[youtube] yeWKywCrFtk: Downloading video info webpage
[youtube] yeWKywCrFtk: Extracting video information
[youtube] yeWKywCrFtk: Downloading MPD manifest
[youtube] yeWKywCrFtk: Downloading MPD manifest
[debug] Invoking downloader on 'https://r15---sn-nx57ynll.googlevideo.com/videoplayback/id/c9e58acb00ab16d9/itag/136/source/youtube/requiressl/yes/mm/31/mn/sn-nx57ynll/nh/IgpwcjAyLnNlYTAzKgkxMjcuMC4wLjE/mv/m/ms/au/pl/19/initcwndbps/1332500/ratebypass/yes/mime/video%2Fmp4/otfp/1/gir/yes/clen/9606304/lmt/1475963251101456/dur/58.884/upn/6H77_0WQKW4/key/dg_yt0/mt/1476138711/signature/5211F1164942AF0703AB9FFCD4B3E30F59A46C4F.2CD10962687DD01CBA44EC26B8BB4AA8AF368E1B/ip/64.46.18.222/ipbits/0/expire/1476160814/sparams/ip,ipbits,expire,id,itag,source,requiressl,mm,mn,nh,mv,ms,pl,initcwndbps,ratebypass,mime,otfp,gir,clen,lmt,dur/'
[dashsegments] Total fragments: 12
[download] Destination: Small Scale Baler and Braiding Rugs-yeWKywCrFtk.f136.mp4
[download]  33.3% of ~7.49MiB at  3.03MiB/s ETA 00:02^C
ERROR: Interrupted by user

Description of your issue, suggested solution and other information

When the URL to a Youtube video has both a video and a playlist, and I'm using --no-playlist, I expect it to choose the video and not the playlist.

When it's a URL of the form youtube.com/watch?v=abc&list=xyz it works as I expect: the single video is downloaded ("Downloading just video abc because of --no-playlist").

When it's a URL of the form youtu.be/abc?list=xyz the whole list is downloaded. I believe in this case only the video abc should be downloaded.

@dstftw dstftw closed this in 481cc73 Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.