Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 C# ASP.NET WebForms C#4.0 , +
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 17-Jan-13 10:03am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Espen Harlinn at 17-Jan-13 16:27pm
   
5'ed!
Sergey Alexandrovich Kryukov at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100