summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-16 22:34:26 -0500
committerOmar Roth <omarroth@hotmail.com>2018-03-16 22:34:26 -0500
commit36b184d1fbbef430f772f4655df076982e35762e (patch)
tree94d58240e5ad088b9ae0da9e51ca4520494d92bc /src
parent721851da8101ae2b5fd72c03ec475a7e1795fcbc (diff)
downloadinvidious-36b184d1fbbef430f772f4655df076982e35762e.tar.gz
invidious-36b184d1fbbef430f772f4655df076982e35762e.tar.bz2
invidious-36b184d1fbbef430f772f4655df076982e35762e.zip
Add published variant
Diffstat (limited to 'src')
-rw-r--r--src/helpers.cr3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 5188cc5d..31893603 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -152,8 +152,9 @@ def fetch_video(id, client)
end
published = published.lchop("Published ")
- published = published.lchop("Streamed live ")
published = published.lchop("Started streaming ")
+ published = published.lchop("Streamed live ")
+ published = published.lchop("Uploaded ")
published = published.lchop("on ")
published = published.lchop("Scheduled for ")
if !published.includes?("ago")