Bite 38. Using ElementTree to parse XML

In this Bite you will use ElementTree to parse some Nolan movies we extracted from OMDb.

Luckily most APIs switched to JSON, but sometimes XML is all there is, so at least learn to parse some! Complete the get_tree, get_movies and get_movie_longest_runtime functions below. See the docstrings and tests for more info.

Have fun and remember:

Keep calm and code in Python!

106 out of 111 users completed this Bite.
Will you be Pythonista #107 to crack this Bite?
It takes an average of ~73 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 5.4 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Login and get coding
We use Python 3.7