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
194
votes
20 answers

Parse RSS with jQuery

I want to use jQuery to parse RSS feeds. Can this be done with the base jQuery library out of the box or will I need to use a plugin?
Andy Brudtkuhl
  • 3,652
  • 3
  • 27
  • 31
42
votes
8 answers

RSS feed parser library in Python

I am looking for a good library in python that will help me parse RSS feeds. Has anyone used feedparser? Any feedback?
rahman.bd
  • 525
  • 1
  • 6
  • 13
26
votes
3 answers

IncompleteRead using httplib

I have been having a persistent problem getting an rss feed from a particular website. I wound up writing a rather ugly procedure to perform this function, but I am curious why this happens and whether any higher level interfaces handle this…
umeboshi
  • 767
  • 1
  • 6
  • 12
21
votes
2 answers

Python Feedparser: How can I check for new RSS data?

I'm using the feedparser python library to pull RSS data from a feed continuously. I've written my python code in such a way that I can ask for a single instance of the RSS data. Here's my code currently: import feedparser rssPR =…
Eric Miller
  • 1,367
  • 4
  • 13
  • 20
17
votes
3 answers

feedparser with timeout

My code got stuck on this function call: feedparser.parse("http://...") This worked before. The url is even not possible to open in the browser. How would you cure this case? Is there a timeout possibility? I'd like to continue as if nothing would…
xralf
  • 3,312
  • 45
  • 129
  • 200
17
votes
3 answers

Feedparser.parse() 'SSL: CERTIFICATE_VERIFY_FAILED'

I'm having this SSL issue with feedparser parsing an HTTPS RSS feed, I don't really know what to do as I can't find any documentation on this error when it comes to feedparser: >>> import feedparser >>> feed = feedparser.parse(rss) >>> feed {'feed':…
regularjoe
  • 685
  • 5
  • 11
16
votes
2 answers

How do I get SQLAlchemy to correctly insert a unicode ellipsis into a mySQL table?

I am trying to parse an RSS feed with feedparser and insert it into a mySQL table using SQLAlchemy. I was actually able to get this running just fine but today the feed had an item with an ellipsis character in the description and I get the…
kvedananda
  • 313
  • 1
  • 3
  • 9
15
votes
3 answers

How to build a simple RSS reader in Python 3.7?

I built a simple RSS reader on Python and it is not working. In addition, I want to get the featured image source link of every post and I didn't find a way to do so. it shows me the Error: Traceback (most recent call last): File …
Kadio
  • 191
  • 2
  • 3
  • 13
14
votes
1 answer

Python: How to check for RSS updates with feedparser and etags

I'm trying to skip over RSS feeds that have not been modified using feedparser and etags. Following the guidelines of the documentation: http://pythonhosted.org/feedparser/http-etag.html import feedparser d =…
Marc
  • 559
  • 1
  • 11
  • 26
13
votes
2 answers

How to check if an RSS feed has been updated in Python?

I am using the feedparser library in Python to get the various details from an RSS feed. Suppose I have pulled out 25 headlines titles from an RSS feed of a news channel. After an hour I run the feedparser command again to get the latest list of the…
user1452759
  • 8,810
  • 15
  • 42
  • 58
11
votes
1 answer

How to install Feedparser 5.1 for Python 3.2 Windows 64 bit.

I'm trying to install Feedparser 5.1 for Python 3.2, Windows 64 bit. I have tried FOREVER (aka the past 2 weeks) to install Feedparser for Python, and have been failing miserably. I've read the readme, tried searching the internet, and nothing has…
Twisterkid34
  • 165
  • 1
  • 2
  • 11
11
votes
1 answer

Parsing different date formats from feedparser in python?

I'm trying to get the dates from entries in two different RSS feeds through feedparser. Here is what I'm doing: import feedparser as fp reddit = fp.parse("http://www.reddit.com/.rss") cc = fp.parse("http://contentconsumer.com/feed") print…
Alistair
  • 8,066
  • 14
  • 39
  • 43
7
votes
1 answer

How to read all articles from a RSS feed?

I am using Python feedparser to read articles from a RSS feed. However, only the first page of articles can be read. Is there any other lib/package can read all articles of a RSS feed? Similar question @ SO: Feedparser - retrieve old messages from…
northtree
  • 8,569
  • 11
  • 61
  • 80
6
votes
1 answer

Skipping analyzing "feedparser.util": module is installed, but missing library stubs or py.typed marker

How do I fix this error? It seems feedparser does not support mypy typings? I could not find a typeshed implementation for feedparser UPDATE 1 I see an option called ignore_missing_imports that I can add to pyproject.toml. Isn't it a bad idea to do…
PirateApp
  • 5,433
  • 4
  • 57
  • 90
6
votes
2 answers

Feedparser - retrieve old messages from Google Reader

I'm using the feedparser library in python to retrieve news from a local newspaper (my intent is to do Natural Language Processing over this corpus) and would like to be able to retrieve many past entries from the RSS feed. I'm not very acquainted…
Rafael S. Calsaverini
  • 13,582
  • 19
  • 75
  • 132
1
2 3
24 25