Jun-02-2022, 01:14 AM
You can get data from webpages, web-scraping, with
Then, you can compare what you got with what is in your Excel.
To open Excel in Python, read up on openpyxl a Python module for handling Excel files.
Then, if you have a specific problem, you can ask the experts here, they (not like me) really know a lot about these things!
import requests from bs4 import BeautifulSoupRead up on those! When you have mastered that, you can specifically get the information you require.
url = 'https://www.somedotcom.com/awebpage.html' res = requests.get(url) html_page = res.content soup = BeautifulSoup(html_page, 'html.parser') text = soup.find_all(text=True)You can narrow down the search by only getting text contained in certain html tags.
Then, you can compare what you got with what is in your Excel.
To open Excel in Python, read up on openpyxl a Python module for handling Excel files.
Then, if you have a specific problem, you can ask the experts here, they (not like me) really know a lot about these things!