add 18 char len to valid playlists

This commit is contained in:
simon 2021-11-29 14:21:19 +07:00
parent 929311a943
commit b14a820a4c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -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