Code Monkey home page Code Monkey logo

rvcdownloader's Introduction

WORK IN PROGRESS: script not working yet

HKUST RVC videos bulk downloader

This project uses yt-dlp and Selenium to download RVC videos from a list of URLs.

You probably need FFmpeg to be installed.

Supports videos from rvcmedia.ust.hk, more sites will be supported.

Usage

Setup virtual environment

python -m venv venv/ && source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Edit configuration

Rename .env.example to .env and change accordingly.

Run the script

include the file path of the links

each video link should be seperated by new line

python main.py links.txt

You will be asked to login, do that, also when getting through 2FA select remember my device.

Q&A

Why?

  1. Mostly for archival purposes, HKUST deletes RVC videos after its respecive semester has ended.
  2. Navigating Canvas just to get recordings is annoying, I'm lazy ok?
  3. eduroam in HKUST is slow, let me download all the stuff at home so I don't need to wait when I'm in campus

Why use selenium? Using a whole browser just to download some videos seems unnecessary

That's true, unfortunately I'm lazy and don't want to figure out how to properly interact with HKUST's SSO service.

GUI when?

This project was originally created for personal use, if there's a demand then maybe I will add a GUI. However, I would much prefer if someone else work on it because I have 0 experience on making GUI app.

rvcdownloader's People

Contributors

tsblock avatar

Stargazers

 avatar

Watchers

 avatar

rvcdownloader's Issues

Youtube upload

after finished downloading, automatically upload to youtube for archive

Support for more links

  • hkust.zoom.us
    • take references from yt-dlp for extracting media url
  • canvas.ust.hk
    • Find iframe of rvcmedia then redirect to said url
  • hkust.zoom.us embedded in canvas.ust.hk!! why is this a thing???
    • Probably still can just find iframe then extract link, however a quick inspect element shows that there's no direct link... it's all javascript

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.