forked from rDrama/rDrama
fix
parent
695fca5d35
commit
78f0721bb0
|
@ -460,6 +460,7 @@ if SITE == 'pcmemes.net':
|
|||
t = offline_regex.search(text)
|
||||
y = offline_details_regex.search(text)
|
||||
|
||||
if y:
|
||||
quantity = int(y.group(1))
|
||||
unit = y.group(2)
|
||||
|
||||
|
@ -485,6 +486,9 @@ if SITE == 'pcmemes.net':
|
|||
|
||||
actual = f'{quantity} {unit}'
|
||||
if quantity > 1: actual += 's'
|
||||
else:
|
||||
minutes = 0
|
||||
actual = '???'
|
||||
|
||||
try:
|
||||
return_val = (False, (id, req.url.rstrip('/live'), t.group(2), t.group(1), minutes, actual, y.group(3)))
|
||||
|
|
Loading…
Reference in New Issue