summaryrefslogtreecommitdiff
path: root/s2.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-05 23:14:56 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-05 23:14:56 +0100
commitf616775cd805ef991bae5f3058bb9c7857896d5a (patch)
treecb0c5c020f1bf2a40c0625609a513ad735cb77ba /s2.py
parentd6f2c1a496fb478e6533730fef654b7aa8833f90 (diff)
dump first pages
Diffstat (limited to 's2.py')
-rw-r--r--s2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/s2.py b/s2.py
index 696b1a45..f3b1176f 100644
--- a/s2.py
+++ b/s2.py
@@ -122,7 +122,7 @@ class SemanticScholarAPI(object):
@staticmethod
def fetch_file(url, fn, **kwargs):
- resp = requests.get(url, params=kwargs, headers=SemanticScholarAPI.headers)
+ resp = requests.get(url, params=kwargs, headers=SemanticScholarAPI.headers, verify=False)
if resp.status_code != 200:
return None
size = 0