forked from rDrama/rDrama
1
0
Fork 0

Merge branch 'frost' of github.com:Aevann1/rDrama into frost

master
Outrun Colors 2022-09-24 22:21:40 -05:00
commit a6e9d6d42d
1 changed files with 2 additions and 2 deletions

View File

@ -509,14 +509,14 @@ if SITE == 'pcmemes.net' or True:
live.append((id, req.url, t.group(1), y.group(2), y.group(1), count)) live.append((id, req.url, t.group(1), y.group(2), y.group(1), count))
cache.set('live', live) cache.set('live', live)
except: except:
print(id) print(id, flush=True)
else: else:
y = offline_regex.search(txt) y = offline_regex.search(txt)
try: try:
offline.append((id, req.url.rstrip('/live'), y.group(2), y.group(1))) offline.append((id, req.url.rstrip('/live'), y.group(2), y.group(1)))
cache.set('offline', offline) cache.set('offline', offline)
except: except:
print(id) print(id, flush=True)
return render_template('live.html', v=v, live=live, offline=offline, msg="Channel added successfuly!") return render_template('live.html', v=v, live=live, offline=offline, msg="Channel added successfuly!")