[eporner] include 'www' subdomain in 'root' domain (#9064)
prevents redirect on initial request
This commit is contained in:
@@ -13,7 +13,7 @@ from .. import text
|
||||
class EpornerGalleryExtractor(GalleryExtractor):
|
||||
"""Extractor for image galleries from eporner.com"""
|
||||
category = "eporner"
|
||||
root = "https://eporner.com"
|
||||
root = "https://www.eporner.com"
|
||||
pattern = (r"(?:https?://)?(?:www\.)?eporner\.com"
|
||||
r"/gallery/(\w+)(?:/([\w-]+))?")
|
||||
example = "https://www.eporner.com/gallery/GID/SLUG/"
|
||||
|
||||
@@ -41,4 +41,9 @@ __tests__ = (
|
||||
"#class" : eporner.EpornerGalleryExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://eporner.com/gallery/mHNhErACQFE",
|
||||
"#class" : eporner.EpornerGalleryExtractor,
|
||||
},
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user