From 59098d4693598e14d1551621c3155c89f9601616 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Tue, 19 May 2020 19:31:41 -0400 Subject: [PATCH] Minor update to support alternate youtube links --- src/app/download-item/download-item.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/download-item/download-item.component.ts b/src/app/download-item/download-item.component.ts index 6ab776dc..5803afda 100644 --- a/src/app/download-item/download-item.component.ts +++ b/src/app/download-item/download-item.component.ts @@ -30,7 +30,7 @@ export class DownloadItemComponent implements OnInit { constructor() { } ngOnInit() { - if (this.download && this.download.url && this.download.url.includes('youtube')) { + if (this.download && this.download.url && this.download.url.includes('youtu')) { const string_id = (this.download.is_playlist ? '?list=' : '?v=') const index_offset = (this.download.is_playlist ? 6 : 3); const end_index = this.download.url.indexOf(string_id) + index_offset;