+ 4
Web scraping and JavaScript
I have a code in Python that scrapes a web, but on the web what happens is that the javascript is executed to see the page, how can I execute that javascript to see the content of the page, (It is completely necessary to execute the javascript of the page) https://code.sololearn.com/cpp1W4o5CV12/?ref=app
6 Answers
+ 2
you can also try selenium
+ 1
You need another library - Pyppeteer or Playwright.
+ 1
Hii friends, can you help me making a program. How to i start make a program. Do you know please reply me and tell solution
+ 1
Hi friends, I should have written more precisely. I'm not guessing, I've been using the Playwright library with success. Yes, it's heavy because it contains a real browser engine. There is no other way. Once again, it is available in Python. You can find the official website with examples.
+ 1
I've been waiting for this. No, please don't start a new project with Selenium. It's a tired dinosaur, it's time for him to rest ;)