Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use requests to get the contents
- r = requests.get(url)
- # Get the text of the contents
- html_content = r.text
- # Convert the html content into a beautiful soup object
- soup = BeautifulSoup(html_content, 'html.parser')
- div = soup.find_all('div', attrs={'class', 'seq gbff'})
- for each in div.children:
- print(each)
- soup.find_all('span', aatrs={'class', 'ff_line'})
Add Comment
Please, Sign In to add comment