Python Forum

Full Version: pull data from python web
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I pull data from all the pages on
https://www.resignation.info/list&p
site
see web scraping tutorials under tutorials (this site) specifically the part on selenium
part 1
part 2
import urllib.request
from bs4 import BeautifulSoup
url="https://www.resignation.info/list"
url_oku=urllib.request.urlopen(url)
soup=BeautifulSoup(url_oku,'html.parser')
ana= soup.find('figcaption')
alt=ana.find_all('thead',attrs={'class':'standard-table'})
print(alt)