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
BL

Unable to get the page name of the post.

Closed

blacx opened this issue
a month ago

So when I crawled the keyword gambling, I needed to know who posted it, and the page name of the account. But I don't see any field for that, can you add that in the feature, it would be great feature.

alexey avatar

Hi!

Sounds like misunderstanding: as far as I can see in your runs single hashtag searched by keyword, i.e. https://console.apify.com/view/runs/hpREq8ruaCOTDEYB5 is search for "anwar" first hashtag result which is https://www.instagram.com/explore/tags/anwar/ and you getting details for this hashtag in dataset https://api.apify.com/v2/datasets/RRccPJEYikmcv2N58/items?clean=true&format=json

I guess what you need is posts per hashtag, see sample run https://console.apify.com/view/runs/S1VlnAnOvkACMjN9w - in input search term removed, instead hashtag URL added, the rest is the same:

1{
2  "addParentData": true,
3  "onlyPostsNewerThan": "2024-09-19",
4  "resultsLimit": 1,
5  "search": " anwar",
6  "searchLimit": 1,
7  "resultsType": "posts",
8  "searchType": "hashtag"
9}

Please confirm if its desired output or you want something else

BL

blacx

a month ago

{ "id": "2630403789888489167", "type": "Video", "shortCode": "CSBEk94JQbP", "caption": "Irreplaceable And Incomparable Actor♥️💯\n\nഏട്ടൻ 😎💥\n\n#nammalelalettan\n.\n.\n#nammalelalettanmfc #nlmfc #mohanlal #mallusongs #malayalamstatus #whatsappstatus #mallureposts #malayalamtypography #entekeralam #beingmalayali #malayalamquote #india #kerala #bigbossmalayalam #mohanlalfans_kerala #completeactor #irreplaceable #prithvirajsukumaran #narasimham #anwar #praja #puthiyamugam", "hashtags": [ "nammalelalettan", "nammalelalettanmfc", "nlmfc", "mohanlal", "mallusongs", "malayalamstatus", "whatsappstatus", "mallureposts", "malayalamtypography", "entekeralam", "beingmalayali", "malayalamquote", "india", "kerala", "bigbossmalayalam", "mohanlalfans_kerala", "completeactor", "irreplaceable", "prithvirajsukumaran", "narasimham", "anwar", "praja", "puthiyamugam" ], "mentions": [], "url": "https://www.instagram.com/p/CSBEk94JQbP/", "commentsCount": 13, "firstComment": "", "latestComments": [], "dimensionsHeight": 360, "dimensionsWidth": 640, "displayUrl": "https://instagram.fkul21-2.fna.fbcdn.net/v/t51.29350-15/228367506_341061494232194_7584197580980521971_n.jpg?stp=dst-jpg_e35&_nc_ht=instagram.fkul21-2.fna.fbcdn.net&_nc_cat=102&_nc_ohc=-SKkbs8aMq8Q7kNvgECIFny&_nc_gid=60059bcd6b4e4ad1bf52ec1742d89c1e&edm=AOUPxh0BAAAA&ccb=7-5&oh=00_AYCHisGorR_jkxGlr2kamzKy-lqdyDfSKOzgpws5Ze5uAQ&oe=66F18537&_nc_sid=9dc660", "images": [], "alt": null, "likesCount": 706, "videoViewCount": 3668, "timestamp": "2021-08-01T03:30:04.000Z", "childPosts": [], "ownerId": "39637174544", "productType": "feed" }

For instance, this is the result for topPost, but I am looking for the username or the page name, who posted this.

So this was posted by mohanlal_fans_kakkattil, which is not displayed.

alexey avatar

Hi!

topPosts part of profile details in internal Instagram data and actor getting limited subset of post details for it because its limited in Instagram itself.

If you want full post details you need to scrape again using direct post URLs to get details, i.e. https://console.apify.com/view/runs/LMrfbD233knXbEKT1

alexey avatar

Hi again, I'm going to close this issue for now, but if there's still anything unclear, please, let us know. We appreciate customer feedback!

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