yashrathi-git / vimeo-dl

Downloads Vimeo videos and retrieve metadata such as views, likes, comments, duration of the video.
MIT License
66 stars 16 forks source link

Stopped working for private urls? #7

Closed vitsum closed 3 years ago

vitsum commented 3 years ago

Used to work couple of days ago. when you have a link like https://vimeo.com/333333333/abcaa66177 [the link is wrong, just an example] I used the part https://vimeo.com/333333333 and it worked. and now it stopped working, it gives 403 error: 403: If the video is embed only, also provide the url on which it is embedded, Vimeo(url=,embedded_on=) tried to paste https://vimeo.com/333333333/abcaa66177 as embedded_on but the same result. tried to use Vimeo.from_video_id but anyway I get the same 403 error.

yashrathi-git commented 3 years ago

403 status code means you don't have access to the video, so you might require to authenticate. Check out this section of README

vitsum commented 3 years ago

I can watch the video using the link https://vimeo.com/363026000/3c4aa66177

and downloading worked a couple of days ago but now it doesn't work for some reason.

вт, 24 авг. 2021 г. в 21:42, Yash Rathi @.***>:

403 status code means you don't have access to the video. Check out this section https://github.com/yashrathi-git/vimeo_downloader#downloading-videos-that-require-login of README

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yashrathi-git/vimeo_downloader/issues/7#issuecomment-904704632, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZACA4GKU35JUBHK6F5IJLT6OVWFANCNFSM5CWT3UIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

yashrathi-git commented 3 years ago

I can watch the video using the link https://vimeo.com/363026000/3c4aa66177

Hi @vitsum, I tried it this is working:

>>> from vimeo_downloader import Vimeo
>>> v = Vimeo.from_video_id('363026000')
>>> s = v.best_stream
>>> s.title
'Вебинар ...'
>>> v.streams
[Stream(240p), Stream(360p), Stream(480p)]
vitsum commented 3 years ago

I can watch the video using the link https://vimeo.com/363026000/3c4aa66177

Hi @vitsum, I tried it this is working:

>>> from vimeo_downloader import Vimeo
>>> v = Vimeo.from_video_id('363026000')
>>> s = v.best_stream
>>> s.title
'Вебинар ...'
>>> v.streams
[Stream(240p), Stream(360p), Stream(480p)]

weird. tried exactly your code image

vitsum commented 3 years ago

it's on repl.it so may be something wrong on their side. tried to reinstall the module and now I can't even install it back

vitsum commented 3 years ago

Created a new repl but still not working. But it worked earlier. So weird :( Thanks for your help.

yashrathi-git commented 3 years ago

Yes @vitsum, it's not working on replit. I think because either replit or Vimeo is blocking requests from that IP. Most probably Replit itself might be blocking requests.