Day 1: Project Construction, Day 1 Project Construction

Source: Internet
Author: User

Day 1: Project Construction, Day 1 Project Construction

I. Preface

1.0. Since I have not written about the general crawler framework, I searched around and found a lot of information. Here I used the framework model introduced by a great god. I forgot the reference address, so I will not post it here.

2.0 the previously mentioned Verification Code module also stopped, and then we will talk about it together in this classification.

Ii. Text

2.1. Frame Design Diagram

  

2.2. the figure above shows the relationship between each module. I copied and pasted the specific description.

, Scheduler:Schedules URLs, such as Queue, PriorityScheduler, and RedisScheduler.

, Downloader:Responsible for downloading HTML, such as HttpDownloader, browser Downloader (WebDriver), FiddlerDownloader, and local file Downloader.

, PageProcesser:Responsible for HTML parsing and new compliant URL Parsing

, Pipeline:Responsible for data storage, such as MySql, MySqlFile, MSSQL, and MongoDb.

Iii. Others

3.1. I plan to design the entire program as follows:

①. Use WPF for Development (mainly because the interface can be cool)

② Currently, the main functions are: data collection, data storage, data filtering, simulated login (including data publishing), verification code identification, and can be put on the cloud if allowed...

③ Easy to use and visualized operations

④ Well, let's start with that. The most important thing is the reality, which can be expanded slowly later.

3.2 project content may include:

① Parse Html using regular expressions and Xpath

② Verification code recognition

③ Data encryption and decryption

④ Database operations

⑤ A Lot Of content. I believe that after this project is completed, I will have a qualitative leap ....

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.