diff --git a/pysychonaut/__init__.py b/pysychonaut/__init__.py index b03547a..55b8a42 100644 --- a/pysychonaut/__init__.py +++ b/pysychonaut/__init__.py @@ -89,9 +89,11 @@ class Erowid(object): soup = BeautifulSoup(response, "lxml") name = soup.find('div', {'class': 'title'}).getText().strip() + author = soup.find('div', {'class': 'author'}).getText().strip() drug = soup.find('div', {'class': 'substance'}).getText().strip().lower().replace("/", ", ") experience_data = soup.find('table', {'class': 'footdata'}).getText().strip().lower().split("\n") data["name"] = name + data["author"] = author data["substance"] = drug data["experience"] = experience data["year"] = experience_data[0].split("expid:")[0].replace("exp year: ", "").strip() diff --git a/setup.py b/setup.py index 8398702..49f95e0 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='PySychonaut', - version='0.4.1', + version='0.4.2', packages=['pysychonaut'], url='https://github.com/JarbasAl/PySychonaut', license='MIT',