mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-04 19:30:13 +00:00
add 18 char len to valid playlists
This commit is contained in:
parent
929311a943
commit
b14a820a4c
@ -121,7 +121,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 == 34:
|
elif str_len in [34, 18]:
|
||||||
id_type = "playlist"
|
id_type = "playlist"
|
||||||
else:
|
else:
|
||||||
# unable to parse
|
# unable to parse
|
||||||
|
Loading…
Reference in New Issue
Block a user