Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

HTML Parsing

Old 15 May 2005, 11:20 AM
  #1  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Question HTML Parsing

How do you do this?

There is a website (public domain info) that has data in a format that is useful but not easily obtained using the suplied tools (its a graphical illustration of a location on a map not the lat/lon of the data itself). I saw someone had parsed a section of it & come back with the raw data in more useable format (as in a csv/txt file).

So what is the trick?
Old 15 May 2005, 12:13 PM
  #2  
class_A
Scooby Regular
 
class_A's Avatar
 
Join Date: Apr 2002
Location: elsewhere
Posts: 1,212
Likes: 0
Received 0 Likes on 0 Posts
Default

The technique is called "screen scraping" and if you Google for it you'll find quite a few example implimentations. I guess on Unix you could quickly hack together something using curl, grep and some regular expressions.

Here's a specific PHP script which will pass a query to Google and then scrape the results for reformatting.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
psport
Subaru Parts
3
04 October 2015 07:35 PM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
shorty87
Wheels And Tyres For Sale
0
29 September 2015 02:18 PM
shorty87
Other Marques
0
25 September 2015 08:52 PM


Thread Tools
Search this Thread
Quick Reply: HTML Parsing



All times are GMT +1. The time now is 11:39 AM.