From 3c720fa0d6ca046c8a210ea88598131bef81fa68 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 10 Nov 2021 17:02:52 -0800 Subject: Revert "pull GROBID refs along with crossref records into bundles" This reverts commit c164970449a392b5165d903d213c2bb51f2a187f. Didn't mean to merge this to master just yet. --- fatcat_scholar/sandcrawler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fatcat_scholar/sandcrawler.py') diff --git a/fatcat_scholar/sandcrawler.py b/fatcat_scholar/sandcrawler.py index 9b016f5..087cdc6 100644 --- a/fatcat_scholar/sandcrawler.py +++ b/fatcat_scholar/sandcrawler.py @@ -40,9 +40,7 @@ class SandcrawlerPostgrestClient: return None def get_crossref(self, doi: str) -> Optional[Dict[str, Any]]: - resp = requests.get( - self.api_url + "/crossref_with_refs", params=dict(doi="eq." + doi) - ) + resp = requests.get(self.api_url + "/crossref", params=dict(doi="eq." + doi)) resp.raise_for_status() resp_json = resp.json() if resp_json: -- cgit v1.2.3