newspaper icon indicating copy to clipboard operation
newspaper copied to clipboard

Cannot fetch RSS-feeds because of wrong search-tag

Open HendrikLinn opened this issue 2 years ago • 0 comments

Hey,

I was wondering why the function feed_urls() does not return any feeds, even for the example page cnn.com, although it does have RSS-feeds. So I dug deeper into the code and found in the extractors.py in the function get_feed_urls() the argument: kwargs = {'attr': 'type', 'value': 'application\/rss\+xml'} It seems like because of the backslashes, the function cannot find the element on the website. If I remove them, I get all the RSS-feeds: kwargs = {'attr': 'type', 'value': 'application/rss+xml'} Does anybody else have this problem?

Thanks!

HendrikLinn avatar Oct 13 '21 07:10 HendrikLinn