From 36b184d1fbbef430f772f4655df076982e35762e Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 16 Mar 2018 22:34:26 -0500 Subject: [PATCH] Add published variant --- src/helpers.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")