"国家开放大学终身教育平台"课程视频批量下载

git@yoqi.me cba80c73c0 modify readme 1 year ago
.github 997431fd0f add Dockerfile and update todo 2 years ago
.vscode 997431fd0f add Dockerfile and update todo 2 years ago
Video 395e2b9b18 init 2 years ago
bin 997431fd0f add Dockerfile and update todo 2 years ago
config 997431fd0f add Dockerfile and update todo 2 years ago
crawl_ouchn 997431fd0f add Dockerfile and update todo 2 years ago
docs 1b0648ff47 go on 2 years ago
test 1b0648ff47 go on 2 years ago
.dockerignore 997431fd0f add Dockerfile and update todo 2 years ago
.gitignore 997431fd0f add Dockerfile and update todo 2 years ago
Dockerfile 997431fd0f add Dockerfile and update todo 2 years ago
LICENSE cba80c73c0 modify readme 1 year ago
README.md cba80c73c0 modify readme 1 year ago
docker-compose.debug.yml 997431fd0f add Dockerfile and update todo 2 years ago
docker-compose.yml 997431fd0f add Dockerfile and update todo 2 years ago
le.ouchn.cn.http 1b0648ff47 go on 2 years ago
main.py 395e2b9b18 init 2 years ago
requirements.txt 1b0648ff47 go on 2 years ago
setup.cfg 395e2b9b18 init 2 years ago
setup.py 997431fd0f add Dockerfile and update todo 2 years ago

README.md

crawl_ouchn

Version .Python

"国家开放大学终身教育平台"课程视频批量下载

Usage

  1. Configure config/config.json file add some url which you want to download video.

    "courseUrl": [
    "http://le.ouchn.cn/#/courseDetails/CAAA010000023530"
    ]
    
  2. run it xx.exe

  3. downloading some lesson video need to login, So please configure config/config.json file username and messageCode

Docker deploy

  1. create a config.json file, add below in it:

    {
    "username": "15016215661",
    "messageCode": "123456",
    "courseUrl": [
    "http://le.ouchn.cn/#/courseDetails/CAAA010000023530"
    ]
    }
    

you want to download a video which need to login. then you neet to modify usename and messageCode. the courseUrl are some urls which you can copy it from browser

  1. run the docker container:

    
    docker pull ccr.ccs.tencentyun.com/jianboy/crawl_ouchn:v2022.05.24
    
    docker run -it --rm -v /data/crawl_ouchn/config/config.json:/app/config/config.json -v  /data/crawl_ouchn/Video:/app/Video ccr.ccs.tencentyun.com/jianboy/crawl_ouchn:v2022.05.24
    
    

Development

please read Develop

Update History

  • [x] Multithreaded download.

  • [x] Docker deployment has been implemented.

Licenses

本项目开源,免费使用,无任何限制,下载的课件视频建议个人使用,请勿以盈利性目的分发哦.

仅供技术交流,有关部门认清形势,请勿随意请喝茶,喝咖啡欢迎!

QQ Group:772583198 WeChat Group: