Open cyril36 opened 3 years ago
Same here, I can't get the categories and subcategories correctly from the tags
dict.
Sample RSS feed: https://allinchamathjason.libsyn.com/rss
I get:
{'term': 'Chamath', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'Covid19', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'Entrepreneurship', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'Friedberg', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'IQ', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'Startups', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'allin', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'alllin', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'business', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'calacanis', 'scheme': 'http://www.itunes.com/', 'label': None}
{'term': 'coronavirus', 'scheme': 'http://www.itunes.com/', 'label': None}
Hi,
I am using Python 3.8.3 and feedparser==6.0.2 I have the following feed :
1) I want to retrieve the "categories" independently of "keywords" 2) I want to retrieve "author" independently of "itunes:owner"
First 1)
When I do the following to get one category it works , ut i can not retrieve the other categories:
When I do the following to get several categories i get an error:
ERROR :
I can retrieve the categories through the "tags" key, such as
NewsFeed.feed.get("tags")
but "tags" contains the "keywords" and "categories". such as :I want "categories" separated from "keywords".
2) same for "author" independently of "itunes:owner"
i would like to know if there is a feature where i can parse a single tag?
Thank you