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

Python feedparser's bozo is of bool type instead of int

Disclaimer first: I am a python newbie.I am using feedparser version 6.0.8 (checked using pip freeze | grep feedparser) to parse Twitter feeds from random Nitter instances (using twiiit.com). Python...

View Article


Python program using feedparser slows over time [closed]

I have a Python program which is running in a loop and downloading 20k RSS feeds using feedparser and inserting feed data into RDBMS.I have observed that it starts from 20-30 feeds a min and gradually...

View Article


How to use an rss feed in python?

I have never worked with an RSS feed before, I can't seem to find the url of the feed.The page which is offering the RSS Feed:https://www.sec.gov/edgar/browse/?CIK=717826&owner=excludeI am using...

View Article

How to cycle through indices

so in this script I am writing to learn python, I would like to just put a wildcard instead of rewriting this whole block just to change line 2. what would be the most efficient way to consolidate this...

View Article

Retrieve info between paragraph tags with feedparser

I've been reading through the documentation for feedparser and haven't been able to find a solution to this: I would like to retrieve only the string between <p></p>. An example of an...

View Article


How to parse a xml feed using feed parser python?

Im trying to parse a feed in python using feedparser. But all I get is None returned. Im not sure what im missing. Here is my code:import feedparserdef rss(self): rss =...

View Article

Feedparser not returning values, only metadata

I'm using feedparser to get info from a public database (https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_Bill()).Each of my entries looks as followsWhen accessing specific properties:url =...

View Article

How to find why thread is suspended when using multiprocessing or bypass that?

I use feedparser to get rss feeds from some sites, my core code is like this:def parseworker(procnum, result_queue, return_dict, source_link): try: data = feedparser.parse(source_link)...

View Article


Unexpected error when using feedparser.py

I have had great success parsing RSS feeds from the National Hurricane Center using the feedparser module:import feedparserfeedparser.parse('https://www.nhc.noaa.gov/gis-at.xml') #Works...

View Article


Why is my pythonscript breaking after hours of working fine?

I wrote a small simple program which checks the RSS feed of a german news site, saves the pubDate, title, description and link of the last article and saves it to a txt file. After running over 11...

View Article

Unable to get all image url in for looop

I want to output all avaible images from rss feed. My code only getting first image of the feed .. help me to get all imagess import feedparser d =...

View Article

Feedparser pubdate gives error when trying to store into a table with asyncpg

I am trying to store feedparser data into a Postgres database via asyncpg and I am getting an error while storing pubdate that is of type timestamptz in the databaseI have a Postgres table test with...

View Article

Using Python to get Substack posts without scraping

I want to create a dataframe of Substack posts from all the newsletter I subscribe to. But using feedparser+ Substack's RSS feeds only seem to go back ~20 posts—even if a particular newsletter has...

View Article


How to scrape news articles from cnbc with keyword "Green hydrogen"?

I am trying to scrap news article listed in this url, all article are in span.Card-title. But this gives blank output. Is there any to resolve this?from bs4 import BeautifulSoup as soupimport...

View Article

How do I update RSS feed with feedparser in discord.py?

I'm working on a custom bot to send a message in a Discord channel every time a new post is made on a subreddit. With this, it just sends a link to the same post every 30 seconds, the post never...

View Article


Python rss feed gets AttributeError

Running this code:import feedparserFeed = feedparser.parse('http://www.reddit.com/r/python/.rss')pointer = Feed.entries[1]print (pointer.summary)print (pointer.link)I get this error:AttributeError:...

View Article

Feedparser is not returning value for a single field

I am attempting to read Stack Exchange's hot network questions RSS feed using the feedparser library. An example entry looks like...

View Article


ModuleNotFoundError: No module named 'feedparser'

I have Python 3.11 and I have done everything expect Anaconda thing in this video below to try and fix this issue.https://www.youtube.com/watch?v=RvbUqf3Tb1s&t=181s&ab_channel=TechWithTimHere...

View Article

Formatting a tweet from python using tweepy

I'm trying to tweet my movie reviews from Letterboxd using python's tweepy but I can't format the tweet. I tried printing the tweet without the square brackets or printing the title and link to the...

View Article

Feedparser-basics how to

I'm very new to Feedparser and have returned to Python after a long break so would appreciate any help. I've tried the docs, which are very good, but I'm still slightly lagging.How would I get...

View Article
Browsing all 38 articles
Browse latest View live


Latest Images