add 18 char len to valid playlists

pull/129/head
simon 3 years ago
parent 929311a943
commit b14a820a4c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

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

Loading…
Cancel
Save