79339743

Date: 2025-01-08 15:29:55
Score: 0.5
Natty:
Report link

Use the API instead:

import requests

def get_follower_count(username):
    headers = {
        'x-ig-app-id': '936619743392459'
    }

    url = f'https://www.instagram.com/api/v1/users/web_profile_info/?username={username}'
    response = requests.get(url, headers=headers)
    
    return response.json()['data']['user']['edge_followed_by']['count']


print(get_follower_count('thestackoverflow'))
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
Posted by: GTK