Git Product home page Git Product logo

vimeo's People

Contributors

r0oth3x49 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vimeo's Issues

cleanup server

clean all files

  1. logs (detection, orpixroot
  2. snapshots from each domain
  3. temp
  4. wav files
  5. video files if necessary
  6. cachedata for each domain for training

TypeError: expected str, bytes or os.PathLike object, not URLError

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

TypeError: 'HTTPError' object is not subscriptable

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.