more convenient to use in Python web projects (e.g. Django or Flask-based) *html.fromstring(requests.get(url, timeout=10).content).xpath(xpath_str) fmt = """Total ...