Last active
January 20, 2017 19:42
-
-
Save KameronKales/08ae2ae6d5bf658f4dd6a569aa9811b8 to your computer and use it in GitHub Desktop.
1st section of my HQ conference room booking skill
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def scrape(): | |
browser = webdriver.Chrome('./chromedriver') | |
link = 'https://hqraleigh.spaces.nexudus.com/en/bookings/search' | |
browser.get(link) | |
login_bar = browser.find_element_by_id('login') | |
login_bar.send_keys(<INSERT_YOUR_EMAIL_TO_LOGIN>) | |
password_bar = browser.find_element_by_id('pass') | |
password_bar.send_keys(<INSERT_YOUR_PASSWORD_TO_LOGIN>) | |
login_bar.submit() | |
return scrape | |
scrape() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment