Quantcast
Channel: Active questions tagged feedparser - Stack Overflow
Browsing all 99 articles
Browse latest View live

Printing a list in Python3

I am using feedparser to pull some data from a news channel RSS page.There are around 54 title in the page.However I want to print for example 10 details.I tried over and over but i couldn't do...

View Article



Parsing , tags value using feedparser in python from a Atom/xml feed

I am using feedparser for parsing data from an Atom/xml feed file. The link for the file is:https://alerts.weather.gov/cap/oh.php?x=0This is a feed that is put out by the National Weather Service for...

View Article

How to fix SSL: CERTIFICATE_VERIFY_FAILED feedparser?

feedparser.parse('https://habrahabr.ru/rss/feed/posts/6266e7ec4301addaf92d10eb212b4546')some days ago it but now it doesn't it is python3 feedparsetbozo_exception': URLError(SSLError(1, '[SSL:...

View Article

RSS feeds in FiraBase database with Python Script?

I would like to load RSS feeds into a Firebase database.With feedparser I can parse the RSS feeds, that works very well.Also the FireaBase database is connected and I can add data there but I want use...

View Article

Python Feedparser pubdate to one timezone

I need to parse RSS feed. I am using feedparser on python. Basically my task is to run script every N seconds and check for last feed. I come up with idea to check is date is younger than 15 seconds...

View Article


What represents this more exactly

I'm building a RSS-Feed parser to extract news from various websites. One thing tho that makes me confused is:<html lang="nl" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc:...

View Article

Output of feedparser in python unexpectedly truncated

I'm writing a piece of code that parses information from an RSS feed. I am storing the parsed informations for later research. In the case at hand I'd like to store info such as [Name, Surname, Type of...

View Article

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...

View Article


How to use feedparser with proxy in python 3?

I'd like to use a proxy and feedparser. This is how I'd do in urllib2:import urllib2, feedparserproxy = urllib2.ProxyHandler({"http":"proxy:port"})d =...

View Article


How do I pass raw untrusted text to feedparser.parse method in Python?

I am trying to use feedparser to parse text which I download using asyncio aiohttp libraryThe feed text is available HERE (Large document, hence not pasting here)The documentation of feedparser.parse...

View Article

Feedparser is not sanitizing html text downloaded via asyncio aiohttp

I am downloading feed using aiohttp asyncioFeedparser is supposed to sanitize input text with its _HTMLSanitizer class to accept only specific tagsThe sanitizer does not work, any suggestions?import...

View Article

Python Newsaggregator - stopping repeated rss entries

In short terms, I created a newsaggregator that gets the latest three uploads from a given feed. The script works fine, however I have been trying to edit it so that it doesn't output the same article...

View Article

Fetch all products from NewEgg RSS with python

I find out that the newegg.ca has an RSS feed but I can't read the RSS via feedparser in python!here it is the feeds list but when I want to list all products from a category it doesn't appear to be...

View Article


FeedParserDict programming error when reading a pandas dataframe into an...

When trying to read a pandas dataframe into a newly created postgresql table, I get a "FeedParserDict" error message. I'm fairly new to this and cannot figure out what the issue is or where I went...

View Article

How to query arXiv for a specific year?

I'm using the code shown below in order to retrieve papers from arXiv. I want to retrieve papers that have words "machine" and "learning" in the title. The number of papers is large, therefore I want...

View Article


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...

View Article

Feedparser HTTP conditional GET implementation for pulling only new feed data

I'm trying to pull via Feedparsr only new feed data through HTTP conditional GET implementation, but until now it always return feed2.status=304, even if new contents were pushed through the feed....

View Article


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...

View Article

Feedparser, no etag and modified attributes

How could I know if the feed has changed since last check if none of these attributes exists for a given feed ?Example with this one from a nintendo news...

View Article

Image may be NSFW.
Clik here to view.

Retrieving JSON Title, URL from Pygooglenews feedParser

I'm trying to retrieve values from pyGoogleNews (https://github.com/kotartemiy/pygooglenews)that is using feedParser to output the values.Code Snippet as follows:from pygooglenews import GoogleNewsgn =...

View Article
Browsing all 99 articles
Browse latest View live




Latest Images