avatar Bite 220. Analysing @pythonbytes RSS feed

Another feedparser exercise! In this Bite we're going to analyze the Python Bytes Podcast feed a bit completing the PythonBytes class:

  1. Use feedparser to load the passed in feed URL into self.entries
  2. 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, and get_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 on our Slack -> #codechallenges channel, just don't give any solutions away.

Good luck and keep calm and code in Python!

Login and get coding
go back Advanced level
Bitecoin 4X

59 out of 61 users completed this Bite.
Will you be the 60th person to crack this Bite?
Resolution time: ~85 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 5.8 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help