开发者

Downloading from links in an rss feed

I am trying to create a directory with news articles collected from an rss feed, meaning that whenever there is a link to an article wit开发者_运维知识库hin the rss feed, I would like for it to be downloaded in a directory with the title of the specific article as the filename as as a text file. Is that something Python can help me do ?

Thank you for your help :-)


You can parse RSS feeds with feedparser and download files with urllib2. If you need to parse HTML use BeautifulSoup. If you have any problems with those, post more specific questions.


Of course. BeautifulSoup, lxml, urllib2, urlgrabber.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜