# VK historical posts scraping

**Use case:** 

Collect up to 5 public posts from the durov VK wall that were posted in 2018.

## Input

```json
{
  "targets": [
    "durov"
  ],
  "maxItems": 5,
  "publishedAfter": "2018-01-01",
  "publishedBefore": "2018-12-31"
}
```

## Output

```json
{
  "postId": {
    "label": "Post ID",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "text": {
    "label": "Post text",
    "format": "string"
  },
  "postedAt": {
    "label": "Published at",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Collected at",
    "format": "string"
  },
  "targetType": {
    "label": "Target type",
    "format": "string"
  },
  "author.name": {
    "label": "Author",
    "format": "text"
  },
  "author.type": {
    "label": "Author type",
    "format": "text"
  },
  "author.profileUrl": {
    "label": "Author profile",
    "format": "link"
  },
  "author.avatarUrl": {
    "label": "Avatar",
    "format": "image"
  },
  "engagement.likes": {
    "label": "Likes",
    "format": "integer"
  },
  "engagement.comments": {
    "label": "Comments",
    "format": "integer"
  },
  "engagement.reposts": {
    "label": "Reposts",
    "format": "integer"
  },
  "engagement.views": {
    "label": "Views",
    "format": "integer"
  },
  "media": {
    "label": "Media",
    "format": "array"
  },
  "repost": {
    "label": "Repost",
    "format": "object"
  },
  "target": {
    "label": "Matched target",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [VK Posts Scraper](https://apify.com/maximedupre/vk-posts-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/vk-posts-scraper) to learn more, explore other use cases, and run it yourself.