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:
@@ -17,7 +17,7 @@ class FuskatorGalleryExtractor(GalleryExtractor):
|
||||
"""Extractor for image galleries on fuskator.com"""
|
||||
category = "fuskator"
|
||||
root = "https://fuskator.com"
|
||||
pattern = r"(?:https?://)?fuskator\.com/(?:thumbs|expanded)/([^/?&#]+)"
|
||||
pattern = r"(?:https?://)?fuskator\.com/(?:thumbs|expanded)/([^/?#]+)"
|
||||
test = (
|
||||
("https://fuskator.com/thumbs/d0GnIzXrSKU/", {
|
||||
"pattern": r"https://i\d+.fuskator.com/large/d0GnIzXrSKU/.+\.jpg",
|
||||
|
||||
Reference in New Issue
Block a user