forked from MarseyWorld/MarseyWorld
better syntax in /live
parent
b111852d44
commit
7b7092b5f5
|
@ -472,6 +472,8 @@ if SITE == 'pcmemes.net':
|
||||||
return (True, (id, req.url, thumb, name, title, count))
|
return (True, (id, req.url, thumb, name, title, count))
|
||||||
else:
|
else:
|
||||||
t = offline_regex.search(text)
|
t = offline_regex.search(text)
|
||||||
|
if not t: return process_streamer(id, '')
|
||||||
|
|
||||||
y = offline_details_regex.search(text)
|
y = offline_details_regex.search(text)
|
||||||
|
|
||||||
if y:
|
if y:
|
||||||
|
@ -507,8 +509,7 @@ if SITE == 'pcmemes.net':
|
||||||
actual = '???'
|
actual = '???'
|
||||||
views = 0
|
views = 0
|
||||||
|
|
||||||
try: thumb = t.group(2)
|
thumb = t.group(2)
|
||||||
except: return None
|
|
||||||
|
|
||||||
name = t.group(1)
|
name = t.group(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue