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

need help getting xml feed from a url

P: n/a
If i have a list of urls how can I extract or pull their respective xml
feeds?

Jul 18 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Shan" <Sh******@gmail.comwrote:
If i have a list of urls how can I extract or pull their respective xml
feeds?
What have you tried so far?

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Jul 18 '06 #2

P: n/a
Shan wrote:
If i have a list of urls how can I extract or pull their respective xml
feeds?
from lxml import etree
feeds = []
for url in my_url_list:
feeds.append( etree.parse(url) )

For the rest, find out about the ElementTree API.

Stefan
Jul 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.