superm0 / HCVimeoVideoExtractor

HCVimeoVideoExtractor is an easy way to extract the Vimeo video details like title, thumbnails and mp4 URL's which then can be used to play using AVPlayerView.
MIT License
37 stars 19 forks source link

Fix for code 4 errors when request.files.progressive is not present #18

Closed Janneman84 closed 6 months ago

Janneman84 commented 7 months ago

It seems Vimeo recently started removing progressive from their json, causing errors. I made a few small changes to fix these errors.

I improved on the id extraction as well so a url with a hash like https://vimeo.com/192207770/0faf1dd09d works now too.

Third commit added actual hash compatibility so videos like https://vimeo.com/605783608/493d2ee578 work too.