Analysing @pythonbytes rss feed
Level: Advanced (score: 4)
Another feedparser exercise! In this Bite we're going to analyze the Python Bytes Podcast feed a bit completing the PythonBytes class:
- Use
feedparserto load the passed in feed URL intoself.entries - Next complete the stubbed out methods following the docstrings:
get_episode_numbers_for_mentioned_domain,get_most_mentioned_domain_names,number_episodes_with_special_guest, andget_average_duration_episode_in_seconds.
We added some type hinting and left the modules we used in the imports at the top. Also check out the tests, we use the full and partial feeds so hardcoded answers won't pass ;)
We were not sure to rate this intermediate or advanced, but this deserves 4 points for sure, so we kept it Advanced.
If you get stuck you can ask help in our Circle community. Good luck and keep calm and code in Python!