diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-05-03 19:12:41 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-05-03 19:12:41 +0200 |
| commit | 8594f42dc20909e6e8a1f245504ffdcc577413cf (patch) | |
| tree | 697b459476f7d4d6806635f98d379b9beb90a820 /scraper/s2.py | |
| parent | 4f823ca49a01becafdcd38c4d342080c1f29ce87 (diff) | |
| parent | 1be5e0e1a85a84d9eca7d1d89d14a562b356f2e0 (diff) | |
fix merge
Diffstat (limited to 'scraper/s2.py')
| -rw-r--r-- | scraper/s2.py | 4 |
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() + |
