Skip to content

Commit

Permalink
Update chromedriver_version.py
Browse files Browse the repository at this point in the history
Fixed scraper after chromedriver downloads page update
  • Loading branch information
pebnn committed Feb 16, 2023
1 parent ddcfccf commit 75ee69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromedriver_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
url = "https://chromedriver.chromium.org/downloads"
html = urlopen(url)
bs = BeautifulSoup(html, "html.parser")
versions = bs.findAll("strong")
versions = bs.findAll("span")


# Add each scraped element to a list
Expand All @@ -23,4 +23,4 @@

# Print versions to console if script is run directly
if __name__ == "__main__":
print(chromedriver_versions)
print(chromedriver_versions)

0 comments on commit 75ee69e

Please sign in to comment.