aw
This commit is contained in:
parent
56a07369fd
commit
a7b801a9bb
12 changed files with 54 additions and 32 deletions
|
@ -697,7 +697,7 @@ def thumbnail_thread(pid):
|
|||
|
||||
if SITE_NAME == 'Drama':
|
||||
for t in ("submission","comment"):
|
||||
word = random.choice(('rdrama','marsey'))
|
||||
word = random.choice(('rdrama','marsey','r/drama'))
|
||||
|
||||
try:
|
||||
data = requests.get(f'https://api.pushshift.io/reddit/{t}/search?html_decode=true&q={word}&size=1', timeout=5).json()["data"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue