r0oth3x49 / vimeo Goto Github PK
View Code? Open in Web Editor NEWvimeo as python based module for downloading videos from vimeo.com
License: GNU Lesser General Public License v3.0
vimeo as python based module for downloading videos from vimeo.com
License: GNU Lesser General Public License v3.0
clean all files
Hi
I want to use the library in MacOS Catalina, but there's alway have the error as title.
But I can be used normally in Windows 10 earlier.
Is this related to the os?
here's my code:
import vimeo_dl as vimeo
def downloadBestFilms(urls, filePath):
website = 'https://vimeo.com/'
for url in urls:
url = url.split('/')[-1]
video = vimeo.new(website+url)
best = video.getbest()
best.download(filepath=filePath)
url = 'https://vimeo.com/516595785'
downloadBestFilms([url], '/Users/user/films')
and here's the error:
Traceback (most recent call last):
File "/Users/fhshwork/crawler/src/crawlerTest.py", line 12, in <module>
downloadBestFilms([url], '/Users/user/films')
File "/Users/fhshwork/crawler/src/crawlerTest.py", line 8, in downloadBestFilms
best = video.getbest()
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/vimeo_shared.py", line 161, in getbest
return self._getbest()
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/vimeo_shared.py", line 148, in _getbest
streams = self.streams
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/vimeo_shared.py", line 144, in streams
self._process_streams()
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/vimeo_internal.py", line 60, in _process_streams
self._fetch_data()
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/vimeo_internal.py", line 55, in _fetch_data
self._info = _parse_config(self._conf_file, self.video_id)
File "/Users/fhshwork/crawler/crawlerPy3.9/lib/python3.9/site-packages/vimeo_dl/extractor.py", line 72, in _parse_config
fd = open(config)
TypeError: expected str, bytes or os.PathLike object, not URLError
Hey, I tried to download couple videos for my project and received this error on some of the vimeo videos.
I would love to hear if there is any solution to solve that.
TypeError: 'HTTPError' object is not subscriptable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.