summaryrefslogtreecommitdiff
path: root/scraper/s2.py
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/s2.py')
-rw-r--r--scraper/s2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/s2.py b/scraper/s2.py
index 62fd9a94..ec6a9172 100644
--- a/scraper/s2.py
+++ b/scraper/s2.py
@@ -181,7 +181,7 @@ class SemanticScholarAPI(object):
query = {
'authors': [],
'coAuthors': [],
- 'facets': {},
+ #'facets': {},
'page': page,
'pageSize': pageSize,
'publicationTypes': [],
@@ -192,5 +192,5 @@ class SemanticScholarAPI(object):
'yearFilter': yearFilter,
}
resp = requests.post(SemanticScholarAPI.SEARCH_ENDPOINT, json=query, headers=SemanticScholarAPI.headers)
- # print(resp.status_code)
return None if resp.status_code != 200 else resp.json()
+