daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jan 14th, 2019 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  from bs4 import BeautifulSoup
  2.  
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top