I am stuggling to scrape as per code below. Would apprciate it if someone can have a look at what I am missing? Regards PyProg70
from selenium import webdriver
from selenium.webdriver import FirefoxOptions
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from bs4 import BeautifulSoup
import pandas as pd
import re, timebinary = FirefoxBinary('/usr/bin/firefox')
opts = FirefoxOptions()
opts.add_argument("--headless")browser = webdriver.Firefox(options=opts, firefox_binary=binary)
browser.implicitly_wait(10)url = 'http://tenderbulletin.eskom.co.za/'
browser.get(url)html = browser.page_source
soup = BeautifulSoup(html, 'lxml')print(soup.prettify())