Giter VIP home page Giter VIP logo

vimeo-download's Introduction

Downloads segmented audio+video from Vimeo and saves as .mp4

This script is useful for cases where youtube-dl is unable to find the master url, for example on pages that require login or cookies.

Installation

Install requirements with pip install -r requirements.txt

Installing ffmpeg

Compilation instruction: https://trac.ffmpeg.org/wiki/CompilationGuide

For ubuntu users:

sudo add-apt-repository ppa:mc3man/trusty-media && sudo apt-get update 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8E51A6D660CD88D67D65221D90BD7EACED8E640A
sudo apt-get install ffmpeg

(The instructions are taken from here - warning: Russian!)

Usage

To use this script, the master url needs to be manually extracted from the page:

python vimeo-download.py --url "http://...master.json?base64_init=1" --output <optional_name>

To get the master url:

  1. Open the network tab in the inspector
  2. Find the url of a request to the master.json file
  3. Run the script with the url as argument

You can download multiple files in parallel with GPU Parallel:

parallel -a master-files.txt python vimeo-download.py --url "{}"

Where master-files.txt contains a list of master URLs

Acknowledgements

Code merges the following gists:

Alternatives

For a more convenient experience use youtube-dl ( http://rg3.github.io/youtube-dl/ ) if youtube-dl is able to find the url

vimeo-download's People

Contributors

ajkamel avatar alexeygrigorev avatar campbecf avatar embee avatar lionelyoung avatar muescha avatar paschoaletto avatar tayiorbeii avatar

Watchers

 avatar  avatar

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.