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.
精彩评论