Git Product home page Git Product logo

coursera_spider's Introduction

#Coursera Spider

  • coursera.py you can use it to get top 100 movie name which is listed by douban website

##1. Install

git clone [email protected]:Andrew-liu/Coursera_Spider.git

##2. Use It simply

$ python coursera.py pkuco-001 #最后一个参数为课程地址

##3. Example Output

Coursera git:(master) ✗ python coursera.py pkuco-001
Input your Email > User_name
Input your Password >
登陆成功...
读取网页成功...
正则匹配结束...
下载链接的长度 56
https://class.coursera.org/pkuco-001/lecture/download.mp4?lecture_id=17
...
https://class.coursera.org/pkuco-001/lecture/download.mp4?lecture_id=139
下载pdf的长度 56
抓取Coursera课程下载链接和pdf链接成功

##4. Download Script

下载脚本运行

$python downloadshell.py coursera.pdf #最后一个参数为连接保存文件

更多详细内容请查看Python-Coursera抓站小结

coursera_spider's People

Contributors

andrew-liu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

coursera_spider's Issues

get Coursera video download link via program

I want extract Coursera video download link via program(mainly Python) behind those links

https://www.coursera.org/learn/human-computer-interaction/lecture/s4rFQ/the-interaction-design-specialization

https://www.coursera.org/learn/calculus1/lecture/IYGhT/why-is-calculus-going-to-be-so-much-fun

After red a lot of articles about this, still cannot find a way to extract the video download link via program, anyone can offer a step by step solution of extracting the video download link ? Thanks!

P.S. I know this project ,
https://github.com/coursera-dl/coursera
but the code is so complex , so I dropped out.

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.