remove '&' from URL patterns
'/?&#' -> '/?#' and '?&#' -> '?#' According to https://www.ietf.org/rfc/rfc3986.txt, URLs are "organized hierarchically" by using "the slash ("/"), question mark ("?"), and number sign ("#") characters to delimit components"
This commit is contained in:
@@ -19,7 +19,7 @@ class KhinsiderSoundtrackExtractor(AsynchronousMixin, Extractor):
|
||||
directory_fmt = ("{category}", "{album[name]}")
|
||||
archive_fmt = "{filename}.{extension}"
|
||||
pattern = (r"(?:https?://)?downloads\.khinsider\.com"
|
||||
r"/game-soundtracks/album/([^/?&#]+)")
|
||||
r"/game-soundtracks/album/([^/?#]+)")
|
||||
root = "https://downloads.khinsider.com"
|
||||
test = (("https://downloads.khinsider.com"
|
||||
"/game-soundtracks/album/horizon-riders-wii"), {
|
||||
|
||||
Reference in New Issue
Block a user