Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- from selenium import webdriver
- from selenium.webdriver.support.ui import WebDriverWait
- from selenium.webdriver.support import expected_conditions as EC
- from selenium.webdriver.common.by import By
- from bs4 import BeautifulSoup as bs
- chromedriver = r'C:\Users\webdriwers\chromedriver.exe'
- d = webdriver.Chrome(chromedriver)
- d.get('https://www.betexplorer.com/next/soccer/')
- d.find_element_by_xpath('//*[@id="lcmenu"]/a[3]').click()
- soup = bs(d.page_source, 'html.parser')
- soup = soup.findAll("td", {"class": "table-main__tt"})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement