Guest User

Untitled

a guest
Jan 19th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. 2018-01-20 03:37:00
  2. 3.90135252
  3. 8ece3baba44382eec3d62fa76b5beba98ae398f81ad2d77556b95c3c1a739b4f
  4.  
  5. {'title': '2018-01-20 03:57:00'}
  6. 2h ago
  7. {'title': '2018-01-20 03:57:00'}
  8. 3.90135252
  9. {'title': '2018-01-20 03:57:00'}
  10. 8ece3baba44382eec3d62fa76b5beba98ae398f81ad2d77556b95c3c1a739b4f
  11.  
  12. import requests
  13. import time
  14. from bs4 import BeautifulSoup
  15.  
  16. theurl = "http://yiimp.eu/site/tx?address=DFc6oo4CAemHF4KerLG39318E1KciTs742"
  17. thepage = requests.get(theurl, headers={'User-Agent':'MyAgent'})
  18. soup = BeautifulSoup(thepage.text, "html.parser")
  19.  
  20.  
  21. for table in soup.findAll('td'):
  22. print(table.text)
  23. for time in soup.findAll('span'):
  24. print(time.attrs)
  25. count = 1
  26. if count == 1:
  27. count ==0
  28. break
Add Comment
Please, Sign In to add comment