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

Downloading Video from playlist and assigning a name.... #1233

Closed
RingoTheDog opened this issue Aug 12, 2013 · 1 comment
Closed

Downloading Video from playlist and assigning a name.... #1233

RingoTheDog opened this issue Aug 12, 2013 · 1 comment

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Aug 12, 2013

When I try to pull a specific video from a play list (ie URL contains &list=) this works correctly if I do NOT assign an output file name (ie -o) but fails when an output file name is included.

EXAMPLE1: (works with no assigned name)
C:\youtube-dl.py -v http://www.youtube.com/watch?v=OOOGuKa_HLc&list=TLn6fFfNvb6Ik
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=OOOGuKa_HLc']
[debug] youtube-dl version 2013.08.09
[debug] Python version 2.7.1 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] OOOGuKa_HLc: Downloading video webpage
[youtube] OOOGuKa_HLc: Downloading video info webpage
[youtube] OOOGuKa_HLc: Extracting video information
[download] Destination: Appalachian Mountains _ New Brunswick, Canada-OOOGuKa_HL
c.mp4
[download] 100.0% of 3.24MiB at 2.66MiB/s ETA 00:0002
'list' is not recognized as an internal or external command,
operable program or batch file.

EXAMPLE2: (fails when assigning output file name)
C:\youtube-dl.py -v "http://www.youtube.com/watch?v=OOOGuKa_HLc&l
ist=TLn6fFfNvb6Ik" -o "C:\TESTVIZ"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=OOOGuKa_HLc&list=TLn6fFfNvb6Ik', '-o', 'C:\TESTVIZ']
[debug] youtube-dl version 2013.08.09
[debug] Python version 2.7.1 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube:playlist] TLn6fFfNvb6Ik: Downloading page #1
[download] Downloading playlist: Untitled list
[youtube:playlist] playlist 'Untitled list': Collected 0 video ids (downloading
0 of them)

Thanks in advance...
Ringo

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 21, 2013

The actual reason the first case doesn't fail is that you are not escaping then & and youtube-dl gets http://www.youtube.com/watch?v=OOOGuKa_HLc, while it gets http://www.youtube.com/watch?v=OOOGuKa_HLc&list=TLn6fFfNvb6Ik in the second case, you have to write "http://www.youtube.com/watch?v=OOOGuKa_HLc&list=TLn6fFfNvb6Ik".
The problem in the second case is that it tries to download the playlist instead of the video (see #755 for more info), using youtube-dl http://www.youtube.com/watch?v=OOOGuKa_HLc will work.

@jaimeMF jaimeMF closed this Aug 21, 2013
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
2 participants
You can’t perform that action at this time.