mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-14 03:57:31 +00:00
Fix channel length_seconds assignment
This commit is contained in:
parent
6c49edf3ae
commit
19beea8723
2
index.py
2
index.py
@ -553,7 +553,7 @@ class Second(object):
|
||||
if "thumbnailOverlayTimeStatusRenderer" in o:
|
||||
length_text = combine_runs(o["thumbnailOverlayTimeStatusRenderer"]["text"])
|
||||
if o["thumbnailOverlayTimeStatusRenderer"]["style"] != "LIVE":
|
||||
length_text_to_seconds(length_text)
|
||||
length_seconds = length_text_to_seconds(length_text)
|
||||
published = 0
|
||||
published_text = "Live now"
|
||||
if "publishedTimeText" in v:
|
||||
|
Loading…
Reference in New Issue
Block a user