mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2026-07-05 10:55:26 +00:00
Fix channel views regular expression
This commit is contained in:
parent
c4182790b6
commit
7cb8d3fba2
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ def uncompress_counter(text):
|
||||||
return int(float(text[:-1]) * multiplier)
|
return int(float(text[:-1]) * multiplier)
|
||||||
|
|
||||||
def past_text_to_time(text):
|
def past_text_to_time(text):
|
||||||
spaced_text = re.sub(r"^([0-9]+)([^ ])", r"\1 \2", text)
|
spaced_text = re.sub(r"^([0-9]++)([^ ])", r"\1 \2", text)
|
||||||
words = spaced_text.split(" ")
|
words = spaced_text.split(" ")
|
||||||
if words[0] == "Streamed":
|
if words[0] == "Streamed":
|
||||||
words = words[1:]
|
words = words[1:]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue