Fix links to channel view in search page

This commit is contained in:
Preston 2020-08-28 11:01:20 -04:00
parent d4c4c83f1e
commit 1ffb013bfe
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ export default Vue.extend({
if (video.duration !== null && video.duration !== '') { if (video.duration !== null && video.duration !== '') {
videoDuration = ytTrendScraper.calculate_length_in_seconds(video.duration) videoDuration = ytTrendScraper.calculate_length_in_seconds(video.duration)
} }
authId = authId[0].replace(/(user|channel)\//, '')
returnDataInvidious.push( returnDataInvidious.push(
{ {
videoId: videoId, videoId: videoId,