get pharms

This commit is contained in:
jarbasal 2018-05-02 02:21:08 +01:00
parent 700a4af41d
commit 6efb79c0f7
2 changed files with 6 additions and 1 deletions

View File

@ -126,6 +126,11 @@ class Erowid(object):
categories.append(sub)
return categories
@staticmethod
def get_pharms():
base_url = 'https://erowid.org/pharms/'
return Erowid._extract_list(base_url)
@staticmethod
def get_chemicals():
base_url = 'https://erowid.org/chemicals/'

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='PySychonaut',
version='0.3',
version='0.3.1',
packages=['pysychonaut'],
url='https://github.com/JarbasAl/PySychonaut',
license='MIT',