Questions tagged [feedparser]

A Python library that parses feeds in all known formats, including Atom, RSS, and RDF.

Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds.

Links:

362 questions
4
votes
2 answers

How to collect all feeds though feedparser in python?

I am trying to use feedparser to get RSS feeds from reuters.com. I visited the link http://in.reuters.com/tools/rss to get the rss feeds' links, for example http://feeds.reuters.com/reuters/INtopNews. When I implement the code in python using…
psr
  • 2,619
  • 4
  • 32
  • 57
4
votes
1 answer

Flask + feedparser RSS reader takes too much (15 s) to load. How can I reduce this time?

What I'm making: An RSS reader with a couple (10 to 15) fixed feeds. The problem: When I hit refresh on the browser, it takes around 15 seconds to load. I know that most of the loading time is waiting for the server to iterate over every feed and…
Santiago Quiroga
  • 453
  • 1
  • 6
  • 19
4
votes
0 answers

Google Feed API | Rate Limit Exceeded | No result returned

I am trying to get Google News of about 5000 companies using python. I have scheduled to job to run like every 12 hours. What i actually do is using the Google news link (https://news.google.com/news/feeds?q=MyQuery&output=rss) i create a link for a…
planet260
  • 1,384
  • 1
  • 14
  • 30
4
votes
1 answer

Get autodiscovery links with Universal feed parser (feedparser)

I just started to use feedparser and wonder if there was any way to get a list of autodiscovery links. Thanks in advance. Massimo
4
votes
2 answers

feedparser and Google News

I'm trying to download a corpus of news (to try to do some natural language processing) from Google News using the universal feedparser with python. I really know nothing of XML, I'm just using an example of how to use the feedparser. The problem is…
Rafael S. Calsaverini
  • 13,582
  • 19
  • 75
  • 132
4
votes
1 answer

not able to parse rss feeds

I'm trying to parse RSS feeds from a url using feedparser in python. >>> import feedparser >>> d = feedparser.parse('http://www.shop.inonit.in/RSSFeedDetails.aspx?PID=801') >>> d {'feed': {'summary': u'

Server Error in \'/mobile\'…

user_2000
  • 1,103
  • 3
  • 14
  • 26
4
votes
1 answer

Error in 'egg_base' option when trying to install feedparser

I would like install feedparser. This is what happens when trying to install feedparser in the Windows command line. > python.exe setup.py install running install running bdist_egg error: error in 'egg_base' option: 'feedparser does not exist or is…
snakile
  • 52,936
  • 62
  • 169
  • 241
4
votes
1 answer

Access openSearch:totalResults using feedparser

How can I retrieve the openSearch:totalResults attribute using feedparser? I have a blogger API result which looks a bit like this (I have cut out some stuff to make it compact here)
N.P
  • 245
  • 1
  • 12
4
votes
2 answers

Less painful way to parse a RSS-Feed with lxml?

I need to display RSS-feeds with Python, Atom for the most part. Coming from PHP, where I could get values pretty fast with $entry->link i find lxml to be much more precise, faster, albeit complicated. After hours of probing I got this working with…
reinhardt
  • 351
  • 5
  • 14
3
votes
2 answers

where can i find feedparser documentation?

feedparser documentation used to be available on http://feedparser.org/ but the URL now says the resource cannot be found and there is no forwarding address. Anyone know where the documentation has moved or where I can find the documentation? Also,…
N.P
  • 245
  • 1
  • 12
3
votes
1 answer

Feedparser Date parameter/Time-specific query

Is there an Option in feedparser to query only the new entries newer then feed.updated? Or can you set a parameter to get only entries from a specific date/today/week etc.? (Safari´s RSS Reader provides this options...)
TiK
  • 51
  • 2
3
votes
1 answer

Extract value from a list formatted like a JSON file in Python

I have a function that returns an image URL from an RSS feed (I'm using feedparser). The problem is that it returns a strange formatted list. My feed has a key called media_content. The code used to access it is import feedparser NewsFeed =…
NicolaCaldo
  • 105
  • 1
  • 1
  • 4
3
votes
1 answer

Help with a regex to parse through and grab contents of

tag in html

I have a site I am trying to grab data from, and the content is laid out like this:

TestData TestData TestData

TestData1 TestData1 TestData1

I am using Java to grab…
Stephen J.
  • 3,127
  • 4
  • 20
  • 28
3
votes
3 answers

Python CouchDB can't save dict created from feedparser entry? (no attribute 'read')

I have a script that I want to read entries in an RSS feed and store the individual entries in JSON format into a CouchDB database. The interesting part of my code looks something like this: Feed = namedtuple('Feed', ['name', 'url']) couch =…
ashgromnies
  • 3,266
  • 4
  • 27
  • 43
3
votes
1 answer

Python feedparser not returning any entries

I've been cycling through RSS feeds over the past week using feedparser. When using it today, my entire program fails to function and I've noticed that the error seems to be at the start of the program, when I'm getting the length of the feed to…
Versace
  • 175
  • 1
  • 3
  • 11
1 2
3
24 25