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!

Login and get coding
go back Intermediate level
Bitecoin 3X

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

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

Ask for Help