Instagram Scraper avatar

Instagram Scraper

Try for free

Pay $2.30 for 1,000 results

View all Actors
Instagram Scraper

Instagram Scraper

apify/instagram-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Get data from Instagram using one or more Instagram URLs or search queries. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

Do you want to learn more about this Actor?

Get a demo
CV

Collecting from through API

Closed

customary_viburnum opened this issue
3 months ago

hi there, im running the task from API end point. but is not pulling the "onlyPostsNewerThat". Im using ISO format. below an example of the json (id's deleted). please confirm me if this is ok or not.

{ "data": { "id": "GsPPR0lYI5tIHXa0f", "actId": "shu8hvrXbJbY3Eb9W", "userId": "", "actorTaskId": "h8Bh01IUfvjAL2anh", "onlyPostsNewerThat": "2024-07-18T00:00:00Z", "finishedAt": null, "status": "READY", "meta": { "origin": "API", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, como Gecko) Chrome/126.0.0.0 Safari/537.36" }, "stats": { "inputBodyLen": 2030, "rebootCount": 0, "restartCount": 0, "resurrectCount": 0, "computeUnits": 0 }, "options": { "build": "latest", "timeoutSecs": 604800, "memoryMbytes": 4096, "diskMbytes": 8192 }, "createdByOrganizationMemberUserId": "EL3pqsau7NibbydbD", "buildId": "detz7JNWe2S8Yfy3s", "defaultKeyValueStoreId": "gKigiFNVfVyNVhCB3", "defaultDatasetId": "0LxgO783MVBHtAbPQ", "defaultRequestQueueId": "tSOIGOVcKljFnsNzo", "buildNumber": "0.0.256", "containerUrl": "https://n9mfcl7lnrkr.runs.apify.net", "usage": { "ACTOR_COMPUTE_UNITS": 0, "DATASET_READS": 0, "DATASET_WRITES": 0, "KEY_VALUE_STORE_READS": 0, "KEY_VALUE_STORE_WRITES": 1, "REQUEST_QUEUE_READS": 0, "REQUEST_QUEUE_WRITES": 0, "DATA_TRANSFER_INTERNAL_GBYTES": 0, "DATA_TRANSFER_EXTERNAL_GBYTES": 0, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": 0, "PROXY_SERPS": 0 }, "usageTotalUsd": 0.00005, "usageUsd": { "ACTOR_COMPUTE_UNITS": 0, "DATASET_READS": 0, "DATASET_WRITES": 0, "KEY_VALUE_STORE_READS": 0, "KEY_VALUE_STORE_WRITES": 0.00005, "KEY_VALUE_STORE_LISTS": 0, "REQUEST_QUEUE_READS": 0, "REQUEST_QUEUE_WRITES": 0, "DATA_TRANSFER_INTERNAL_GBYTES": 0, "DATA_TRANSFER_EXTERNAL_GBYTES": 0, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": 0, "PROXY_SERPS": 0 } } }

alexey avatar

Hi!

Your shared run: https://console.apify.com/view/runs/GsPPR0lYI5tIHXa0f Timestamp checkup: https://api.apify.com/v2/datasets/0LxgO783MVBHtAbPQ/items?clean=true&fields=shortCode,timestamp&format=json When time not matched its for pinned posts like https://instagram.com/p/C60mBo0ohTC (see https://www.instagram.com/criptananimal/)

If you would like to skip pinned posts please use skipPinnedPosts: true in the input.

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

CO

customary_viburnum-owner

3 months ago

Hey, thanks for your feedback. On my last run some minutes ago I add it, but still collect old posts (same yesterday)

You can see run here: https://console.apify.com/organization/LgkX84YZ5AHjX98sE/actors/runs/5sQJ4MYjRSRQ7FLP9#log

and the input sent

{   "data": {     "id": "GsPPR0lYI5tIHXa0f",     "actId": "shu8hvrXbJbY3Eb9W",     "userId": "LgkX84YZ5AHjX98sE",     "actorTaskId": "h8Bh01IUfvjAL2anh",     "onlyPostsNewerThat": "{{5.result}}",     "finishedAt": null,      "skipPinnedPosts": true,     "status": "READY",     "meta": {       "origin": "API",       "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, como Gecko) Chrome/126.0.0.0 Safari/537.36"     },     "stats": {       "inputBodyLen": 2030,       "rebootCount": 0,       "restartCount": 0,       "resurrectCount": 0,       "computeUnits": 0     },     "options": {       "build": "latest",       "timeoutSecs": 604800,       "memoryMbytes": 4096,       "diskMbytes": 8192     },     "createdByOrganizationMemberUserId": "EL3pqsau7NibbydbD",     "buildId": "detz7JNWe2S8Yfy3s",     "defaultKeyValueStoreId": "gKigiFNVfVyNVhCB3",     "defaultDatasetId": "0LxgO783MVBHtAbPQ",     "defaultRequestQueueId": "tSOIGOVcKljFnsNzo",     "buildNumber": "0.0.256",     "containerUrl": "https://n9mfcl7lnrkr.runs.apify.net",     "usage": {       "ACTOR_COMPUTE_UNITS": 0,       "DATASET_READS": 0,       "DATASET_WRITES": 0,       "KEY_VALUE_STORE_READS": 0,       "KEY_VALUE_STORE_WRITES": 1,       "REQUEST_QUEUE_READS": 0,       "REQUEST_QUEUE_WRITES": 0,       "DATA_TRANSFER_INTERNAL_GBYTES": 0,       "DATA_TRANSFER_EXTERNAL_GBYTES": 0,       "PROXY_RESIDENTIAL_TRANSFER_GBYTES": 0,       "PROXY_SERPS": 0     },     "usageTotalUsd": 0.00005,     "usageUsd": {       "ACTOR_COMPUTE_UNITS": 0,       "DATASET_READS": 0,       "DATASET_WRITES": 0,       "KEY_VALUE_STORE_READS": 0,       "KEY_VALUE_STORE_WRITES": 0.00005,       "KEY_VALUE_STORE_LISTS": 0,       "REQUEST_QUEUE_READS": 0,       "REQUEST_QUEUE_WRITES": 0,       "DATA_TRANSFER_INTERNAL_GBYTES": 0,       "DATA_TRANSFER_EXTERNAL_GBYTES": 0,       "PROXY_RESIDENTIAL_TRANSFER_GBYTES": 0,       "PROXY_SERPS": 0     }   } }

El 21/07/2024 a las 5:58, Alexey Udovydchenko escribió:

Emiliano Tichauer Managing Partner | Parvusmedia

📧 E:emiliano@parvusmedia.com 🔗 W: parvusmedia.com 🏠 Address: C/ Puerto Rico Nº4, Majadahonda (28220), Madrid, Spain

Developer
Maintained by Apify
Actor metrics
  • 5.5k monthly users
  • 387 stars
  • 99.7% runs succeeded
  • 1.8 days response time
  • Created in Apr 2019
  • Modified 3 days ago