Instagram Profile Scraper avatar
Instagram Profile Scraper

Pricing

$2.30 / 1,000 results

Go to Store
Instagram Profile Scraper

Instagram Profile Scraper

apify/instagram-profile-scraper

Developed by

Apify

Maintained by Apify

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.

4.5 (27)

Pricing

$2.30 / 1,000 results

383

Monthly users

3.5k

Runs succeeded

>99%

Response time

2.5 days

Last modified

6 hours ago

VI

It's taking too much time for results to be printed.

Closed
vishal.joshi opened this issue
4 months ago

I tried with getting few fields but it is not giving me data when i run that code. CODE:

Iterate over the items in the dataset and extract only the desired fields

for item in client.dataset(run["defaultDatasetId"]).iterate_items(): filtered_item = { "inputUrl": item.get("url"), # Profile URL "id": item.get("id"), # Profile ID "username": item.get("username"), # Username "url": item.get("url"), # Profile URL again "fullName": item.get("full_name"), # Full name "biography": item.get("biography"), # Biography text "externalUrl": item.get("external_url"), # External URL "followersCount": item.get("followers_count"), # Followers count "followsCount": item.get("follows_count"), # Follows count "postsCount": item.get("posts_count"), # Posts count "profilePicUrl": item.get("profile_pic_url"), # Profile picture URL "profilePicUrlHD": item.get("profile_pic_url_hd"), # High-definition profile picture URL "isBusinessAccount": item.get("is_business_account"), # Business account flag "verified": item.get("verified"), # Verified account flag }

1# Print the filtered item to the terminal in JSON format
2print(json.dumps(filtered_item, indent=4))

OUTPUT: "externalUrl": null, "followersCount": null, "followsCount": null,"postsCount": null,"profilePicUrl": null, "profilePicUrlHD": null,"isBusinessAccount": null,"verified": false

alexey avatar

Hi!

Please ask at Discord, actor not related to Python SDK and using dataset from Python SDK is the same for any dataset(s), again, not related to actor logic and functionality.

Hope for understanding.

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

Pricing

Pricing model

Pay per result 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Price per 1,000 items

$2.30