Skip to main content

Social::Instagram::Tag - Parser for posts by tags on Instagram

Social::Instagram::Tag

Overview of Social::Instagram::Tag parser

Social::Instagram::TagSocial::Instagram::Tag - parses posts by tags from Instagram. Automated collection of all data: post type, text, publication date, number of comments, number of likes and much more. Together with the comment text, a link to the author's profile, the number of likes under it and the time it was created are also collected.

You can use automatic query replication, substitution of subqueries from files, enumeration of alphanumeric combinations and lists to get the maximum possible number of results. Using results filtering, you can immediately clean up the result by removing all unnecessary garbage (using minus-words).

The A-Parser functionality allows you to save the parsing settings of the Social::Instagram::Tag parser for further use (presets), set a parsing schedule and much more.

Saving results is possible in the form and structure that you need, thanks to the built-in powerful Template Toolkit template engine, which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL and CSV.

Use cases for the Social::Instagram::Tag parser

Collecting all posts by tags

Case 1

  1. Override the Count of pages with posts option, select 100 from the list.
  2. Override the Result format option, set $posts.format('$link\n') as the value.
  3. Specify tags as queries.
Download example

How to import an example into A-Parser

eJx1U01v2zAM/S9CgK5AEKSHXXxLAwTokNVdk56SHAibNrTIoibJWQvD/72U7NhJ
P24i+fj4KJKN8OCO7smiQ+9EsmuEiW+RiBwLqJUXU2HAOrQhvBMbyiSoJHnQzkNp
oUqSLZQMGuCN8G8GmYBOaK3MkYMyZ9tAiRnVOlCeQNWMuZvP2+8TCrIVeNbTyehz
xMSQ827WRX/cTJTUx/1e39yK9nCYig7vVjEc4XezvqkhuIETbimUkApH94qtR6hi
kRw8hui5zu3MvwYGyHPpJWlQXYXwLWPVFy3/RZGaGMtPK9GtLFXs8hgJgvPtrG4n
JtEWTFHH3D9djkgKUA6nwrHUFbCQ/GNEerTgyaYm6GF/I0gvlFrjCdUIi/z3tVQ5
z3BRcNJDn/g1JP3E0Q7tXZbiYf23rGFgidZ9+nvMymlN5fkzlKykZ9st4w4kYs7O
I6IZ/uwxwCqyOJTpmfvqvKYGddiMcWQLM7qu2rgay7UzI13IMu237Yys9ZZvIdVL
qozC0JeuleKxOHwe12Ph+jEEYxT4MXkZS1xdkSdS7temk2qs5PX7GQRW/JOXVXvK
DJR6eV5fRsS4Umxkpt5rZ8gG8oy3tSTeI+6lPQwnOxx2893hJk3Lg/rrnrqE0FWA
s4+/x/EU+Ejbd0hbdis=

List of collected data

  • Link to avatar
  • Number of posts

Two arrays with posts and posts from TOP:

  • Post type
  • Post link
  • Text
  • Publication date (in Unix format)
  • Number of comments
  • Number of likes
  • Link to icon
  • Width and height of the image
  • Link to avatar
  • Number of posts

Example of the result:

cpu: total posts - 303657  
Posts:
https://www.instagram.com/p/B0FtUJboZC0/
https://www.instagram.com/p/B0Fs7maCIvq/
https://www.instagram.com/p/B0FszBRgOoS/
https://www.instagram.com/p/B0FrgVTBgFI/
https://www.instagram.com/p/B0FqeKvBSjC/
https://www.instagram.com/p/B0FogPGnOIG/
https://www.instagram.com/p/B0FoHSuCSUr/
https://www.instagram.com/p/B0Fl5JWgWts/
https://www.instagram.com/p/B0Fj_P0ji83/
https://www.instagram.com/p/B0Fgn5YHCiC/
https://www.instagram.com/p/B0Fd4uvAOyf/
https://www.instagram.com/p/B0FdfGjnVVs/
https://www.instagram.com/p/B0FdLEDgrTe/
https://www.instagram.com/p/B0FdEORCa0Z/

Usage options

  • Collecting posts by tags

Examples of queries

  • You need to specify a tag as a query, for example:
sport  
cpu

Possible settings

ParameterDefault valueDescription
Count of pages with posts10Number of pages with posts
Treat disconnect as IP banConsider a connection break as an IP ban