# Dollargeneral Reviews Parser Spider (`getdataforme/dollargeneral-reviews-parser-spider`) Actor

This Apify Actor extracts and parses customer reviews from Dollar General product pages, delivering ratings, comments, and user insights for market research and competitive intelligence....

- **URL**: https://apify.com/getdataforme/dollargeneral-reviews-parser-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce, Jobs, Real estate
- **Features:** Full permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Dollargeneral Reviews Parser Spider

### Introduction

The Dollargeneral Reviews Parser Spider is a powerful Apify Actor designed to extract and parse customer reviews from Dollar General product pages. It efficiently scrapes detailed review data, including ratings, comments, and user information, enabling businesses and researchers to gain valuable insights into consumer sentiment. This tool is ideal for market analysis, competitive intelligence, and data-driven decision-making.

### Features

- **Comprehensive Review Extraction**: Captures all key review details such as ratings, comments, helpful votes, and reviewer profiles from Dollar General product pages.
- **High Reliability**: Utilizes robust scraping techniques with built-in error handling to ensure accurate and complete data retrieval.
- **Proxy Support**: Integrates with Apify's proxy services, including residential proxies, to bypass restrictions and maintain anonymity.
- **Scalable Performance**: Handles multiple URLs efficiently, making it suitable for batch processing of product reviews.
- **Structured Output**: Delivers data in a clean, JSON format that's easy to integrate into databases or analytics tools.
- **Customizable Inputs**: Allows flexible URL configuration to target specific products or categories.
- **Fast Execution**: Optimized for speed, minimizing wait times while maximizing data yield.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| Urls | array | Yes | An array of URLs pointing to Dollar General product pages from which reviews will be scraped. Each URL must be a valid HTTP or HTTPS link. | \["https://www.dollargeneral.com/p/cheez-it-cheese-crackers-hot-and-spicy-baked-snack-crackers-oz/24100440559"] |
| proxyConfiguration | object | No | Configuration for proxy servers to hide the scraper's origin. Defaults to using Apify's residential proxies. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |

### Example Usage

To run the Actor, provide the input parameters in JSON format. Here's an example:

```json
{
  "Urls": [
    "https://www.dollargeneral.com/p/cheez-it-cheese-crackers-hot-and-spicy-baked-snack-crackers-oz/24100440559"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

The Actor will output an array of review objects. Example output:

```json
[
  {
    "review_id": 522262907,
    "headline": "10/10",
    "comments": "so good so incredible the flavors melt on my tongue i could eat 20 boxes of them",
    "rating": 5,
    "helpful_votes": 0,
    "not_helpful_votes": 0,
    "nickname": "june38",
    "location": "undisclosed",
    "created_date": 1716883568000,
    "is_verified_buyer": true,
    "is_verified_reviewer": true,
    "bottom_line": null,
    "product_page_id": "00802701"
  }
]
```

### Use Cases

- **Market Research**: Analyze customer feedback to identify trends in product satisfaction and preferences.
- **Competitive Intelligence**: Compare reviews across similar products to benchmark performance.
- **Price Monitoring**: Track sentiment alongside pricing data for dynamic pricing strategies.
- **Content Aggregation**: Collect reviews for content creation, such as blog posts or social media insights.
- **Academic Research**: Gather data for studies on consumer behavior and retail analytics.
- **Business Automation**: Automate review monitoring for quality control and customer service improvements.

### Installation and Usage

1. Search for "Dollargeneral Reviews Parser Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The output is an array of JSON objects, each representing a single review. Key fields include:

- `review_id`: Unique identifier for the review.
- `headline`: Short title of the review.
- `comments`: Full text of the review.
- `rating`: Numerical rating (e.g., 1-5).
- `helpful_votes` and `not_helpful_votes`: User feedback counts.
- `nickname` and `location`: Reviewer details.
- `created_date`: Timestamp in Unix format.
- `is_verified_buyer` and `is_verified_reviewer`: Boolean flags for verification.
- `bottom_line`: Optional summary.
- `product_page_id`: Associated product identifier.

This structured format ensures easy parsing and integration.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "Urls": [
    "https://www.dollargeneral.com/p/cheez-it-cheese-crackers-hot-and-spicy-baked-snack-crackers-oz/24100440559"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/dollargeneral-reviews-parser-spider").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/dollargeneral-reviews-parser-spider").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/dollargeneral-reviews-parser-spider --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/dollargeneral-reviews-parser-spider"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/d2u7no1EldQ3uic5Y/builds/dwLOjb8nufckceywn/openapi.json
