From d92bcea2a7e9d1bfa5e23d6ea88cda9f4fab1428 Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 17 Dec 2020 10:44:30 +0100 Subject: [PATCH] Added cookie to preserve twitter and youtube addresses --- twoot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twoot.py b/twoot.py index 0293685..35e8503 100755 --- a/twoot.py +++ b/twoot.py @@ -206,6 +206,7 @@ def main(argv): headers.update( { 'User-Agent': USER_AGENTS[random.randint(0, len(USER_AGENTS)-1)], + 'Cookie': 'replaceTwitter=; replaceYouTube=', } )