Searching White Pages via launching an URL?

For everything that's not in any way related to PureBasic. General chat etc...
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Searching White Pages via launching an URL?

Post by PB »

Hi, does anyone know how I can launch an URL to the Australian White Pages
page as seen here: http://www.whitepages.com.au/wp/busSearch.jhtml

Basically, I'd like to be able to specify a business name and have the Results
page of the White Pages show me the matches. Firefox can do it if I create
a keyword search for it, but I can't work out which URL Firefox is launching
to get there. Any ideas? Thanks.

Note: I've tried the "frmget" bookmarklet found here, with no success:
http://www.squarefree.com/bookmarklets/forms.html
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

The GET is probably being rejected on the server form processing app (most now do this - that frmget looks pretty old). Also, have you tried to reconstruct the form on local server and POST from there? You will find out real fast if they reject non-native referral forms. This means you have to use their form from their server to access the data, so you have to view their adverts. They do this by checking the HTTP header referrer URL.

If so, you may have to write a screen-scraper app using the web gadget.

Just a thought, since I did this in a different language to download 7000 contact names from a page-at-a-time web form.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Hi Straker, everything you said is Greek to me. :) I was hoping there'd be a simple
way, or an updated "frmget" bookmarklet I could use. Networking is something I
know nothing about.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply