Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bs4 import BeautifulSoup
- ALL_SUBSTANCE = "https://www.erowid.org/experiences/exp_list.shtml"
- substance_list = []
- data = requests.get(ALL_SUBSTANCE)
- content = data.content
- substance_soup = BeautifulSoup(content, 'html.parser')
- for link in substance_soup.findAll('a'):
- print(link)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement