avatar 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!

Login and get coding
go back Beginner level
Bitecoin 2X

671 out of 683 users completed this Bite.
Will you be Pythonista #672 to crack this Bite?
Resolution time: ~54 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 5.36 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.
We use Python 3.8