I have a scraper made in python2 using requests and beautifulsoup. We do not want to use selenium. Now the website we are scraping has changed its some page. The page is now building the elements on the page using javascript. I want to scrape the page in which the source code is getting generated with javascript - how can this be done?
-
Indeed, check this example how to use Beautifulsoup with Selenium.RJ Adriaansen– RJ Adriaansen2021-06-04 20:19:25 +00:00Commented Jun 4, 2021 at 20:19
-
Please use Python3. pythonclock.orgOneCricketeer– OneCricketeer2021-06-04 20:20:20 +00:00Commented Jun 4, 2021 at 20:20
-
@baduker sorry i forgot to mentioned that we are not allow to use selenium.Gulshan Kumar– Gulshan Kumar2021-06-04 20:26:50 +00:00Commented Jun 4, 2021 at 20:26
-
@GulshanKumar, well, that's too bad. :,(baduker– baduker2021-06-04 20:55:42 +00:00Commented Jun 4, 2021 at 20:55
Add a comment
|