Code Monkey home page Code Monkey logo

autovimeodownloader's Introduction

AutoVimeoDownloader

Download segmented videos from Vimeo through different ways

Install prerequisites

ffmpeg

Example:

7Zip required: https://7-zip.org/

FFmpeg: https://ffmpeg.org/

  • Download
  • Select your OS
  • Click in "Windows builds from gyan.dev"
  • Download las release "ffmpeg-release-full.7z"
  • Extract the files using 7zip
  • Copy extracted folder
  • Paste extracted folder in main directory of your disk
  • Access bin folder and copy the folder path
  • Add this path inside path in system variables
  • Test if it is installed by typing the following command in cmd "ffmpeg"

Python 3:

Debian/Ubuntu: sudo apt install -y ffmpeg python3

Mac OS X: brew install ffmpeg python

Windows: https://python.org.br/instalacao-windows/

Install pip and tqdm module in python

Instructions to download video in main.py

For each video you want to download:

  1. Open the page containing the embedded video.
  2. Open development console (Chrome: F12).
  3. Go to the Network tab.
  4. Right click on the master.json request, select Copy โ†’ Copy link address. An example of how such a URL could look like:

https://105vod-adaptive.akamaized.net/exp=1686796657~acl=%2F45a16a0c-e390-4a92-9f74-56b84224f6e8%2F%2A~hmac=9ba83ac69819e0794023357dd15b9bdce58da79055f2ccfd5f216b1e6eb21f9a/45a16a0c-e390-4a92-9f74-56b84224f6e8/sep/video/54e87bf0,a581f2f1,dfd03df0,e7ce4e25,fb1e4dac/audio/9e7a4006,a5dfb6c4,f35fcfa7/master.json?base64_init=1\u0026query_string_ranges=1.

Create a TSV file (In Google Sheets or Excel save the file with format "Text (tab delimited) (*.txt)" in the same folder as the python script), where the first column is output file name (ending with .mp4) and the second is this URL to master.json.

Then run the script, providing the name of this file with names and URLs in VS Code (install extension python):

Example:

& C:/Python312/python.exe c:/AutoVimeoDownloader/main.py -i names_urls.txt

Acknowledgements

Based on work of:

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.