Jump to content

Need help to extract data from the webpage and insert to my database


Recommended Posts



I want to extract weather for 5 cities from www.wunderground.com/global/SB.html and put the field data such as colombo, temprature, humidity and conditions in to a mysql table so I can display the weather for this 5 cities and automatically set a cronjob to update it everyday. Issue is I am unable to extract the specific data from this page.


Please help.



Link to comment
Share on other sites

We cannot help you with that as doing so would violate the terms of service for that site: http://www.wunderground.com/members/tos.asp


PERMITTED USE. You may use the Site and the features, information, pictures and other data contained therein (collectively, the "Data") only for personal, non-commercial purposes. You may access, view and make copies of the Data in the Site for your personal, non-commercial use and will not publish or otherwise distribute the Data for any other purpose. Without limiting the foregoing, you may not utilize the Site to sell a product or service, to advertise or direct activity to other websites or for similar commercial activities without our express written consent. You may not modify, publish, transmit, display, participate in the transfer or sale, create derivative works, or in any way exploit, any of the Data, in whole or in part. Further restrictions on the use of this Site and its Data are provided in Sections 2, 6 and 9 of these Terms and in the Photo Gallery Agreement (where applicable).
Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.