1. Historical Weather Enquiry Site-Preparation work

Source: Internet
Author: User

First, Introduction

Always wanted to learn about SQL Server, Oracle database optimization techniques, and some cool HTML reports, but no data. If you build your own data, you feel too troublesome, and the effect is not good. So small think of the crawler, crawling data on the Internet.

Now that you've decided to use crawlers to get the data, let's start thinking about what type of data you choose to crawl. There are novel data, watercress movies, weather data and so on, the final small series selected weather data. Baidu for a few days, browse the weather site, found that the history of the weather query site data compared to small series of sensory, paste the site's interface map below.

Ii. Target website

1. Weather Enquiry Homepage http://lishi.tianqi.com/

2, click to choose a City (Acheng)

3. Click to view April 2017 weather

The final desired crawl data is acheng daily weather data, i.e. date, maximum temperature, minimum temperature, weather, wind direction, wind.

Iii. preparatory work

Since the small series from graduation to the present five years, has been using the development of C # development program. Although C # can also be used as a crawler tool, if there is time, then the small series will share with you a C # asynchronous programming crawler demo, but now also want to professional alignment.

Less gossip, the following is the software I developed.

1. Python 3.6

2. SQL Server

The software can go to http://www.itellyou.cn/download

3, Pycharm

Iv. Summary

Software tools require these three to be able.

Small series of self-study for a period of time python, did not systematically read a Python book. Knowledge is entirely from Baidu and the selfless dedication of bloggers, if there is anything wrong, please do not spray.

In addition, if you have time later will share with you. NET-made crawler tools.

1. Historical Weather Enquiry Site-Preparation work

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.