mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 12:15:18 +03:00
Merge pull request #225 from mikepmiller/playlist_parsing_2
Parse variable-length playlist IDs.
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class Downloader:
|
||||
r"/(?P<storefront>[a-z]{2})"
|
||||
r"/(?P<type>artist|album|playlist|song|music-video|post)"
|
||||
r"(?:/(?P<slug>[^\s/]+))?"
|
||||
r"/(?P<id>[0-9]+|pl\.[0-9a-z]{32}|pl\.u-[a-zA-Z0-9]{10})"
|
||||
r"/(?P<id>[0-9]+|pl\.[0-9a-z]{32}|pl\.u-[a-zA-Z0-9]+)"
|
||||
r"(?:\?i=(?P<sub_id>[0-9]+))?"
|
||||
r")|("
|
||||
r"(?:/(?P<library_storefront>[a-z]{2}))?"
|
||||
|
||||
Reference in New Issue
Block a user