0

I was wondering if there is a way to scrape a website using Python, then I can do some changes in the HTML or the scraped data (for example change the font color or background color..etc) and then open the edited HTML in the browser.

I was able to get the URL and edit the data using requests and BeautifulSoup, but then I got stuck on how to re-open the HTML file in the browser.

This is my code:

enter image description here

So now I got the whole html data in the variable lime_changed but am stuck on how to re-open it, can someone help me with this one.

Nazim Kerimbekov
  • 4,712
  • 8
  • 34
  • 58
Abood
  • 41
  • 3

1 Answers1

0

Depending on what your goal is, you can also use Selenium to automate browser control from Python

ThatCampbellKid
  • 561
  • 1
  • 5
  • 19