mirror of
https://github.com/anonymousx97/social-dl.git
synced 2025-02-20 11:13:19 +08:00
v2.3.1: Instagram shortcode fix, Add new vars in sample-config.env.
This commit is contained in:
parent
7b4c8a2446
commit
7029de8d78
@ -11,8 +11,8 @@ API_KEYS = {"KEYS": Config.API_KEYS, "counter": 0}
|
||||
class Instagram(ScraperConfig):
|
||||
def __init__(self, url):
|
||||
super().__init__()
|
||||
shortcode = os.path.basename(urlparse(url).path.rstrip("/"))
|
||||
self.api_url = f"https://www.instagram.com/graphql/query?query_hash=2b0673e0dc4580674a88d426fe00ea90&variables=%7B%22shortcode%22%3A%22{shortcode}%22%7D"
|
||||
self.shortcode = os.path.basename(urlparse(url).path.rstrip("/"))
|
||||
self.api_url = f"https://www.instagram.com/graphql/query?query_hash=2b0673e0dc4580674a88d426fe00ea90&variables=%7B%22shortcode%22%3A%22{self.shortcode}%22%7D"
|
||||
self.url = url
|
||||
self.dump = True
|
||||
|
||||
|
@ -20,6 +20,14 @@ BLOCKED_USERS_MESSAGE_ID = 0
|
||||
DEV_MODE=0
|
||||
# Change to 1 if you want exec, sh, shell commands
|
||||
|
||||
DISABLED_CHATS_MESSAGE_ID=0
|
||||
# If you wanna disable the auto DL in some chats.
|
||||
# Users can use /dl, /down, /download to download videos.
|
||||
|
||||
|
||||
DUMP_ID=0
|
||||
# To save API Calls log Instagram posts to forward them directly.
|
||||
|
||||
|
||||
LOG_CHAT=-100.....
|
||||
# Log channel •Required•
|
||||
|
Loading…
x
Reference in New Issue
Block a user