mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 01:39:19 +00:00
add 18 char len to valid playlists
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user