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

skip video while download playlists #1523

Closed
oleg-poltora opened this issue Sep 28, 2013 · 7 comments
Closed

skip video while download playlists #1523

oleg-poltora opened this issue Sep 28, 2013 · 7 comments

Comments

@oleg-poltora
Copy link

@oleg-poltora oleg-poltora commented Sep 28, 2013

Skip video while download playlists

For example - playlist:
youtube-dl -cilw --max-quality 22 http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe

Skip this video:
youtube-dl -cilw --max-quality 22 http://www.youtube.com/watch?v=vRVpIasZ-60&list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe&index=3

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 29, 2013

Two options, using --reject-title : youtube-dl 'http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe' --reject-title 'Шаблоны разработки ПО. Шаблоны GoF первая часть', or using --playlist-end:youtube-dl 'http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe' --playlist-end 2, --playlist-end will download videos until the index is higher that the given number.

@jaimeMF jaimeMF closed this Sep 29, 2013
@oleg-poltora
Copy link
Author

@oleg-poltora oleg-poltora commented Sep 29, 2013

No, I want download all playlist! But I can't - youtube-dl doesn't do it.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 29, 2013

Sorry, I misunderstood it, could you post the output of youtube-dl 'http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe' --verbose.

@jaimeMF jaimeMF reopened this Sep 29, 2013
@oleg-poltora
Copy link
Author

@oleg-poltora oleg-poltora commented Sep 29, 2013

$ youtube-dl -cilw --max-quality 22 http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe --verbose
[debug] Proxy map: {}
[youtube] Setting language
[youtube] PL mqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe: Downloading page #1
[youtube] Dfxxl3oeIqU: Downloading video webpage
[youtube] Dfxxl3oeIqU: Downloading video info webpage
[youtube] Dfxxl3oeIqU: Extracting video information
[youtube] U5MjXRp3Z-Y: Downloading video webpage
[youtube] U5MjXRp3Z-Y: Downloading video info webpage
[youtube] U5MjXRp3Z-Y: Extracting video information
poltora@poltora-iRU-Notebook:~/Библиотека/SE.Video/Sergey Nemchinsky/Design patterns/1$

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 29, 2013

You are probably running an outdated version (there should be more [debug] * messages), if youtube-dl --version prints something lower that 2013.09.24, you have to update, using sudo youtube-dl -U.

@oleg-poltora
Copy link
Author

@oleg-poltora oleg-poltora commented Sep 29, 2013

I update it.
Download complete. Thank you.

$ youtube-dl -cilw --max-quality 22 http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-cilw', '--max-quality', '22', 'http://www.youtube.com/playlist?list=PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe', '--verbose']
[debug] youtube-dl version 2013.09.29
[debug] Python version 2.7.3 - Linux-3.2.0-54-generic-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube:playlist] PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe: Downloading page #1
[youtube:playlist] PLmqFxxywkatSzlcVEJTsMqZ1ObLO6vqCe: Downloading page #2
[download] Downloading playlist: Design patterns
[youtube:playlist] playlist 'Design patterns': Collected 3 video ids (downloading 3 of them)
[download] Downloading video #1 of 3
[youtube] Setting language
[youtube] Dfxxl3oeIqU: Downloading video webpage
[youtube] Dfxxl3oeIqU: Downloading video info webpage
[youtube] Dfxxl3oeIqU: Extracting video information
[download] Downloading video #2 of 3
[youtube] U5MjXRp3Z-Y: Downloading video webpage
[youtube] U5MjXRp3Z-Y: Downloading video info webpage
[youtube] U5MjXRp3Z-Y: Extracting video information
[download] Downloading video #3 of 3
[youtube] vRVpIasZ-60: Downloading video webpage
[youtube] vRVpIasZ-60: Downloading video info webpage
[youtube] vRVpIasZ-60: Extracting video information
[download] Destination: Шаблоны разработки ПО. Шаблоны GoF первая часть-vRVpIasZ-60.mp4

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 29, 2013

Good, thanks for reporting.

@jaimeMF jaimeMF closed this Sep 29, 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.