X-Git-Url: https://git.rvb.name/pyrungps.git/blobdiff_plain/efbf2acd157a4b92e2de85da4879ec7b34af18d8..c49b871ebc265b1a2030482ca68f89ed920884ff:/pyrungps.py diff --git a/pyrungps.py b/pyrungps.py index d8aaa58..bfff892 100644 --- a/pyrungps.py +++ b/pyrungps.py @@ -26,7 +26,6 @@ def get_page(uname,year,month): trainings = [] req = requests.get("http://www.gps-sport.net/services/getMonthlyTrainingDataHTML_V2.jsp?userName=%s&year=%s&month=%s&rnd=0.645673"% (uname,year,month), headers = {'User-agent': 'Mozilla/5.0'}) - print req.text page = req.text.encode('utf-8') dom = html.document_fromstring(page)