Code Monkey home page Code Monkey logo

courseadapter's Introduction

本项目试图降低接入门槛

愉快食用需要

  1. IntelliJ IDEA

  2. 简单 Java 基础,Kotlin 入门:字符串处理、类的继承、方法重写

  3. Jsoup 入门

食用方法

  1. fork 本项目,git clone 到本地,用 IDEA 导入。

  2. 继承抽象类 Parser,重写它的 generateCourseList 方法。

  3. Common 中抽取了一些可能通用的解析函数,当然你也可以补充。

  4. 重写好函数后,新建一个测试的kt文件,如示例中的 ZhengFangTest.kt,你运行一下就懂了。

  5. commit 进行 Pull Request

注意

  1. 建议从项目外引用 html 文件,提交时一定不要上传 html 文件,涉及隐私问题。

  2. 其实继承该抽象类,数据来源不一定是 html,可以是 Excel、Json 等等(发挥下想象力)。

courseadapter's People

Contributors

yzune avatar stevenlele avatar a1375625918 avatar mhk032 avatar rocinantee avatar pandzz avatar oakboat avatar holara avatar cyan-zzz avatar zoruasama avatar akhzz905 avatar zhangzqs avatar sasaju avatar molanshao avatar haijialiu avatar foresee-io avatar fanyy0418 avatar nekorectifier avatar ludoux avatar moonshadowillusion avatar pinming avatar bqliang avatar liheji avatar ggautomaton avatar defiedparty avatar realzns avatar ctanhuawu avatar landminefly avatar mrxiaom avatar yenalyliew avatar

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.