Skip to content
Extraits de code Groupes Projets
Valider 0f5747f0 rédigé par Deurstann's avatar Deurstann
Parcourir les fichiers

Fixed User-Agent issue with dummy user agent

parent b7230533
Branches
Aucune étiquette associée trouvée
1 requête de fusion!2Feature : Birthday
...@@ -16,7 +16,7 @@ TOKEN = os.getenv('DISCORD_TOKEN') ...@@ -16,7 +16,7 @@ TOKEN = os.getenv('DISCORD_TOKEN')
SECRET = os.getenv('REDDIT_SECRET') SECRET = os.getenv('REDDIT_SECRET')
REDDIT_ID = os.getenv('REDDIT_ID') REDDIT_ID = os.getenv('REDDIT_ID')
REDDIT_AGENT = os.getenv('REDDIT_AGENT') REDDIT_AGENT = os.getenv('REDDIT_AGENT')
HTTP_USER_AGENT = os.getenv('HTTP_USER_AGENT') HTTP_USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
PROXY = os.getenv('PROXY') PROXY = os.getenv('PROXY')
postLimit = int(os.getenv('POST_LIMIT')) postLimit = int(os.getenv('POST_LIMIT'))
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter