Parse Instagram data quite easily. There is a query that allows you to receive all public information in JSON from any profile: https://instagram.com/%USERNAME%/?__a=1, where instead of %USERNAME% necessary to substitute the name of the account. And thanks to the tools for working with JSON in A-Parser, we can easily get the desired data. Spoiler: Code for import Code: eyJwcmVzZXQiOiJJbnN0YWdyYW0iLCJ2YWx1ZSI6eyJwcmVzZXQiOiJJbnN0YWdy YW0iLCJwYXJzZXJzIjpbWyJOZXQ6OkhUVFAiLCJkZWZhdWx0Iix7InR5cGUiOiJv dmVycmlkZSIsImlkIjoiZ29vZENvZGUiLCJ2YWx1ZSI6MjAwfSx7InR5cGUiOiJv dmVycmlkZSIsImlkIjoiZm9ybWF0cmVzdWx0IiwidmFsdWUiOiJbJSBqc29uID0g dG9vbHMucGFyc2VKU09OKHAxLmRhdGEpO1xuXG5qc29uLnVzZXIuZnVsbF9uYW1l IF9cIihcIjtcbmpzb24udXNlci51c2VybmFtZSBfXCIpIC0gaWQ6IFwiO1xuanNv bi51c2VyLmlkIF9cIiwgZmx3czogXCI7XG5qc29uLnVzZXIuZm9sbG93cy5jb3Vu dCBfXCIsIGZsd2Q6IFwiO1xuanNvbi51c2VyLmZvbGxvd2VkX2J5LmNvdW50IF9c IiwgbWVkaWE6IFwiO1xuanNvbi51c2VyLm1lZGlhLmNvdW50IF9cIiwgVVJMOiBc Ijtcbmpzb24udXNlci5leHRlcm5hbF91cmwgX1wiXFxuXCIgJV0ifV1dLCJyZXN1 bHRzRm9ybWF0IjoiJHAxLnByZXNldCIsInJlc3VsdHNTYXZlVG8iOiJmaWxlIiwi cmVzdWx0c0ZpbGVOYW1lIjoiJGRhdGVmaWxlLmZvcm1hdCgpLnR4dCIsImFkZGl0 aW9uYWxGb3JtYXRzIjpbXSwicmVzdWx0c1VuaXF1ZSI6Im5vIiwicXVlcnlGb3Jt YXQiOlsiaHR0cHM6Ly9pbnN0YWdyYW0uY29tLyRxdWVyeS8/X19hPTEiXSwidW5p cXVlUXVlcmllcyI6ZmFsc2UsInNhdmVGYWlsZWRRdWVyaWVzIjpmYWxzZSwiaXRl cmF0b3JPcHRpb25zIjp7Im9uQWxsTGV2ZWxzIjpmYWxzZSwicXVlcnlCdWlsZGVy c0FmdGVySXRlcmF0b3IiOmZhbHNlLCJxdWVyeUJ1aWxkZXJzT25BbGxMZXZlbHMi OmZhbHNlfSwicmVzdWx0c09wdGlvbnMiOnsib3ZlcndyaXRlIjpmYWxzZX0sImRv TG9nIjoibm8iLCJrZWVwVW5pcXVlIjoiTm8iLCJtb3JlT3B0aW9ucyI6ZmFsc2Us InJlc3VsdHNQcmVwZW5kIjoiIiwicmVzdWx0c0FwcGVuZCI6IiIsInF1ZXJ5QnVp bGRlcnMiOltdLCJyZXN1bHRzQnVpbGRlcnMiOltdLCJjb25maWdPdmVycmlkZXMi OltdfX0= Only account names is input Preset allows you to output the values of any variables that are available in the JSON response Example of result (instagram of some stars)
In a previous post shows how to parse information from profiles of Instagram users. And in this post we will look at a way to search for profiles. The profiles will be collected with binding to tags, i.e. will gather all the users, who used the specified tag for your own photos. Almost all the work here performs template in Result format: Spoiler: Code for import Code: eyJwcmVzZXQiOiJJbnN0YWdyYW0gdGFnMSIsInZhbHVlIjp7InByZXNldCI6Iklu c3RhZ3JhbSB0YWcxIiwicGFyc2VycyI6W1siTmV0OjpIVFRQIiwiZGVmYXVsdCIs eyJ0eXBlIjoib3ZlcnJpZGUiLCJpZCI6Imdvb2RDb2RlIiwidmFsdWUiOjIwMH1d XSwicmVzdWx0c0Zvcm1hdCI6IlslIGxpbWl0ID0gMTA7XG5cbklGIHBhZ2UgPD0g bGltaXQ7XG4gIElGIHF1ZXJ5LnF1ZXJ5Lm1hdGNoKCdleHBsb3JlJyk7XG5cblx0 cGFnZSA9IHBhZ2UgKyAxO1xuXG4gICAganNvbiA9IHRvb2xzLnBhcnNlSlNPTihw MS5kYXRhKTsgXG5cbiAgICBGT1JFQUNIIGpzb24udGFnLm1lZGlhLm5vZGVzO1xu ICAgIFx0dG9vbHMucXVlcnkuYWR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fSwicmVzdWx0c09w dGlvbnMiOnsib3ZlcndyaXRlIjpmYWxzZX0sImRvTG9nIjoibm8iLCJrZWVwVW5p cXVlIjoiTm8iLCJtb3JlT3B0aW9ucyI6ZmFsc2UsInJlc3VsdHNQcmVwZW5kIjoi IiwicmVzdWx0c0FwcGVuZCI6IiIsInF1ZXJ5QnVpbGRlcnMiOltdLCJyZXN1bHRz QnVpbGRlcnMiOltdLCJjb25maWdPdmVycmlkZXMiOltdfX0= As a requests need to submit are interested tags (without #). You can set the number of pages for parsing: in the Result format change the value of the variable limit. In an example 10 is set. To the results output profile names. They can be substituted into a preset from the first post. For removing of repeats is enabled unique result.