![ASDA Grocery Scraper avatar](https://images.apifyusercontent.com/iptWdB9T_d2rhztzUEQ0iwwF6hr_Jn1f7nSGOtxcgdI/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81d1NPdEVsOE5vQXVVbHF2dC9SbnRoTERLcnZvUGZhV0I4bi1pY29uXzE5MngxOTIucG5n.webp)
ASDA Grocery Scraper
Try for free
7 days trial then $30.00/month - No credit card required now
View all Actors![ASDA Grocery Scraper](https://images.apifyusercontent.com/iptWdB9T_d2rhztzUEQ0iwwF6hr_Jn1f7nSGOtxcgdI/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81d1NPdEVsOE5vQXVVbHF2dC9SbnRoTERLcnZvUGZhV0I4bi1pY29uXzE5MngxOTIucG5n.webp)
![Jupri avatar](https://apify-image-uploads-prod.s3.amazonaws.com/sTEmmw6b7t7WJuMwe/3kqYH6dN4QLApBeTJ-cat.jpg)
![ASDA Grocery Scraper](https://images.apifyusercontent.com/iptWdB9T_d2rhztzUEQ0iwwF6hr_Jn1f7nSGOtxcgdI/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81d1NPdEVsOE5vQXVVbHF2dC9SbnRoTERLcnZvUGZhV0I4bi1pY29uXzE5MngxOTIucG5n.webp)
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
Get Url with query parameters
Closed
coordinated_thundertube opened this issue
a year ago
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
coordinated_thundertube
a year ago
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);
![Jupri avatar](https://apify-image-uploads-prod.s3.amazonaws.com/sTEmmw6b7t7WJuMwe/3kqYH6dN4QLApBeTJ-cat.jpg)
a year ago
Hi Alex. parameter pagination
doesn't exist. You should use limit
Developer
Maintained by Community
Actor metrics
- 6 monthly users
- 1 star
- 100.0% runs succeeded
- Created in Sep 2022
- Modified 7 months ago
Categories