Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
When Downloading a Play List -O option fails to Expand in Some Cases #1915
Comments
|
The template must be |
|
I am trying to put thins into different directories as in the example: Can also be used to download to Since I am in windows I changed / to \ |
|
According to the output you put there are missing |
|
I think I found the reason. In a batch file when in side quotes sometimes you do not need to escape % but sometime you need to escape it. I replaced it by %% then it works. |
CMD script file (1st download started without a issue):
youtube-dl -U
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=PL23DE0292227250FA
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=PLlwuBpNY38y8n9N6_dgO6LJtKRenht1lU
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=UUQJ6ESCWQotBwtJm0Ff_gyQ
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=PL92CB0490FD400A21
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=PLBA48805EC25C0C64
youtube-dl -i -f mp4 -v -o "%(uploader)s%(playlist)s%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?list=PL34979749519F0A1F
youtube-dl -i -f mp4 -v -o "%(uploader)s%(title)s-%(id)s.%(ext)s" http://www.youtube.com/watch?v=PVKC5FuGjsI
youtube-dl -i -f mp4 -v -o "%(uploader)s%(title)s-%(id)s.%(ext)s" http://www.youtube.com/watch?v=GfsStm5zkQ0
pause
C:\Downloads>youtube-dl -i -f mp4 -v -o "(playlist)s(title)s-(ext)s" http://www
.youtube.com/playlist?list=UUQJ6ESCWQotBwtJm0Ff_gyQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-f', 'mp4', '-v', '-o', '(playlist)s(title)
s-(ext)s', 'http://www.youtube.com/playlist?list=UUQJ6ESCWQotBwtJm0Ff_gyQ']
[debug] youtube-dl version 2013.12.04
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #1
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #2
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #3
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #4
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #5
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #6
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #7
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #8
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #9
[download] Downloading playlist: Uploads from Yuttadhammo Bhikkhu
[youtube:playlist] playlist 'Uploads from Yuttadhammo Bhikkhu': Collected 881 vi
deo ids (downloading 881 of them)
[download] Downloading video #1 of 881
[youtube] Setting language
[youtube] 42L0feZLsp4: Downloading video webpage
[youtube] 42L0feZLsp4: Downloading video info webpage
[youtube] 42L0feZLsp4: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #2 of 881
[youtube] 4MiBLF9pb40: Downloading video webpage
[youtube] 4MiBLF9pb40: Downloading video info webpage
[youtube] 4MiBLF9pb40: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #3 of 881
[youtube] L-JZ1eWwWLA: Downloading video webpage
[youtube] L-JZ1eWwWLA: Downloading video info webpage
[youtube] L-JZ1eWwWLA: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #4 of 881
[youtube] qdRUQWHg7ig: Downloading video webpage
[youtube] qdRUQWHg7ig: Downloading video info webpage
[youtube] qdRUQWHg7ig: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #5 of 881
[youtube] i2UwB-l6CGM: Downloading video webpage
[youtube] i2UwB-l6CGM: Downloading video info webpage
[youtube] i2UwB-l6CGM: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #6 of 881
[youtube] lJtfm-Ii4-U: Downloading video webpage
[youtube] lJtfm-Ii4-U: Downloading video info webpage
[youtube] lJtfm-Ii4-U: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #7 of 881
[youtube] ASePs8wkcto: Downloading video webpage
[youtube] ASePs8wkcto: Downloading video info webpage
[youtube] ASePs8wkcto: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #8 of 881
[youtube] U4K-5UMs2WY: Downloading video webpage
[youtube] U4K-5UMs2WY: Downloading video info webpage
[youtube] U4K-5UMs2WY: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #9 of 881
[youtube] EaA9a9HFPCY: Downloading video webpage
[youtube] EaA9a9HFPCY: Downloading video info webpage
[youtube] EaA9a9HFPCY: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #10 of 881
[youtube] ohMiaC9fVNk: Downloading video webpage
[youtube] ohMiaC9fVNk: Downloading video info webpage
[youtube] ohMiaC9fVNk: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #11 of 881
[youtube] eM-8DgJFiK0: Downloading video webpage
[youtube] eM-8DgJFiK0: Downloading video info webpage
[youtube] eM-8DgJFiK0: Extracting video information
downloads(title)s-(ext)s has already been downloaded
[download] Downloading video #12 of 881
[youtube] rJQF2dL8PeI: Downloading video webpage
[youtube] rJQF2dL8PeI: Downloading video info webpage
[youtube] rJQF2dL8PeI: Extracting video information