No credit card required
Instagram Hashtag Scraper
No credit card required
Scrape Instagram hashtags data. Just add one or more hashtags and extract posts, images, URLs, comments, likes, users, locations, timestamps, and more. Export scraped datasets, run the scraper via API, schedule and monitor runs or integrate with other tools.
The actor seems to only scrape static posts and carousel posts and completely skips reel posts.
Hi!
There is videos in your run results, i.e. https://www.instagram.com/p/Cz6LSH8Olbx/
Also there is cases like https://www.instagram.com/p/Cz0fuSAL0dq/?img_index=5 when video is part of carousel but actor still recognizing it as video and output value for type
is Video
URLs unified as /p/
because for Instagram itself there is no difference between https://www.instagram.com/reel/Cz6LSH8Olbx/ or https://www.instagram.com/p/Cz6LSH8Olbx/ - output is the same.
If we miss any of cases when output should be handled somehow different please let us know.
There might be some reels but pages like https://www.instagram.com/ktrtrs has been posting a lot reels with some of the hashtags given as input, but the actor has given only their static posts and carousel posts in the output. The account that I have shared has over 100 posts in the past month and most of them carry the given hashtags. Similarly from a lot of accounts.
Hey, scraping Instagram by hashtags may come with limitations regarding how many posts/videos will be retrieved. You must always keep in mind that our scrapers only work with publicly available data, meaning what you see on Instagram when you're logged in may differ from what is being scraped as the scraper accessed Instagram unlogged. We're still going to investigate this case, however in the meantime you can check out the Instagram Reels Scraper https://apify.com/apify/instagram-reel-scraper or the Instagram Scraper https://apify.com/apify/instagram-scraper
is it possible to add date range as filter for the posts scraped?
Hi, thanks for the suggestion, we'll discuss it within the team and let you know!
Hi again,
unfortunately, this is something we are unlikely to support, because Instagram itself doesn't allow filtering of reviews by date.
To explain - the filter of "reviews newer than XYZ" is implemented using the "Most recent" sorting on Instagram: we start scraping from the newest, and then stop when we start getting reviews older than the selected date. To implement what you are requesting, the scraper would need to do the same amount of work (going through all the pages from the beginning), but simply discard the scraped data until the reviews match the filter.
Therefore the best you can do now is select the lower limit in the scraper, and filter out reviews newer than the upper limit in some postprocessing. I hope this helps.
Hi, I'm going to close the issue for now, but if you run into anything similar or anything else comes up, please, let us know.
- 1.4k monthly users
- 99.6% runs succeeded
- 0.9 days response time
- Created in Nov 2021
- Modified 2 days ago