Git Product home page Git Product logo

bbs_crawler_utility's Introduction

bbs_crawler_utility

The main purpose of this prog is to help user to fetch the ptt content based on the board name like car

Command Usage:

*bbs_crawler_public.exe [OPTIONS] ptt's board_name index_number*

You can use bbs_crawler to figure out how many index page the PTT board is by fetch_index option and fetch the post page against each index by "fetch_page" plus the designated end of index to iterate from index 1 to yours designation.

Examples:

assuming you install python already.

  • run bbs_crawler_public.py with fetch_index plus ptt's board name like the following
**$python bbs_crawler_public.py -c fetch_index car**

or

  • run bbs_crawler_public.py with fetch_page plus the designated end of index number like the following - iterate from index 1 to index 6
**$python bbs_crawler_public.py -c fetch_page car 6** 

if you do not install python and use Windows OS, use bbs_crawler_public.exe instead of bbs_crawler_public.py to run the examples above

For more info, here is my blog - 抓取批踢踢 (Ptt) post文的crawler實作 in Chinese to explain what and how it works.

bbs_crawler_utility's People

Contributors

paulyang0125 avatar

Watchers

James Cloos 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.