From b5a00f3c47f76871722bf5ae957b2b890789ca72 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 25 Feb 2019 09:52:44 -0600 Subject: [PATCH] Remove duplicate information from autogenerated channel page --- src/invidious.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/invidious.cr b/src/invidious.cr index dda725ff..ce48f041 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2266,6 +2266,7 @@ get "/channel/:ucid" do |env| items, continuation = fetch_channel_playlists(ucid, author, auto_generated, continuation, sort_by) items.select! { |item| item.is_a?(SearchPlaylist) && !item.videos.empty? } items = items.map { |item| item.as(SearchPlaylist) } + items.each { |item| item.author = "" } else items, count = get_60_videos(ucid, page, auto_generated, sort_by) items.select! { |item| !item.paid }