diff --git a/docs/configuration.rst b/docs/configuration.rst index 9fa5667c..9c3782c3 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -3954,6 +3954,18 @@ Description ``"raw"``, ``"full"``, ``"regular"``, ``"small"``, and ``"thumb"``. +extractor.vipergirls.domain +--------------------------- +Type + ``string`` +Default + ``"vipergirls.to"`` +Description + Specifies the domain used by ``vipergirls`` extractors. + + For example ``"viper.click"`` if the main domain is blocked or to bypass Cloudflare, + + extractor.vipergirls.like ------------------------- Type diff --git a/gallery_dl/extractor/vipergirls.py b/gallery_dl/extractor/vipergirls.py index 62386ce2..6dfb23cc 100644 --- a/gallery_dl/extractor/vipergirls.py +++ b/gallery_dl/extractor/vipergirls.py @@ -26,6 +26,11 @@ class VipergirlsExtractor(Extractor): cookies_domain = ".vipergirls.to" cookies_names = ("vg_userid", "vg_password") + def _init(self): + domain = self.config("domain") + if domain: + self.root = text.ensure_http_scheme(domain) + def items(self): self.login() posts = self.posts()