diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-06-29 21:24:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-06-29 21:24:02 -0700 |
commit | 9f99cf6926b09f906b21d64b631e797fdbb51bac (patch) | |
tree | 112e206564b7cb836c638167b80bd1acfd367454 /fatcat_scholar/sandcrawler.py | |
parent | 8c75ce9e78dfe4295188d8a57632d1630f987f8e (diff) | |
download | fatcat-scholar-9f99cf6926b09f906b21d64b631e797fdbb51bac.tar.gz fatcat-scholar-9f99cf6926b09f906b21d64b631e797fdbb51bac.zip |
make fmt
Diffstat (limited to 'fatcat_scholar/sandcrawler.py')
-rw-r--r-- | fatcat_scholar/sandcrawler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/sandcrawler.py b/fatcat_scholar/sandcrawler.py index 9c48cd9..25c7002 100644 --- a/fatcat_scholar/sandcrawler.py +++ b/fatcat_scholar/sandcrawler.py @@ -17,7 +17,9 @@ class SandcrawlerPostgrestClient: return None def get_pdf_meta(self, sha1: str) -> Optional[Dict[str, Any]]: - resp = requests.get(self.api_url + "/pdf_meta", params=dict(sha1hex="eq." + sha1)) + resp = requests.get( + self.api_url + "/pdf_meta", params=dict(sha1hex="eq." + sha1) + ) resp.raise_for_status() resp_json = resp.json() if resp_json: |