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
0
votes
1 answer

python rss feedparser can't parse description correctly

My Python code can't parse "description" from RSS feed, when I run following script, it shows multiple lines of blanks, how could I parse it correctly? import feedparser import unidecode rss_url =…
Thomas G. Lau
  • 226
  • 3
  • 14
0
votes
1 answer

Python/Feedparser: reading RSS feed fails

I'm using feedparser to fetch RSS feed data. For most RSS feeds that works perfectly fine. However, I know stumbled upon a website where fetching RSS feeds fails (example feed). The return result does not contain the expected keys and the values are…
Christian
  • 3,239
  • 5
  • 38
  • 79
0
votes
2 answers

Parse out key:values in dictionary nested in MRSS feed using Python Feedparser

I've looked through the Python feedparser documentation and done enough Googling, but not finding any example feeds that look like what I'm working with: http://smrss.neulion.com/u/nhl/mrss/sights-and-sounds/vod.xml What I'm trying to access is the…
AdjunctProfessorFalcon
  • 1,790
  • 6
  • 26
  • 62
0
votes
1 answer

Feedparser : insert in pg if does not exists

I got several issues on this one. So I'm trying to use feedparser and psycopg. Probleme is, i don't want to have duplicated data. def dbFeed(): conn_string ="host='localhost' dbname='rss_feed' user='postgres' password='somepassword'" print…
whiplash
  • 375
  • 1
  • 3
  • 5
0
votes
2 answers

Getting rss exactly same format

Let me get there straight, I'm trying to make reader web app alike google reader, feedly etc... Hence i'm trying get rss by python using feedparser library. The thing is all website's rss is not in same format i mean some of them has no title, some…
Zorig
  • 585
  • 1
  • 10
  • 26
0
votes
1 answer

Parse entries that is within specified date using feedparser

Basically this is my code but what it does is loop through all the post. d = feedparser.parse('www.reddit.com/r/Python/.rss') for post in d: print post.title What I'm trying to accomplish is to have it loop only between a specifed date. For…
lozadaOmr
  • 2,565
  • 5
  • 44
  • 58
0
votes
1 answer

feedparser - various errors

I need feedparser (se http://www.feedparser.org) for a project, and want to keep third party modules in a separate folder. I did this by adding a folder to my python path, and putting relevant modules there, among them feedparser. This first attempt…
Eiriks
  • 479
  • 2
  • 11
  • 20
0
votes
1 answer

Feedparser Python Error : KeyError : 'title'

I have seen a lot of KeyCount Errors online but none of them quite match the troubles that I'm having. I am using feed parser to try and create a one run application that accesses all the URLs in a text file and outputs all the entries in each URL.…
Joshua Boddy
  • 83
  • 1
  • 9
0
votes
1 answer

inserting rss feed images into mysql database with feedparser, MySQldb and python

i am able to parse an rss feed and save the links, tiles and description to my database successfully, however when i try to do the same for images in the same feed, i'm getting an error. I already checked if the xml file has the category 'image' to…
Shingai Munyuki
  • 551
  • 1
  • 11
  • 25
0
votes
1 answer

Is there a more up to date RSS feed API for Python than Feedparser?

Seems it hasn't been updated in a while, and lacks support for things like sy:updateFrequency.
Rhubarb
  • 3,893
  • 6
  • 41
  • 55
0
votes
2 answers

adding the feedparser module to python

I recently downloaded and installed feedparser with python, I tried to run it but Netbeans shouts on import: ImportError: No module named feedparser restarted the Netbeans, still no go.
Asaf
  • 8,106
  • 19
  • 66
  • 116
0
votes
1 answer

Python to Raspberry Pi interaction troubles, specifically FeedParser..?

So I am pretty new to Python and hardware to software interactions. I need help with this bit of code that I revised off the web. My LED is not switching to red when there is no new emails... It seems to be understanding FeedParser is the issue, and…
MrRoss
  • 35
  • 10
0
votes
2 answers

Delete HTML Tags from string Python

I'm developing a script using feedparser (to extract RSS Feeds). Using some functions I end up having a string named description like this: "This is the description of the feed. < img alt='' height='1' src='http://linkOfARandomImage.of/the/feed'…
lpares12
  • 3,504
  • 4
  • 24
  • 45
0
votes
1 answer

Getting Rss feed, periodically, using Python

I am trying to build an algorithms that get rss items. I could do that using feedparser. However, I couldn't get the update items. When I execute the code data = feedparser.parse(URL) I want to do that automatically, without running the…
user3378649
  • 5,154
  • 14
  • 52
  • 76
0
votes
1 answer

I would like to catch the image from RSS feed

I'm executing these lines: views.py def pull_feed(feed_url, posts_to_show=5): feed = feedparser.parse(feed_url) posts = [] for i in range(posts_to_show): pub_date = feed['entries'][i].updated_parsed published =…
Max Ferreira
  • 468
  • 1
  • 4
  • 19