From: Roman Bazalevsky Date: Fri, 22 May 2020 14:54:04 +0000 (+0300) Subject: Убрал отладочную печать. X-Git-Url: https://git.rvb.name/pyrungps.git/commitdiff_plain/c49b871ebc265b1a2030482ca68f89ed920884ff?ds=inline Убрал отладочную печать. --- 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)