GithubHelp home page GithubHelp logo

ntu-recording-downloader's Introduction

NTU-Recording-Downloader

A python command line tool for downloading lecture recordings, with order.

Requirements

python3

pip install urllib
pip install beautifulsoup4

curl

apt-get install curl # ubuntu
brew install curl # os x
Install Linux # windows

Usage

  1. Go to NTULearn, click one of your courses

  2. On the left of the page, select "Recorded Lectures"

  3. Find the RSS feed for this course:

    For example: 15S2-CE3006-CPE301-DIGITAL COMMUNICATIONS MP4 Podcast Press "Get the RSS feed"

  4. Copy the URL of this page.

    It should be in a format like http://presentur.ntu.edu.sg/podcast/rss/rss5456_2.xml

    Please pay attention that you should copy url that ends with "_2.xml". This is for mp4 recording.

  5. Run the following command in your terminal

python3 get_video.py http://presentur.ntu.edu.sg/podcast/rss/rss5456_2.xml

The progress will be shown. It may take quite a long time.

Or you could run as the command in silence

python3 get_video.py http://presentur.ntu.edu.sg/podcast/rss/rss5456_2.xml > /dev/null &

Filename

You can rename the file by editing the code

Or you can use the following command. (Just for your information)

rename 's/(\d+)\s[\w\-\s]+/nameyouwang\ $1/' *.mp4

ntu-recording-downloader's People

Contributors

lushl9301 avatar koallen avatar

Stargazers

cExplr avatar Pratyum Jagannath avatar Daxuan avatar Zhang Xinye avatar Tan Li Hau avatar Xinzi Zhou avatar

Watchers

James Cloos avatar  avatar

Forkers

koallen pratyum

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.