getting the name of hyperlinks in a file

2007-01-12 Thread CSUIDL PROGRAMMEr
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??

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: getting the name of hyperlinks in a file

2007-01-15 Thread Laurent Rahuel
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??

-- 
http://mail.python.org/mailman/listinfo/python-list