diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-12 22:34:19 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-12 22:34:19 +0100 |
| commit | 63133aa1bda1ef101772b1d85e27b8d320d32412 (patch) | |
| tree | 1bc63da57361bd79197dce7201f4cd101639369e /scraper/util.py | |
| parent | d97107ed5b242a3913df0d88ef4d8374b66ca25c (diff) | |
re-running reports..
Diffstat (limited to 'scraper/util.py')
| -rw-r--r-- | scraper/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/util.py b/scraper/util.py index 2d7c2ccb..6f3fc08b 100644 --- a/scraper/util.py +++ b/scraper/util.py @@ -331,11 +331,11 @@ def fetch_paper(s2, paper_id): print(paper_id) paper = s2.paper(paper_id) if paper is None: - print("Got none paper??") + print("Paper not found: {}".format(paper_id)) # time.sleep(random.randint(1, 2)) paper = s2.paper(paper_id) if paper is None: - print("Paper not found") + # print("Paper not found") return None write_json(paper_fn, paper) # time.sleep(random.randint(1, 2)) |
