Dynamic Web Scraper

Dynamic Web Scraper

Dynamic Web Scraper is an Apify Actor that gathers information online by simulating user browsing behavior on the web. It reduces the time and amount of scraped web pages by using a model (ChatGPT) to make decisions regarding browser navigation and results evaluation.

AUTOMATIONAIOPEN_SOURCEApify

What does Dynamic Web Scraper do?

Dynamic Web Scraper is an open-source Apify Actor that gathers information online by simulating user browsing behavior on the web. It reduces the time and amount of scraped web pages by using a model (ChatGPT) to make decisions regarding browser navigation and results evaluation.

Dynamic Web Scraper takes as input a prompt and a list of initial URLs or Google queries. The model then decides which URLs should be visited in order to provide the best answer to the prompt.

After you start this Actor, you will see additional Runs of RAG Web Browser Actor as it is used to scrape the required informations.

Example

An example of the JSON INPUT for the Actor:

1{
2    "maxDepth": 5,
3    "prompt": "Why do people enjoy this beverage it so much? Answer in 10 words.",
4    "startSources": [
5        "coca-cola",
6        "pepsi",
7        "7up",
8        "kofola",
9        "https://www.coca-cola.com/us/en/brands/sprite",
10        "https://en.wikipedia.org/wiki/Nestea"
11    ]
12}

An example of the JSON results produced by the Actor:

1[
2    {
3        "url": "https://www.pepsi.com/en-us/",
4        "inputSource": "pepsi",
5        "depth": 5,
6        "response": "Refreshing taste, nostalgia, social moments, and caffeine boost."
7    },
8    {
9        "url": "https://www.coca-colacompany.com/",
10        "inputSource": "coca-cola",
11        "depth": 5,
12        "response": "Coca-Cola is refreshing, sweet, and brings joyful moments universally."
13    },
14    {
15        "url": "https://en.wikipedia.org/wiki/Kofola",
16        "inputSource": "kofola",
17        "depth": 5,
18        "response": "Unique flavor, nostalgic connection, cultural significance, refreshing experience."
19    },
20    {
21        "url": "https://www.7up.com/",
22        "inputSource": "7up",
23        "depth": 5,
24        "response": "Crisp, refreshing taste brings joy to many occasions."
25    },
26    {
27        "url": "https://www.coca-cola.com/us/en/brands/sprite",
28        "inputSource": "https://www.coca-cola.com/us/en/brands/sprite",
29        "depth": 5,
30        "response": "Refreshing, crisp taste that satisfies thirst anytime, anywhere."
31    },
32    {
33        "url": "https://en.wikipedia.org/wiki/Nestea",
34        "inputSource": "https://en.wikipedia.org/wiki/Nestea",
35        "depth": 5,
36        "response": "Refreshing, flavorful, convenient, and widely available iced tea option."
37    }
38]

Development

If you are interested in the development check out the GitHub Repository. Feel free to inspire yourself or contribute with your own ideas!

This Actor uses standard official openai package to evaluate the prompts. You need to use your own token to run this Actor for local development.

Why scrape websites dynamically?

Dynamic web scraping allows for more efficient data extraction by automating the browsing process. It can help gather specific information from websites that may not be easily accessible through traditional scraping methods.

How to use Dynamic Web Scraper

To use Dynamic Web Scraper, follow these steps:

  1. Click on Try for free.
  2. Enter the prompt and a list of initial URLs or Google queries.
  3. Click on Run.
  4. Once the actor has finished, preview or download your data from the Dataset tab.

How much will it cost to use Dynamic Web Scraper?

Apify provides $5 free usage credits every month on the Apify Free plan. For more extensive data extraction needs, consider upgrading to a paid Apify subscription.

Tips for using Dynamic Web Scraper

  • Ensure that your prompt is clear and specific to get accurate results.
  • Monitor the actor's progress to ensure it is navigating the web effectively.

It is important to be aware of legal considerations when scraping websites, especially regarding data privacy regulations such as GDPR. Ensure that you have a legitimate reason for scraping and consult legal advice if needed. For more information on the legality of web scraping, read our blog post: Is Web Scraping Legal?

Frequently Asked Questions

Is it legal to scrape job listings or public data?

Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.

Do I need to code to use this scraper?

No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.

What data does it extract?

It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.

Can I scrape multiple pages or filter by location?

Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.

How do I get started?

You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!