spacepaste

  1.  
  2. from bs4 import BeautifulSoup
  3. ALL_SUBSTANCE = "https://www.erowid.org/experiences/exp_list.shtml"
  4. substance_list = []
  5. data = requests.get(ALL_SUBSTANCE)
  6. content = data.content
  7. substance_soup = BeautifulSoup(content, 'html.parser')
  8. for link in substance_soup.findAll('a'):
  9. print(link)
  10.