Giter Club home page Giter Club logo

ustcbbhelper's Introduction

USTCBBhelper-USTC中科大BB系统更新助手

方便你快速更新BB系统中的课程资源

可自动分成多个文件夹,不覆盖已有文件

如何使用:

step1:

安装有pyhton3和pip3,并安装一下依赖

pip install Beautifulsoup4

pip install requests

step2:

配置config.py

替换data中的username和password为自己的ustc学号和密码

替换des为你想要的保存路径

step3:

python bbhelper.py

然后你的BB课程资源会按课程,按网页上的分类,整理好后放在des目录下

UPDATE:

2020/4/15:

利用request.head实现了增量更新,更新速度极大提升

优化了命令行中的信息反馈

现有的问题:

文件的不覆盖验证在get到文件之后,增量更新很慢(待解决)

不能抓取视频页面,暂时用ban_list的设置来不爬取一些资源,如以下页面:

image-20200330150124487

ustcbbhelper's People

Contributors

ez4no1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xonoer

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.