summaryrefslogtreecommitdiff
path: root/scraper/s2-search-deep.py
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/s2-search-deep.py')
-rw-r--r--scraper/s2-search-deep.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scraper/s2-search-deep.py b/scraper/s2-search-deep.py
index 05a49836..93be3bea 100644
--- a/scraper/s2-search-deep.py
+++ b/scraper/s2-search-deep.py
@@ -44,7 +44,8 @@ def fetch_query(query, since=None, refresh=False):
if not refresh and os.path.exists(dump_fn):
results = read_json(dump_fn)
else:
- results = s2.search(q=clean_title.replace(' ', '+'), page=page, pageSize=10, yearFilter=yearFilter)
+ q = '"{}"'.format(clean_title.replace(' ', '+'))
+ results = s2.search(q=q, page=page, pageSize=10, yearFilter=yearFilter)
write_json(dump_fn, results)
time.sleep(5)