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

--match-filter fails when using a YouTube channel as download url #4921

Closed
GijsTimmers opened this issue Feb 10, 2015 · 2 comments
Closed

--match-filter fails when using a YouTube channel as download url #4921

GijsTimmers opened this issue Feb 10, 2015 · 2 comments

Comments

@GijsTimmers
Copy link

@GijsTimmers GijsTimmers commented Feb 10, 2015

For instance, this works:

$ youtube-dl --match-filter "upload_date" https://www.youtube.com/watch?v=cU2dZz18P0c
[youtube] cU2dZz18P0c: Downloading webpage
[youtube] cU2dZz18P0c: Extracting video information
[youtube] cU2dZz18P0c: Downloading DASH manifest
[download] Destination: How long does it take for the earth to go around the sun-cU2dZz18P0c.mp4
[download]   4.0% of 24.99MiB at 851.09KiB/s ETA 00:28^C

But this does not work:

$ youtube-dl --match-filter "upload_date" https://www.youtube.com/user/1veritasium/videos 
[download] Downloading playlist: 1veritasium
[youtube:user] 1veritasium: Downloading video ids from 1 to 51
[youtube:user] 1veritasium: Downloading video ids from 51 to 101
[youtube:user] 1veritasium: Downloading video ids from 101 to 151
[youtube:user] 1veritasium: Downloading video ids from 151 to 201
[youtube:user] playlist 1veritasium: Downloading 174 videos
[download] Downloading video 1 of 174
[download] An Astronaut's View of Earth does not pass filter upload_date, skipping ..
[download] Downloading video 2 of 174
[download] Do Cell Phones Cause Brain Tumors? does not pass filter upload_date, skipping ..
(...)
[download] Downloading video 173 of 174
[download] What causes the seasons? does not pass filter upload_date, skipping ..
[download] Downloading video 174 of 174
[download] How long does it take for the earth to go around the sun? does not pass filter upload_date, skipping ..
$
@phihag phihag closed this in 442c37b Feb 10, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Feb 10, 2015

Thank you for the report. The problem is that at the time we're matching, we don't have all the information yet. Therefore, we must wait until the video information is actually resolved (i.e. we have read the video webpage).

I've done exactly that in youtube-dl 2015.02.10.4. See our FAQ if you need help updating.

@GijsTimmers
Copy link
Author

@GijsTimmers GijsTimmers commented Feb 10, 2015

Works, thank you!

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.