Web Scraper avatar
Web Scraper

Pricing

Pay per usage

Go to Store
Web Scraper

Web Scraper

Developed by

Apify

Apify

Maintained by Apify

Crawls arbitrary websites using a web browser and extracts structured data from web pages using a provided JavaScript function. The Actor supports both recursive crawling and lists of URLs, and automatically manages concurrency for maximum performance.

4.5 (23)

Pricing

Pay per usage

933

Total users

91K

Monthly users

5.1K

Runs succeeded

>99%

Issues response

7.8 days

Last modified

2 months ago

CS

Change OS?

Open

congruent_stylophone opened this issue
2 days ago

I was able to change the browser and the screen size, but Matomo and Google Analytics still report the request as a "GNU/Linux" request (see screenshot).

Is it possible to change the OS to "Windows 10"? If so, what would the input be? Thank you!

nick_slam avatar

There are a couple of options:

  1. For Start URLs you can add headers, so you can add User-Agent header there. Click on the "Advanced" button by the Start URL and enter headers as an object. For example: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36'} (adjust with your preferred settings)
  2. It can also be done in pageFunction when enqueueing.

Once you try it, let us know if you have any follow-up issues.