All Projects → Trinkle23897 → Learn2018 Autodown

Trinkle23897 / Learn2018 Autodown

Licence: mit
清华大学新版网络学堂课程自动下载脚本 / A python script to clone all files from learn.tsinghua.edu.cn

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Labels

Projects that are alternatives of or similar to Learn2018 Autodown

Requests
A simple, yet elegant, HTTP library.
Stars: ✭ 46,558 (+28998.75%)
Mutual labels:  requests
Gsoc Organisation Scraper
Scrape GSoC organisations using a single script.
Stars: ✭ 121 (-24.37%)
Mutual labels:  requests
Grequests
A Go "clone" of the great and famous Requests library
Stars: ✭ 1,843 (+1051.88%)
Mutual labels:  requests
Http request randomizer
Proxying Python Requests
Stars: ✭ 110 (-31.25%)
Mutual labels:  requests
Docs
《数据采集从入门到放弃》源码。内容简介:爬虫介绍、就业情况、爬虫工程师面试题 ;HTTP协议介绍; Requests使用 ;解析器Xpath介绍; MongoDB与MySQL; 多线程爬虫; Scrapy介绍 ;Scrapy-redis介绍; 使用docker部署; 使用nomad管理docker集群; 使用EFK查询docker日志
Stars: ✭ 118 (-26.25%)
Mutual labels:  requests
Autolink
AutoLink是一个开源Web IDE自动化测试集成解决方案
Stars: ✭ 129 (-19.37%)
Mutual labels:  requests
Just
Swift HTTP for Humans
Stars: ✭ 1,335 (+734.38%)
Mutual labels:  requests
Requests Html
Pythonic HTML Parsing for Humans™
Stars: ✭ 12,268 (+7567.5%)
Mutual labels:  requests
Rxios
A RxJS wrapper for axios
Stars: ✭ 119 (-25.62%)
Mutual labels:  requests
Python Simple Rest Client
Simple REST client for python 3.6+
Stars: ✭ 143 (-10.62%)
Mutual labels:  requests
Ni Pyt
Materiály k předmětu NI-PYT na FIT ČVUT
Stars: ✭ 112 (-30%)
Mutual labels:  requests
Decryptlogin
APIs for loginning some websites by using requests.
Stars: ✭ 1,861 (+1063.13%)
Mutual labels:  requests
Incapsula Cracker Py3
Python3 compatible way to bypass sites guarded with Incapsula
Stars: ✭ 132 (-17.5%)
Mutual labels:  requests
Snug
Write reusable web API interactions
Stars: ✭ 108 (-32.5%)
Mutual labels:  requests
Request Migrations
HTTP Request Migrations for API Versioning like Stripe
Stars: ✭ 149 (-6.87%)
Mutual labels:  requests
Languagepod101 Scraper
Python scraper for Language Pods such as Japanesepod101.com 👹 🗾 🍣 Compatible with Japanese, Chinese, French, German, Italian, Korean, Portuguese, Russian, Spanish and many more! ✨
Stars: ✭ 104 (-35%)
Mutual labels:  requests
Requestium
Integration layer between Requests and Selenium for automation of web actions.
Stars: ✭ 1,618 (+911.25%)
Mutual labels:  requests
Crawlerhot
今日热榜 抓取网站热榜信息,并且前端进行展示
Stars: ✭ 158 (-1.25%)
Mutual labels:  requests
Requests Unixsocket
Use requests to talk HTTP via a UNIX domain socket
Stars: ✭ 153 (-4.37%)
Mutual labels:  requests
Zhihu Spider
一个获取知乎用户主页信息的多线程Python爬虫程序。
Stars: ✭ 137 (-14.37%)
Mutual labels:  requests

清华大学新版网络学堂课程自动下载脚本

Features

  1. 跨平台支持:Windows/Mac/Linux支持双击运行(详情点击
  2. 下载所有课程公告
  3. 下载所有课件
  4. 下载所有作业文件及其批阅情况
  5. 下载所有课程讨论
  6. 下载课程信息
  7. 增量更新
  8. 可选下载课程
  9. 随时按Ctrl+C跳过某个文件的下载
  10. 下载助教课程
  11. 可使用cookie登录
  12. 多刷刷有利于后台成绩提高,比如以下第三条记录是我的:

Dependency

python>=3.5, bs4, tqdm, requests

pip3 install -r requirements.txt --user -U

Usage

learn-stdio.py 中显示的参数和下面是一样的。

下载选项

下载当前学期课程(默认)

./learn.py

下载所有学期课程

./learn.py --all

下载指定学期课程

./learn.py --semester 2018-2019-1 2018-2019-3

下载指定课程

./learn.py --course 计算机网络安全技术 计算机组成原理

跳过某几个课程下载

./learn.py --ignore 数据结构 "实验室科研探究(1)"

移除所有文件夹下完全相同的文件

./learn.py --clear --all

以上参数均可组合使用,比如我想更新大二的课程,但是不想下载数据结构、实验室科研探究、中国近现代史纲要(课程文件太大了):

./learn.py --semester 2017-2018-1 2017-2018-2 2017-2018-3 --ignore 数据结构 "实验室科研探究(2)" 中国近现代史纲要

如果想跳过正在下载的某个文件,按Ctrl+C即可。

登录选项(learn-stdio中禁用)

懒得每次输入info账号密码?创建文件.pass,写入info账号和密码之后可以自动登录,或者是:

./learn.py --_pass your_info_file

其中文件格式为

info账号
info密码

使用Cookie登录而不是输入info密码:

./learn.py --cookie your_cookie_filename

其中cookie文件格式可参考 example_cookie.txt

Common Issues

  • 卡在login:网络原因,看看pulse-secure关了没,重跑试试看
  • 500 : Internal Server Error:请拉取最新版的脚本。网络学堂自2020/2/22开启强制https。
  • info_xxx.csv在Mac下打开是乱码:别用office,用mac自带的软件吧 :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].