From 7f5170b387e3547045b311ba44d405a1fce55bb0 Mon Sep 17 00:00:00 2001 From: Isaac Ong Date: Mon, 2 Jan 2023 14:50:22 +0800 Subject: [PATCH] Fix queries for Instagram --- socialscan/platforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socialscan/platforms.py b/socialscan/platforms.py index e2588a4..bbc45e1 100644 --- a/socialscan/platforms.py +++ b/socialscan/platforms.py @@ -191,7 +191,7 @@ async def check_username(self, username): class Instagram(PlatformChecker): - URL = "https://instagram.com" + URL = "https://www.instagram.com/api/v1/public/landing_info/" ENDPOINT = "https://www.instagram.com/accounts/web_create_ajax/attempt/" USERNAME_TAKEN_MSGS = [ "This username isn't available.",