Skip to content

Add is_business_account and business_category_name properties to Profile structure #601

Description

@cocohub

Provide us a use case of the feature
Filter profiles depending on if they have a business account or not, also if you wanna filter further, you could match the business category name as well.

Describe the solution you'd like
Add above mentioned properties to the Profile structure.

Describe alternatives you've considered
Current solution:

import requests
import json

url = 'https://www.instagram.com/username/?__a=1'

r = requests.get(url)
info = r.json()

print(info['graphql']['user']['is_business_account'])
print(info['graphql']['user']['business_category_name'])

image

If the feature request is accepted, would you be willing to submit a PR?
Yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions