Wikipedia Revision History Scraper avatar
Wikipedia Revision History Scraper

Under maintenance

Pricing

$20.00/month + usage

Go to Store
Wikipedia Revision History Scraper

Wikipedia Revision History Scraper

Under maintenance

Developed by

ViewSource

Maintained by Community

Scrape the revision history of any Wikipedia page, including metadata and diffs for each revision.

0.0 (0)

Pricing

$20.00/month + usage

0

Total users

1

Monthly users

1

Last modified

3 days ago

Scrapes the revision history of any Wikipedia page, including diffs and metadata for each revision.

Input

FieldTypeRequiredDescription
wikipediaPagestringYesWikipedia page URL (e.g. "https://en.wikipedia.org/wiki/LangChain")
limitintegerNoMaximum umber of revisions to fetch (default: 50)
includeDiffbooleanNoWhether to include diff between revisions in output (default: true)

Example input

1{
2  "wikipediaPage": "https://en.wikipedia.org/wiki/LangChain",
3  "limit": 10,
4  "includeDiff": true
5}

Output

The actor outputs a JSON array where each object represents a revision. Each object contains:

  • revid: revision ID
  • parentid: parent revision ID
  • minor: whether the revision was a minor edit
  • user: username of the user who made the revision
  • timestamp: timestamp of the revision
  • comment: edit summary
  • tags: array of tags associated with the revision (e.g. ["visualeditor"])
  • size: size of the page after the revision, in bytes
  • size_diff: difference between the size of the page after and before the revision, in bytes
  • diff_raw: raw HTML diff between the revision and its parent (if includeDiff is true)
  • diff_parsed: array of line changes between the revision and its parent (if includeDiff is true)

Example output

1[
2  {
3    "revid": 123456789,
4    "parentid": 123456788,
5    "minor": false,
6    "user": "ExampleUser",
7    "timestamp": "2024-01-01T12:34:56Z",
8    "comment": "Fixed typo",
9    "tags": ["visualeditor"],
10    "size": 12345,
11    "size_diff": 10,
12    "diff_raw": "<tr>...</tr>",
13    "diff_parsed": [
14      { "before": "old line", "after": "new line" }
15    ]
16  }
17]

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

2 hours

Price

$20.00