GH avatar Bite 193. Most upvoted StackOverflow Python questions

In this Bite you parse a copy of StackOverflow Python questions which we cached here

Retrieve + parse this URL with requests + BeautifulSoup and extract the question (question-hyperlink class), votes (vote-count-post class) and number of views (views class) into a list.

Next filter the list to only show questions with more than one million views (HTML = "..m views") and sort the remaining questions descending on number of votes. See the tests for the expected return output. Some pretty good questions in that list!

Enjoy and code more Python!

16 out of 17 users completed this Bite.
Will you be Pythonista #17 to crack this Bite?
It takes an average of ~46 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 3.5 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7