ASDA Grocery Scraper
Try for free
7 days trial then $30.00/month - No credit card required now
View all Actors
ASDA Grocery Scraper
jupri/asda-scraper
Try for free
7 days trial then $30.00/month - No credit card required now
Scrape ASDA.com Groceries
I am able to create a task for a specific query for example: query => 'pasta', 'pagination' => 20 using the create new task function. I am creating an URL that I am importing into my PHP code.
Is there a way to specify the query parameter and the pagination from the request?
Ex: tps://api.apify.com/v2/datasets/dzMViUqPImDpkxvCy/items?token=***&query=pasta&pagination=5
Sorted
1$payload = json_encode( array( "query"=> 'pasta', 'limit' => 5, 'facets' => false ) ); 2 curl_setopt($ch, CURLOPT_URL,"https://api.apify.com/v2/acts/jupri~asda-scraper/run-sync-get-dataset-items?token=[your_token]"); 3 curl_setopt($ch, CURLOPT_POST, 1); 4 curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); 5 curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); 6 curl_setopt( $ch, CURLOPT_POSTFIELDS, $payload ); 7 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 8 9 $server_output = curl_exec($ch); 10 $jsonArrayResponse = json_decode($server_output); 11 12 var_dump($jsonArrayResponse);
Hi Alex. parameter pagination
doesn't exist. You should use limit
Developer
Maintained by Community
Actor metrics
- 4 monthly users
- 1 star
- 100.0% runs succeeded
- Created in Sep 2022
- Modified 9 months ago
Categories