Skip to main content

Download videos and retrieve metadata from Vimeo.

Project description

Vimeo Downloader

Downloads Vimeo videos and retrieve metadata such as views, likes, comments, duration of the video.

  • Easy to use and friendly API.
  • Support for downloading private or embed only Vimeo videos.
  • Retrieve direct URL for the video.

Installation

pip install vimeo_downloader

Usage

>>> from vimeo_downloader import Vimeo
>>> v = Vimeo('https://vimeo.com/503166067')

Metadata

>>> meta = v.metadata
>>> meta.title
"We Don't Have To Know - Keli Holiday"
>>> meta.likes
214
>>> meta.views
8039
>>> meta._fields # List of all meta data fields
('id', 'title', 'description'...) # Truncated for readability

Download stream

>>> s = v.streams
>>> s
[Stream(240p), Stream(360p), Stream(540p), Stream(720p), Stream(1080p)]
>>> best_stream = s[-1] # Select the best stream
>>> best_stream.filesize
'166.589421 MB'
>>> best_stream.direct_url
'https://vod-progressive.akamaized.net.../2298326263.mp4'
>>> best_stream.download(download_directory='DirectoryName',
                        filename='FileName')
# Download video with progress bar and other information,
# to disable this behaviour use mute=True

Downloading private or embed only videos

>>> from vimeo_downloader import Vimeo
>>> v = Vimeo('https://player.vimeo.com/video/498617513',
              embedded_on='https://atpstar.com/plans-162.html') 

For embed only videos, also provide embedded_on parameter to specify the URL on which video is embedded without query parameters.

>>> v.streams
[Stream(240p), Stream(360p), Stream(540p), Stream(720p), Stream(1080p)]
>>> v.streams[-1].download(download_directory='DirectoryName',
                           filename='FileName')
# Downloads the best stream with progress bar and other information, 
# to disable this behaviour use mute=True

License

Distributed under the MIT licence. Read LICENSE for more information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vimeo_downloader-0.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

vimeo_downloader-0.1.1-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file vimeo_downloader-0.1.1.tar.gz.

File metadata

  • Download URL: vimeo_downloader-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for vimeo_downloader-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f7965ff5c292442a74eb61c5b6a5d59b79931c886096d053d8a762cc79e236ed
MD5 60f447bdbb871f332c895354f9075d4a
BLAKE2b-256 29a3e15e47e7982d9418bbeb4f5001853399c2b2c5a5817c2d87d03eeb4f839b

See more details on using hashes here.

Provenance

File details

Details for the file vimeo_downloader-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: vimeo_downloader-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for vimeo_downloader-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3f438718fec7f7bc2d52ffe24d3a3d3e2887183d997d98492326e16f429a690b
MD5 a7a2c50a1bfe92cdadf4aa0fe5cf8b85
BLAKE2b-256 d80d8bddf177d667545b19b3f1cd9f25248325b7767a7fa453073bb00d84ca33

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page