Skip to content
Advertisement

Tag: web-scraping

Scrape data inside a JavaScript function by using python selenium

Please let me know if there is any option available to scrape data inside a JavaScript function below using Selenium page https://www.bayut.com/index/sale-prices-apartments-abu-dhabi.html input code … Output Date Value 2010-01-31 1443 2010-02-28 1407 Tried but not working My output file should have date and value columns, please let me know if there is option available Answer use driver.execute_script:

How to Inject Axios in Puppeteer

I want to inject axios in puppeteer in order to open a browser session, but sending requests and receiving responses through axios: So the question is, is it possible? Here’s my attempt, but it is not working since axios doesn’t intercepts the website responses I’m moving my first steps in axios, so I beg you to be patient; Thanks for

Unable to import data from webpage to google sheets

I know how to use the importhtml function of google spreadsheets but there is one webpage which refuses to load the table. Link given below. https://www.dream11.com/cricket/fantasy-scorecard/1027/14047 I even tried the below code in google developer console to check the table index but this also did not solve var i = 1; [].forEach.call(document.getElementsByTagName(“table”), function(x) { console.log(i++, x); }); Please help Answer

Scrapy + splash: can’t select element

I’m learning to use scrapy with splash. As an exercise, I’m trying to visit https://www.ubereats.com/stores/, click on the address text box, enter a location and then press the Enter button to move to next page containing the restaurants available for that location. I have the following lua code: When I click on “Render!” in the splash API, I get the

Advertisement