diff --git a/fetch.py b/fetch.py old mode 100644 new mode 100755 index 32cbb20..40eb613 --- a/fetch.py +++ b/fetch.py @@ -5,7 +5,10 @@ Created on Mon Nov 5 20:55:36 2018 @author: suwako """ + import requests + + def runfetch(url): session=requests.Session() req1=session.get(url) @@ -15,7 +18,11 @@ def runfetch(url): for row in text: cols=[text.split('\n')[2][5::] if len(text.split('\n'))==3 else "" for text in row.split("