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
3
votes
2 answers

How to get image from this BBC feed using Python and Universal Feed Parser

I am using this feed http://feeds.bbci.co.uk/news/rss.xml and want to get all media:thumbnail entries. I.e. all images import feedparser d = feedparser.parse('http://feeds.bbci.co.uk/news/rss.xml') e = d['entries'][0] print…
SM79
  • 1,234
  • 2
  • 15
  • 33
3
votes
1 answer

How to fetch multiple feeds concurrently

I am new to ruby on rails and I have just started watching rails casts tutorials. To parse feeds, I have started using feed zirra. To fetch multiple feeds at once, feedzirra has this feature feed_urls =…
gkolan
  • 1,571
  • 2
  • 20
  • 37
3
votes
0 answers

Feedparser feed hang-up and timeout

Right now script open URL and check for RSS feeds, but there is problem. Let's say site hang-up, it's like loading but not giving any information. So my script too hang-up and it doesn't retrieve any RSS feeds. After that there is only solution -…
ZeroSuf3r
  • 1,961
  • 8
  • 25
  • 36
3
votes
3 answers

Have a correct datetime with correct timezone

I am using feedparser in order to get RSS data. Here is my code : >>> import datetime >>> import time >>> import feedparser >>> d=feedparser.parse("http://.../rss.xml") >>> datetimee_rss = d.entries[0].published_parsed >>>…
Blusky
  • 3,470
  • 1
  • 19
  • 35
3
votes
1 answer

Reading RSS feed and displaying it in Django Template | feedparser

Refer this blog: http://johnsmallman.wordpress.com/author/johnsmallman/feed/ I want to fetch the RSS feed for my application. The above blog is a wordpress blog. I am using feedparser import feedparser feeds =…
Django Anonymous
  • 2,987
  • 16
  • 58
  • 106
3
votes
1 answer

How can I convert a readable stream to valid JSON using nodejs?

I'm trying to consume an ATOM feed of concert data and output it to JSON for a bit nicer consumption. So far I've been using request to get the data and feedparser to parse through it and it seems to be working as I'd like. // data var feed =…
imjared
  • 19,492
  • 4
  • 49
  • 72
3
votes
2 answers

Asynchronous feedparser requests

I'm using feedparser (Python) to get some RSS entries from several websites. How can I do asynchronous requests using feedparser? I mean, I want to get some RSS entries but I don't want to wait for the response. A callback function should be called…
Hugo Sousa
  • 906
  • 2
  • 9
  • 27
3
votes
3 answers

Restricting RSS elements by date with feedparser. [Python]

I iterate a RSS feed like so where _file is the feed d = feedparser.parse(_file) for element in d.entries: print repr(element.date) The date output comes out like so u'Thu, 16 Jul 2009 15:18:22 EDT' I cant seem to understand how to actually…
Recursion
  • 2,915
  • 8
  • 38
  • 51
3
votes
4 answers

RSS.NET unable to parse feedburner feeds

I'm using RSS.NET for .NET 2.0. Try as I might, I get 0 channels for the following: feed = RssFeed.Read("http://feeds.feedburner.com/punchfire?format=xml"); I note that for other feeds this works e.g. feed =…
Farooq
  • 149
  • 1
  • 4
  • 11
3
votes
6 answers

jQuery External RSS Feed Parser?

I've been looking around for a decent jQuery feed/XML parser and found good plugins like jFeed and jParse (among a few others). None of these support retrieving an external feed though, which is something I'm after. Pretty sure this is down to…
Steve M
  • 65
  • 1
  • 1
  • 9
3
votes
1 answer

Python - How to get timezone from RSS feed

I need to get the published field of an RSS feed, and I need to know what the timezone is. I am storing the date in UTC, and I want another field to store the timezone so that I can later manipulate the datetime. My current code is as follows: for…
Meir
  • 1,943
  • 5
  • 22
  • 38
3
votes
2 answers

Error importing external library within Django template tag library

So I'm attempting to write a Django reusable app that provides a method for displaying your Twitter feed on your page. I know well that it already exists 20 times. It's an academic exercise. :) Directory structure is pretty simple: myproject |__ …
c_harm
2
votes
1 answer

Using feedparser with Google App Engine

I am trying to parse an RSS feed with feedparser. The below code snipped is cut-short for brevity from google.appengine.api import urlfetch import feedparser print 'Content-Type: text/plain' feed_url = 'http://parsethisurl' feedinput =…
Noob
  • 23
  • 4
2
votes
1 answer

Checking RSS feeds for new content with feedparser

I'm using python to build an application which functions in a similar way to an RSS aggregator. I'm using the feedparser library to do this. However, I'm struggling to get the program to correctly detect if there is new content. I'm mainly concerned…
user1106610
  • 51
  • 2
  • 3
2
votes
2 answers

Feedparser (and urllib2) issue: Connection timed out

Starting with urllib2 and feedparser libraries in Python I'm getting the following error most of the time whenever try to connect and fetch content from particular URL: urllib2.URLError: The minimal…
Andrej
  • 3,719
  • 11
  • 44
  • 73