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

404 on maxresdefault.jpg, should fallback to next available image #20

Open
jaskaran27 opened this issue Feb 16, 2015 · 10 comments
Open

Comments

@jaskaran27
Copy link

I am getting 404s for a couple of video thumbnails. If maxresdefault.jpg is not available, it should use sddefault.jpg. If that is not available, it should fallback to the next available thumbnail image and so on.

@tmtmtm
Copy link

tmtmtm commented Feb 16, 2015

there is no easy way to reliably determine the availability of maxresdefault.jpg, try this workaround: tmtmtm@a2f0b8d
still, its not 100% reliable.

@tmtmtm
Copy link

tmtmtm commented Feb 16, 2015

update - please test: tmtmtm@59a2b3e

@jaskaran27
Copy link
Author

I tested this out, but I still get 404s for sddefault.jpg. I guess those videos are not HD. If sddefault.jpg is not available, it should be getting hqdefault.jpg.

@tyrann0us
Copy link

+1

@tmtmtm
Copy link

tmtmtm commented Feb 20, 2015

made some fixes, please update. if this does not solve the issue, then more complex checking of youtube data will be needed.

@jaskaran27
Copy link
Author

I tried it out, still getting 404s for sddefault.jpg.

@tmtmtm
Copy link

tmtmtm commented Feb 24, 2015

please provide id/url of failing videos

@jaskaran27
Copy link
Author

Here are a couple of them

CBsVRqaJJA4 (480p)
MgWc3cc_vII (360p)
CvEs5Dqwul8 (240p)

@tyrann0us
Copy link

any news?

@Daugilas
Copy link
Contributor

Daugilas commented Mar 6, 2016

Solved with commit: Daugilas@a7f0227

On this fork: https://github.com/Daugilas/lazyYT/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants