diff --git a/pubs/apis.py b/pubs/apis.py index cb1046f..8c95126 100644 --- a/pubs/apis.py +++ b/pubs/apis.py @@ -17,8 +17,7 @@ def isbn2bibtex(isbn): url = 'http://www.ottobib.com/isbn/{}/bibtex'.format(isbn) r = requests.get(url) - soup = BeautifulSoup(r.text) + soup = BeautifulSoup(r.text, "html.parser") citation = soup.find("textarea").text return citation -