Page 1 of 1

Parsing Links

Posted: Sun Nov 05, 2006 6:51 pm
by fog2003
Hi guys. I'm making a little script that will query craigslist for apartments that meet my search criteria and then pass it onto google maps and map them out. There already is a site like this but it doesn't include Milwaukee. So basically I have a file that lists the links to the apartments I am interested in but it is in this format:

Code: Select all

<p>&nbsp;Nov- 5&nbsp;&nbsp;&nbsp;<a href="http://milwaukee.craigslist.org/apa/230623373.html">$620 / 2br - 2 BR upper w/appliances & garage</a><font size="-1"> (Wauwatosa)</font></p>
Now how do I extract just the link so I can then extract the google maps address.

Thanks

Posted: Sun Nov 05, 2006 7:00 pm
by feyd
You may find this interesting.