diff --git a/chromedriver_version.py b/chromedriver_version.py index e18b9e3..8cdb84c 100644 --- a/chromedriver_version.py +++ b/chromedriver_version.py @@ -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 @@ -23,4 +23,4 @@ # Print versions to console if script is run directly if __name__ == "__main__": - print(chromedriver_versions) \ No newline at end of file + print(chromedriver_versions)