[small attempt] access to the original path course list of mooc.com

Keywords: Java Android PHP Python

As an old MOOC network( https://www.imooc.com/ )Fans, remember that there are many free path courses at the beginning of mooc.com. It's a good way to get started with a language.

Now mooc.com has developed the charging mode and added many higher-level courses, which is a good thing, but the original free path can not be found. If there is an original joining path, it can be found in the personal page - > path (as shown in the figure), and there is no way to do without it. (maybe I didn't find it. Please tell me that the "career path" in the main interface is charged now.)

 

 

At the end of the design, I learned the basic knowledge of Java crawler, looked at the original path URL again, and found that there was a rule to follow, so I wrote two lines of code, climbed down the relevant URL, you can use it.

public void test() {
    for(int i = 0; i < 200; i++) {
        Document doc;
        try {
            doc = Jsoup.connect("https://www.imooc.com/course/programdetail/pid/" + i).get();
        } catch (IOException e) {
            continue;
        }
        String title = doc.title();
        System.out.println("https://www.imooc.com/course/programdetail/pid/" + i + ": " + title);
    }
}

The results are as follows. You can learn according to your own needs:

https://www.imooc.com/course/programdetail/pid/3: the first stage of the growth of Web front-end Engineers (basic part) ﹣ learning path ﹣ mooc.com
https://www.imooc.com/course/programdetail/pid/11: PHP development engineer's breakthrough -- first understanding of PHP learning path
https://www.imooc.com/course/programdetail/pid/17: learn from 0 to make QQ sideslip menu, learning path, mooc.com
https://www.imooc.com/course/programdetail/pid/18: the Java version of the model guru's cultivation manual learning path
https://www.imooc.com/course/programdetail/pid/20: jQuery source code Exploration Tour · learning path · mooc.com
https://www.imooc.com/course/programdetail/pid/21: e-commerce website development strategy of the whole station
https://www.imooc.com/course/programdetail/pid/22: responsive layout of those things
https://www.imooc.com/course/programdetail/pid/23: Java encryption and decryption, learning path, moocw
https://www.imooc.com/course/programdetail/pid/24: Android salary increase tool -- customized View? Learning path? Mooc.com
https://www.imooc.com/course/programdetail/pid/26: "picture, information display" of front-end classic cases, learning path, mooc.com
https://www.imooc.com/course/programdetail/pid/27: learn the ThinkPHP framework from scratch
https://www.imooc.com/course/programdetail/pid/28: the only way for developers to go -- JS API chapter learning path mooc.com
https://www.imooc.com/course/programdetail/pid/29: Android SDK learning plan, Android learning path, MOOC learning path
https://www.imooc.com/course/programdetail/pid/31: Java Engineer learning plan learning path
https://www.imooc.com/course/programdetail/pid/32: Web front-end engineer learning planning learning path
https://www.imooc.com/course/programdetail/pid/33: Android Engineer learning plan learning path
https://www.imooc.com/course/programdetail/pid/34: PHP Engineer learning plan learning path
https://www.imooc.com/course/programdetail/pid/35: front end classic learning plan, front end learning route, MOOC learning path
https://www.imooc.com/course/programdetail/pid/36: Android learning plan, Android learning path, mooc.com
https://www.imooc.com/course/programdetail/pid/37: C language learning route C language learning plan
https://www.imooc.com/course/programdetail/pid/38: shell learning path
https://www.imooc.com/course/programdetail/pid/39: Swift learning path - iOS animation special learning plan
https://www.imooc.com/course/programdetail/pid/40: Oracle database development learning plan
https://www.imooc.com/course/programdetail/pid/42: C + + learning plan ﹣ C + + learning route ﹣ MOOC learning path
https://www.imooc.com/course/programdetail/pid/43: HTML5 learning route ﹣ HTML5 learning plan ﹣ MOOC learning path
https://www.imooc.com/course/programdetail/pid/44: Xiaomu gratitude plan - practical Hot learning plan
https://www.imooc.com/course/programdetail/pid/45: Linux operation and maintenance engineer learning plan learning path
https://www.imooc.com/course/programdetail/pid/46: iOS Apple watch development strategy learning plan
https://www.imooc.com/course/programdetail/pid/47: quick start planning for Cocos2d-x game development
https://www.imooc.com/course/programdetail/pid/48: Hibernate development classic learning planning learning path
https://www.imooc.com/course/programdetail/pid/49: Linux shell operation and maintenance practice learning planning learning path
https://www.imooc.com/course/programdetail/pid/50: Android wechat hot features collection learning planning learning path
https://www.imooc.com/course/programdetail/pid/51: complete the python foundation learning plan learning path
https://www.imooc.com/course/programdetail/pid/52: play Python advanced learning path
https://www.imooc.com/course/programdetail/pid/53: PHP wechat public platform development strategy · learning path · mooc.com
https://www.imooc.com/course/programdetail/pid/54: quick access to PHP third party login, learning path, mooc.com
https://www.imooc.com/course/programdetail/pid/55
https://www.imooc.com/course/programdetail/pid/56: exploring the Python world
https://www.imooc.com/course/programdetail/pid/57: the basic component of Android's necessary skills learning path
https://www.imooc.com/course/programdetail/pid/58: Android special effects Collection Deluxe Package learning path
https://www.imooc.com/course/programdetail/pid/59: make Java SSM framework development a success
https://www.imooc.com/course/programdetail/pid/60: SSH framework exploration and learning path

Posted by carichod on Thu, 02 Apr 2020 00:54:08 -0700