Google Shopping avatar

Google Shopping

Try for free

3 days trial then $30.00/month - No credit card required now

Go to Store
Google Shopping

Google Shopping

dan.scraper/google-shopping
Try for free

3 days trial then $30.00/month - No credit card required now

High-quality Google Shopping Scraper. Rich data results.

BD

I can only download the first query result

Closed

Abdes opened this issue
2 years ago

Hello, only first query result is actually downloaded, and all remaining ones are not. This is the run ID https://console.apify.com/actors/9CNJ84uoMLnX0Hhm2/runs/PtBpISngRwEKNn3yu#output

dan.scraper avatar

Hello Abdessamad, As I see in the JSON results. There are 34 search queries. Most of them are successful and there are some searches are empty.

I enabled saveHTML option and find out that Google blocks some of our searches. This is related to the Apify proxy and I will notify Apify developer to fix this.

For now, I think it's better to retry these failed keywords again?

Thanks

dan.scraper avatar

Here is my search with HTML option: https://api.apify.com/v2/datasets/njakYUtJmDX6EvPyp/items?clean=true&format=json.

I sent the support requests to Apify and Apify will help us to solve proxy issues.

BD

Abdes

2 years ago

Hello,

Actually the problem is not the failed ones but the fact that you cannot download any of the results except the first one. Have you tried?

dan.scraper avatar

Dear Abdessamad,

I downloaded your searches in different formats: JSON, CSV(https://api.apify.com/v2/datasets/gP75tbmswgwqFZ2gG/items?clean=true&format=json), ... and it contains all 34 keyword searches and results.

Could you share how you download it? or a video so I can support

Thanks

BD

Abdes

2 years ago

Sure –

  1. I click on export 34 results below [cid:image001.png@01D95E37.CAABCFD0]

  2. I select all fields in excel or csv (it gives same result) [cid:image002.png@01D95E37.CAABCFD0]

Let me know what you think,

dan.scraper avatar

Oh. I see. Right now the response is JSON. To get the CSV, I will support csvFriendly option. Please wait.

Right now I recommend using JSON data and other tools to convert to CSV.

BD

Abdes

2 years ago

Sure – it will take time before you figure out? Just to know whether I look for alternatives.

dan.scraper avatar

No worry. I will finish in this weekend.

BD

Abdes

2 years ago

Hello – hope you are well,

Any update on the issue raised?

dan.scraper avatar

Hello Abdessamad, Thanks for waiting. The csvFriendlyOutput is supported. Enable this flag and you will get list of all shopping results.

Example: https://api.apify.com/v2/datasets/qUFHbZuDsxQ4dU3qi/items?attachment=true&clean=true&format=csv Table: https://api.apify.com/v2/datasets/qUFHbZuDsxQ4dU3qi/items?clean=true&format=html

Please let me know if you have any request.

BD

Abdes

2 years ago

Thank you – where should this flag be enabled?

[cid:image001.png@01D960B3.1A17F350]

dan.scraper avatar

The csvFriendlyOutput is one of the input parameters. You need to enable this when making the request.

dan.scraper avatar

Let me support this. Will be available this weekend.

dan.scraper avatar

I udpated the Google Shopping actor. You can sort or filter results by filterValue param:

The default is relevance.

You also can filter by price, band, ...

GF

glass_fox

2 years ago

Hi, Please the dataset does not contain a search query, can you please add it? Thank you!

dan.scraper avatar

The result contains the search query: https://api.apify.com/v2/datasets/liOfrmo83iPxzqncy/items?clean=true&format=json

Do you need to search query with csvFriendlyOutput enabled?

GF

glass_fox

2 years ago

Yes, and also for table view (excel, HTML table...)

dan.scraper avatar

I included the query in each items: https://api.apify.com/v2/datasets/39df4ntuGrBxj7FQM/items?clean=true&format=json. Let me know if you need any feature.

dan.scraper avatar

The HTML table works too: https://api.apify.com/v2/datasets/39df4ntuGrBxj7FQM/items?clean=true&format=html

Please enable csvFriendlyOutput: true in your search. Thanks

dan.scraper avatar

The new run will include the query: https://api.apify.com/v2/datasets/1h5dudRRDeVnaMIIR/items?clean=true&format=html. Let me know if you request any feature.

dan.scraper avatar

All requests will be made via proxy. Apify will provide proxy. Mean Google will not block your IPs. The proxy is all around the world. All scrape content product use proxy to prevent blocking from Google.

GF

glass_fox

2 years ago

Hi, I scrape 100 queries in one run. But the scraper skips some queries. "WARNING: Logging is too fast, some lines were skipped." How can I filter out the skipped queries after each run to make it easier to get complete data? Thanks!

GF

glass_fox

2 years ago

Please can you answer?

dan.scraper avatar

Hi Mirka,

"WARNING: Logging is too fast, some lines were skipped." didn't affect to the results. The scraper didn't skip any queries. All queries and results will be in result file, can export to csv, html table, json....

Please let me know if you have any issue. I'm happy to answer

GF

glass_fox

2 years ago

Hi, the problem still persists. When I have 100 queries (1 page) in 1 scraping run, I expect an export with 6000 rows. But the export never includes that. Currently last run 5400 rows. I need a list of queries that were not scraped after each run. Thanks, M.

dan.scraper avatar

Hello Mirka,

Are you using csv_friendly enabled?

Thanks,

GF

glass_fox

2 years ago

Yes

dan.scraper avatar

Okay. Let me returns the list of empty results keywords

GF

glass_fox

2 years ago

Thanks! How long do you think it will take?

dan.scraper avatar

I'm pretty busy this week. Maybe Thursday or Friday. Is this okay?

GF

glass_fox

2 years ago

Yes, thanks!

GF

glass_fox

2 years ago

It will be done soon?

dan.scraper avatar

Hi Mirka,

Yes, I am working on it. Will notify you soon.

Thanks for checking.

GF

glass_fox

2 years ago

Thanks!

dan.scraper avatar

Thanks for your patience. I added the error field. If the query is empty, it has error: No results found

https://api.apify.com/v2/datasets/Ve7BgUqdMhdBfj6j0/items?clean=true&format=html

Developer
Maintained by Community

Actor Metrics

  • 15 monthly users

  • 2 stars

  • >99% runs succeeded

  • Created in Mar 2023

  • Modified 2 years ago

Categories