Instagram Hashtag Scraper avatar
Instagram Hashtag Scraper
Try for free

No credit card required

View all Actors
Instagram Hashtag Scraper

Instagram Hashtag Scraper

apify/instagram-hashtag-scraper
Try for free

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.

User avatar

The actor does not scrape reels

Closed

kofluence opened this issue
6 months ago

The actor seems to only scrape static posts and carousel posts and completely skips reel posts.

User avatar

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.

User avatar

kofluence

5 months ago

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.

User avatar

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

User avatar

charming_mountain

5 months ago

is it possible to add date range as filter for the posts scraped?

User avatar

Hi, thanks for the suggestion, we'll discuss it within the team and let you know!

User avatar

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.

User avatar

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.

Developer
Maintained by Apify
Actor metrics
  • 1.4k monthly users
  • 99.6% runs succeeded
  • 0.9 days response time
  • Created in Nov 2021
  • Modified 2 days ago