[][src]Module ptt_crawler::crawler

Enums

Error

Error represents the errors which might occur when crawling.

Functions

crawl_page_articles

Given a board, crawls and returns parsed Articles within range.

crawl_page_count

Crawl the page count of given board.

crawl_page_urls

Given a board, crawls and returns the URLs of articles within range.

crawl_url

Given a URL, crawls the page and parses it into an Article.

create_client

Return a HTTP Client with cookie accepting over 18 agreement. One should reuse returned client as more as possible.