Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 39 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. # Use requests to get the contents
  2. r = requests.get(url)
  3.  
  4. # Get the text of the contents
  5. html_content = r.text
  6.  
  7. # Convert the html content into a beautiful soup object
  8. soup = BeautifulSoup(html_content, 'html.parser')
  9.  
  10.  
  11. div = soup.find_all('div', attrs={'class', 'seq gbff'})
  12. for each in div.children:
  13.     print(each)
  14. soup.find_all('span', aatrs={'class', 'ff_line'})
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