lazyYT
lazyYT copied to clipboard
404 on maxresdefault.jpg, should fallback to next available image
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.
there is no easy way to reliably determine the availability of maxresdefault.jpg, try this workaround: https://github.com/tmtmtm/lazyYT/commit/a2f0b8decc34dad8152dc4afb7d284ea805724d0 still, its not 100% reliable.
update - please test: https://github.com/tmtmtm/lazyYT/commit/59a2b3e7f4b939382dbefa6906baecb4052e09d7
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.
+1
made some fixes, please update. if this does not solve the issue, then more complex checking of youtube data will be needed.
I tried it out, still getting 404s for sddefault.jpg.
please provide id/url of failing videos
Here are a couple of them
CBsVRqaJJA4 (480p) MgWc3cc_vII (360p) CvEs5Dqwul8 (240p)
any news?
Solved with commit: https://github.com/Daugilas/lazyYT/commit/a7f02270d2c1d0e20916fb44489d4d095c78b373
On this fork: https://github.com/Daugilas/lazyYT/