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
36 stars 19 forks source link

how to fix for private vimeo video #1

Closed Nuwaithu closed 1 year ago

superm0 commented 6 years ago

Can you share a private video url?

dhritzkiv commented 4 years ago

Here is an example private vimeo video: https://vimeo.com/359413330/bff920d0e6

A lot of the information can be parsed from the meta tags on the page, as well as the oembed endpoint: https://vimeo.com/api/oembed.json?url=https%3A%2F%2Fvimeo.com%2F359413330%2Fbff920d0e6

Not sure about API access.

However, it seems as though removing the final ID (i.e. resulting in https://player.vimeo.com/video/359413330) from the path and accessing the API with that ID works.

superm0 commented 1 year ago

@Nuwaithu the library has been updated, please try again using fetchVideoURLFrom:id