From 9ce6027621aee2934d4c35c9d06a30786ceecd3a Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 12 Sep 2023 23:27:43 +0300 Subject: [PATCH] remove print-debugging --- files/helpers/offsitementions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/helpers/offsitementions.py b/files/helpers/offsitementions.py index 28265a243..d4c2b991c 100644 --- a/files/helpers/offsitementions.py +++ b/files/helpers/offsitementions.py @@ -39,11 +39,9 @@ def get_mentions(cache, queries, reddit_notifs_users=False): for query in queries: url = f'https://api.pullpush.io/reddit/search/{kind}?q={query}' - print(url, flush=True) try: req = requests.get(url, headers=HEADERS, timeout=5, proxies=proxies) except: return [] data += req.json()['data'] - if query == 'rdrama': print(req.json()['data']) for thing in data: if not thing.get('permalink'):