Убрал отладочную печать.
authorRoman Bazalevsky <rvb@rvb.name>
Fri, 22 May 2020 14:54:04 +0000 (17:54 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Fri, 22 May 2020 14:54:04 +0000 (17:54 +0300)
pyrungps.py

index d8aaa58736f9cf9146dd9dd46824afb04ed1b0ca..bfff892fca2164b19b10c762e1b6175e18f642f4 100644 (file)
@@ -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)