This commit is contained in:
Aevann1 2022-02-18 13:55:57 +02:00
parent e1995eb322
commit ebd5fe8718
9 changed files with 7 additions and 59 deletions

View file

@ -751,7 +751,7 @@ def thumbnail_thread(pid):
if SITE_NAME == 'Drama':
for t in ("submission","comment"):
word = random.choice(('rdrama','marsey','2much4you.net'))
word = random.choice(('rdrama','marsey'))
try:
data = requests.get(f'https://api.pushshift.io/reddit/{t}/search?html_decode=true&q={word}&size=1')