BingPoints/run.py

23 lines
390 B
Python

import selenium.common
from utils import Bing
User_profile_chrome = ["chromium"]
def main():
try:
driver = Bing.init_driver()
Bing.get_points(driver=driver)
driver.quit()
print("quit")
except selenium.common.exceptions.WebDriverException as e:
print(e)
except Exception as e:
print(e)
if __name__ == "__main__":
main()