All in all, your first RESTful API in Python is about piecing together clear endpoints, matching them with the right HTTP ...
This makes it easy to extract data embedded in JavaScript code using XPath in a way more robust than just using regular expressions. Use calmjs.parse instead of slimit for JavaScript parsing ...