mirror of
https://github.com/OpenJarbas/PySychonaut.git
synced 2025-02-19 15:00:39 +01:00
get pharms
This commit is contained in:
parent
700a4af41d
commit
6efb79c0f7
@ -126,6 +126,11 @@ class Erowid(object):
|
|||||||
categories.append(sub)
|
categories.append(sub)
|
||||||
return categories
|
return categories
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def get_pharms():
|
||||||
|
base_url = 'https://erowid.org/pharms/'
|
||||||
|
return Erowid._extract_list(base_url)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_chemicals():
|
def get_chemicals():
|
||||||
base_url = 'https://erowid.org/chemicals/'
|
base_url = 'https://erowid.org/chemicals/'
|
||||||
|
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='PySychonaut',
|
name='PySychonaut',
|
||||||
version='0.3',
|
version='0.3.1',
|
||||||
packages=['pysychonaut'],
|
packages=['pysychonaut'],
|
||||||
url='https://github.com/JarbasAl/PySychonaut',
|
url='https://github.com/JarbasAl/PySychonaut',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user