Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to get the beijingair data from it's public website periodically?The website is
http://zx.bjmemc.com.cn/[^]
I want to get the data from gridview every hour when I click the AQI,and the picture link is https://www.yousendit.com/download/UW14SlIrYStLVlVsYzlVag[^]?
Do I need to code or there just have a tool can do this?Can you show me the tool's name,Thank you!
Posted

1 solution

I don't want to see what's in those sites; it just does not matter; anyway, you did not explain what kind of data you need to extract.

In all cases, you need to use some technique of Web scraping: http://en.wikipedia.org/wiki/Web_scraping[^].

Basically, you need to act like a Web client, send some HTTP requests and get HTTP response. And then you need something to parse the content received in response. If this is HTML, you will need to parse it. Basically, that's it.

Please see my past advice on how to do it all:
get specific data from web page[^],
How to get the data from another site[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 17-Jan-13 16:27pm    
5'ed!
Sergey Alexandrovich Kryukov 17-Jan-13 16:41pm    
Thank you, Espen.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900