- Incremental scraping decides whether a URL should be visited again.
- Duplicate removal compares the records produced by the task with existing records.
How incremental scraping works
When you enable incremental scraping, Octoparse uses the URL from the task’s extraction step as the comparison key. On a later run, a URL that matches the stored incremental history is treated as already scraped. A new URL can be scraped as a new input. The task should contain one extraction step for incremental scraping. If a workflow has several extraction steps or changes the URL after the comparison point, confirm which URL Octoparse uses before relying on the result.When to use it
Incremental scraping is useful when:- A URL list is updated regularly with new items.
- A search or detail-page task runs on a schedule.
- You need to avoid revisiting inputs that have already been processed.
- The target site exposes a stable URL or URL parameter for each item.
Set up an incremental task
1
Choose a stable URL key
Identify the complete URL or URL parameter that uniquely represents the item you want to scrape.
2
Keep one clear extraction step
Make sure the task uses one extraction step for the inputs that should be tracked incrementally.
3
Enable incremental scraping
Open the task’s Settings, go to Run Options, and enable Incremental Extraction.
4
Test with known and new inputs
Run a small sample containing one previously processed URL and one new URL. Confirm that the new input is scraped and the previous input follows the configured incremental rule.
5
Monitor later runs
Compare the run’s input and output with the previous run. Check that URL changes, pagination, and filters do not unexpectedly change the comparison key.
History and retention limits
Incremental scraping depends on the history that Octoparse still retains. If old run batches or Cloud Data are deleted, Octoparse may no longer remember URLs recorded only in that deleted history. A later run can therefore process those URLs again. Plan retention together with your recurring workflow:- Keep the history needed to identify previously scraped URLs.
- Do not clear Cloud Data without understanding how it affects the next incremental run.
- If data retention removes older history, use a stable downstream key to detect reprocessed records.
- Treat a reprocessed URL as a possible repeat, not automatically as a task failure.
Incremental scraping and duplicate removal
Incremental scraping prevents some repeated inputs from being visited. It does not guarantee that every output record is unique. Octoparse also compares records from a task with its stored data and can identify records whose field values are identical. As a result:- A task can revisit a URL even when incremental scraping is not enabled.
- A task can scrape a URL but save fewer records after duplicate handling.
- The extracted count and saved count can differ.
- The same URL can produce a new record when its content changes.
Common cases to check
Validate an incremental workflow
Use a small test before enabling a recurring schedule:- Run the task with a known input set.
- Add one new URL or change one input URL.
- Run the task again.
- Confirm which inputs were visited and compare the output with the expected new records.
- Check duplicate count and saved data in Cloud Run Details.
Related pages
Cloud extraction
Understand unattended cloud execution and recurring data scraping.
Cloud run status
Check run status, subtasks, data volume, and completed results.
Schedule cloud runs
Run an incremental task at a recurring time or interval.
Monitor cloud runs
Compare data, duplicates, logs, and screenshots across runs.