better syntax in /live

master
Aevann1 2022-09-29 20:29:44 +02:00
parent b111852d44
commit 7b7092b5f5
1 changed files with 3 additions and 2 deletions

View File

@ -472,6 +472,8 @@ if SITE == 'pcmemes.net':
return (True, (id, req.url, thumb, name, title, count))
else:
t = offline_regex.search(text)
if not t: return process_streamer(id, '')
y = offline_details_regex.search(text)
if y:
@ -507,8 +509,7 @@ if SITE == 'pcmemes.net':
actual = '???'
views = 0
try: thumb = t.group(2)
except: return None
thumb = t.group(2)
name = t.group(1)