vimeo-dl icon indicating copy to clipboard operation
vimeo-dl copied to clipboard

KeyError: 'files'

Open vp-82 opened this issue 5 months ago • 0 comments

This code is leading to a key error, but I don't know why:

from vimeo_downloader import Vimeo
v = Vimeo.from_video_id(video_id='1011688626')
s = v.streams

Here is the error:


KeyError Traceback (most recent call last) Cell In[74], line 3 1 from vimeo_downloader import Vimeo 2 v = Vimeo.from_video_id(video_id='1011688626') ----> 3 s = v.streams

File ~/.../env-iter3/lib/python3.12/site-packages/vimeo_downloader/init.py:341, in Vimeo.streams(self) 339 title = None 340 dl = [] --> 341 for stream in js_url["request"]["files"]["progressive"]: 342 url = stream["url"] 343 if not requests.get(url, stream=True).ok:

KeyError: 'files'

Any idea on a solution or workaround?

vp-82 avatar Sep 22 '24 08:09 vp-82