[go: up one dir, main page]

Skip to content

A script written by python to download lecture videos from rvc.ust.hk.

Notifications You must be signed in to change notification settings

AndyLin31/Auto-Download-rvc.ust.hk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Update 2017/2/9

All of the softwares are up-to-date. (It indecates that you can use pip or pip3 for Python 3 to install the selenium instead of downloading the package.)

In downloader.py:

  • Python: Python 3.6.0 (default, Jan 16 2017, 12:12:55) [GCC 6.3.1 20170109] on linux

  • Selenium: 3.0.2

  • Phantomjs: 2.1.1-4

For the Windows user, you can still use the downloader-v2.py.

About this project

This project aim to download the lecture videos @rvc.ust.hk.

Of course, you have to provide

  • your ITSC account name

  • password

  • the lecture URL

  • the browser can be PhantomJS(recommended) or Firefox

in the config file.

You can see more details here(Chinese).

You are welcome to ...

  • give me pull requests and become a countributor of this project

  • raising issues to me.

What you could do

There are some options you can configure.

  • account: You have to input your ITSC account name here.

  • password: You have to input your ITSC account password here.

  • url: You have to provide the video url.

  • save_dir: The route you want to save the video.

  • threads: The number of threads you want to use.

Required libraries

Test OS

Windows 10 64-bit & Linux x86_64

Python 2.7.12 3.6.0

selenium 2.52.0 3.0.2

PhantomJS 2.1.1-4

Common Questions

In windows system, Selenium 3.x use the geckodriver, so if you are using the version 3, there will be an error:WebDriverException:Message:'geckodriver'executable needs to be in Path, and here is the solution.

Firefox 46.0.1 & PhantomJS

Because there still exist bugs for Firefox 47 and above version, please use Firefox 46.0.1 and colse the auto update in the about:config to avoid the bug.

About

A script written by python to download lecture videos from rvc.ust.hk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%