diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-03-16 22:34:26 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-03-16 22:34:26 -0500 |
| commit | 36b184d1fbbef430f772f4655df076982e35762e (patch) | |
| tree | 94d58240e5ad088b9ae0da9e51ca4520494d92bc | |
| parent | 721851da8101ae2b5fd72c03ec475a7e1795fcbc (diff) | |
| download | invidious-36b184d1fbbef430f772f4655df076982e35762e.tar.gz invidious-36b184d1fbbef430f772f4655df076982e35762e.tar.bz2 invidious-36b184d1fbbef430f772f4655df076982e35762e.zip | |
Add published variant
| -rw-r--r-- | src/helpers.cr | 3 |
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") |
