Login and get codingIn 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 alist
.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!
Will you be the 153rd person to crack this Bite?
Resolution time: ~53 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 5.4 on a 1-10 difficulty scale.
» Up for a challenge? 💪