add LL and WL as valid playlists with cookie

This commit is contained in:
simon 2022-05-02 11:30:38 +07:00
parent 6fbac12314
commit 34c18e75f5
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -173,7 +173,7 @@ class UrlListParser:
id_type = "video" id_type = "video"
elif str_len == 24: elif str_len == 24:
id_type = "channel" id_type = "channel"
elif str_len in [34, 18]: elif str_len in [34, 18] or id_str in ["LL", "WL"]:
id_type = "playlist" id_type = "playlist"
else: else:
# unable to parse # unable to parse