Instagram Profile Scraper avatar
Instagram Profile Scraper
Try for free

Pay $2.30 for 1,000 results

View all Actors
Instagram Profile Scraper

Instagram Profile Scraper

apify/instagram-profile-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape all Instagram profile info. Just add one or more Instagram usernames and extract number of followers&follows, URLs, bio, posts, likes, counts, related profiles, captions, highlight reels. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

User avatar

Follower Count/Other Fields Showing Up as Undefined

Closed

sage_ointment opened this issue
21 days ago

Hello,

This is related to the previous issue regarding blank/null profile info. While the username does show up in the run, some of the fields will show up as "undefined" if viewed online or will be blanks when downloaded as Excel.

An example of this would be the username profile "costco". There are a few more which you can see by filtering for undefined follower count. (the other fields are typically undefined as well). There were a few others of these in the Actor run URL. One or two profiles would occasionally return something in the other fields if I ran it again while some were consistently blank/undefined (username does show up, so instead should filter on the other fields or if exporting in Excel filter for blank follower counts).

Let me know if I should provide a screenshot.

Thanks

User avatar

Hi! Thanks a lot for additional feedback.

Bug confirmed: some profiles like https://www.instagram.com/BrownForman/ restricted ("You must be 20 years old or over to see this profile") and actor saving them as

1{
2  "inputUrl": "https://www.instagram.com/BrownForman",
3  "error": "Restricted profile",
4  "username": "BrownForman",
5  "url": "https://www.instagram.com/BrownForman"
6}

But https://www.instagram.com/costco/ is visible in incognito browser, however in dataset saved as

1{
2  "inputUrl": "https://www.instagram.com/costco",
3  "error": "Restricted profile",
4  "username": "costco",
5  "url": "https://www.instagram.com/costco"
6}

For right now resolve by re-scraping, will inform about bugfix when its done

User avatar

sage_ointment

19 days ago

Tried re-scraping but seems like the profiles which had undefined results still show up as undefined. Will wait for your bugfix. Thanks Alexey!

User avatar

Hi!

Please run again, issue is fixed by upgrade to getting details for restricted pages, so if page is restricted it will be saved with additional values:

1{
2  "inputUrl": "https://www.instagram.com/BrownForman",
3...
4  "isRestrictedProfile": true,
5  "restrictionReason": "You must be 18 years old or over to see this profile"
6}

Sample run https://console.apify.com/view/runs/R8eyKAn3qZ2tEfPcj

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

User avatar

p.s. Some profiles restricted only for certain countries, i.e. https://console.apify.com/view/runs/pWpoHDy9ehPTnPZF8 - "costco" limited by age in USA, so if you want scrape full details instead of partial you need to find country where restriction not applied, for "costco" its at least Thailand https://console.apify.com/view/runs/PnTtYLgwa3lKexTr1 but might work for other non-USA countries as well

Developer
Maintained by Apify
Actor metrics
  • 2.3k monthly users
  • 50 stars
  • 99.6% runs succeeded
  • 2.6 days response time
  • Created in Nov 2021
  • Modified 5 days ago