By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

getting the name of hyperlinks in a file

P: n/a
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/pu...dates/5/SRPMS/
is there any way this can be done in python??

Jan 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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/Beaut...0find%20method
%20findAll(name,%20attrs,%20recursive,%20text,%20l imit,%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/pu...dates/5/SRPMS/
is there any way this can be done in python??
Jan 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.