Pulling data from a .asps site

Zepo Len no at no.no
Tue Nov 27 14:47:39 EST 2007


On Tue, 27 Nov 2007 20:37:19 +0200, <hall.jeff at gmail.com> wrote:

>
> There's a government website which shows public data for banks. We'd
> like to pull the data down programmatically but the data is "hidden"
> behind .aspx...
>
> Is there anyway in Python to hook in directly to a browser (firefox or
> IE) to do the following...
>
> 1) Fill the search criteria
> 2) Press the "Search" button
> 3) Press another button (the CSV button) on the resulting page
> 4) Then grab the data out of the notepad file that pops up
>
> If this is a wild good chase, let me know... (or if there's a better
> way besides Python... I may have to explore writing a firefox plug-in
> or something)...

Well, Python supports moving the mouse pointer so it's should be quite  
simple to write such a program.



More information about the Python-list mailing list