From b14a820a4c3a29dc5feff7182f018e00a240957f Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 29 Nov 2021 14:21:19 +0700 Subject: [PATCH] add 18 char len to valid playlists --- tubearchivist/home/src/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/helper.py b/tubearchivist/home/src/helper.py index 138b9e4..d45e934 100644 --- a/tubearchivist/home/src/helper.py +++ b/tubearchivist/home/src/helper.py @@ -121,7 +121,7 @@ class UrlListParser: id_type = "video" elif str_len == 24: id_type = "channel" - elif str_len == 34: + elif str_len in [34, 18]: id_type = "playlist" else: # unable to parse