https://github.com/j15e/vimeo-mover
Ruby script to batch export all your Vimeo videos source (MP4 files)
https://github.com/j15e/vimeo-mover
concurrent export ruby script vimeo
Last synced: 4 months ago
JSON representation
Ruby script to batch export all your Vimeo videos source (MP4 files)
- Host: GitHub
- URL: https://github.com/j15e/vimeo-mover
- Owner: j15e
- License: gpl-3.0
- Created: 2020-04-02T01:51:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T10:26:41.000Z (over 3 years ago)
- Last Synced: 2024-10-18T05:55:29.396Z (over 1 year ago)
- Topics: concurrent, export, ruby, script, vimeo
- Language: Ruby
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick start
This script was made to quickly export all videos in a given folder of a [Vimeo](https://vimeo.com/) account.
A Pro account or higher is required to access videos MP4 via the API.
This is only made to download YOUR own files, not anyone else files.
This script is made with [Ruby](https://www.ruby-lang.org/) language and uses [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) to download 25 files at a time.
## How to export your videos
The script will export the largest MP4 available for each video and dump a JSON of each
video API payload to be used later if needed (keeps the description and etc).
1 - Get an API access token from your account
To do this, you muste create an application for use with your own account and generate a personnal
access token at ex. https://developer.vimeo.com/apps/169949#personal_access_tokens
Make sure you choose `Authenticated (you)` and check `Private` and `Video Files`.
2 - Get the folder ID from the URL on vimeo.com
3 - Install dependencies
bundle install
4 - Run the export script
VIMEO_CLIENT_TOKEN=insert_your_token_here EXPORT_PATH=/here/export bundle exec rake download_folder\[insert_video_id_here\]