getting the name of hyperlinks in a file

Laurent Rahuel lrahuel.notgood at voila.fr
Mon Jan 15 05:18:28 EST 2007


Hi,

I guess you should take a look at BeautifulSoup
(http://www.crummy.com/software/BeautifulSoup/).

And take a clooser look at the findAll method.
http://www.crummy.com/software/BeautifulSoup/documentation.html#The%20basic%20find%20method
%20findAll(name,%20attrs,%20recursive,%20text,%20limit,%20**kwargs)

Regards,

Laurent

CSUIDL PROGRAMMEr wrote:

> folks,
> I am trying to write a script that would open a download server and
> download all the files  and store them in a list
> 
> for example Download server is
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/
> 
> 
> is there any way this can be done in python??




More information about the Python-list mailing list