May-09-2017, 05:41 AM
Patience for a noob please, thank you.
Trying to scrape this information https://drive.google.com/file/d/0Bw37apQ...sp=sharing
from this website or page rather: http://www.cis.unimelb.edu.au/people/
I started off with this:
I want my end result to be(in CSV):
Title,Givenÿname,Family name,Position,Profile,Email
Dr,Roberto,Amadini,Research Fellow,Profile,[email protected]
Mr,Steven,Baker,Research Fellow,Profile,[email protected]
Mr,Daniel,Beck,Research Fellow,,[email protected]
Dr,Michelle,Blom,Research Fellow,Profile,[email protected]
Trying to scrape this information https://drive.google.com/file/d/0Bw37apQ...sp=sharing
from this website or page rather: http://www.cis.unimelb.edu.au/people/
I started off with this:
import bs4 as bs
import urllib.request as ur
sauce = ur.urlopen('http://www.cis.unimelb.edu.au/people/').read()
soup = bs.BeautifulSoup(sauce, 'lxml')
for tables in soup.find_all("table"):
print(tables)But that's it, I'm stuck only because I wanted to get the information the same way as it was show in CSV.\I want my end result to be(in CSV):
Title,Givenÿname,Family name,Position,Profile,Email
Dr,Roberto,Amadini,Research Fellow,Profile,[email protected]
Mr,Steven,Baker,Research Fellow,Profile,[email protected]
Mr,Daniel,Beck,Research Fellow,,[email protected]
Dr,Michelle,Blom,Research Fellow,Profile,[email protected]
