Python Forum
WebScrape: Tabular Input, CSV Output
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebScrape: Tabular Input, CSV Output
#3
As mention you need other tool to get email,
which i executed bye JavaScript in browser(DOM).
Can use PhanotmJS and pass source to BS.
Eg:
from bs4 import BeautifulSoup
from selenium import webdriver

driver = webdriver.PhantomJS()
driver.set_window_size(1120, 550)
url = 'http://www.cis.unimelb.edu.au/people/'
driver.get(url)
soup = BeautifulSoup(driver.page_source, 'lxml')
print(soup.find('table'))
I get this output,better looking in a Pen.
Reply


Messages In This Thread
WebScrape: Tabular Input, CSV Output - by vetabz - May-09-2017, 05:41 AM
RE: WebScrape: Tabular Input, CSV Output - by buran - May-09-2017, 07:42 AM
RE: WebScrape: Tabular Input, CSV Output - by snippsat - May-09-2017, 10:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webscrape using RPi and SQlite database, always write the last value in database Armond 0 545 Jul-19-2023, 09:11 PM
Last Post: Armond

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020