diff options
| author | 2023-04-25 21:32:02 -0400 | |
|---|---|---|
| committer | 2023-04-25 21:32:02 -0400 | |
| commit | f98ab7aaca3c4acbd5a793267791749740330e9c (patch) | |
| tree | 72e3d3312a8ff2cdb24353b1d7be6fb8301f431c /gallery_dl/extractor/hentaifoundry.py | |
| parent | 09e426350409d45e7f7a8ff369f8d8aa9eec0fe4 (diff) | |
New upstream version 1.25.2.upstream/1.25.2
Diffstat (limited to 'gallery_dl/extractor/hentaifoundry.py')
| -rw-r--r-- | gallery_dl/extractor/hentaifoundry.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gallery_dl/extractor/hentaifoundry.py b/gallery_dl/extractor/hentaifoundry.py index 2dfc721..e01a4ed 100644 --- a/gallery_dl/extractor/hentaifoundry.py +++ b/gallery_dl/extractor/hentaifoundry.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2015-2022 Mike Fährmann +# Copyright 2015-2023 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -123,6 +123,9 @@ class HentaifoundryExtractor(Extractor): def _init_site_filters(self): """Set site-internal filters to show all images""" + if self.session.cookies.get("PHPSESSID", domain=self.cookiedomain): + return + url = self.root + "/?enterAgree=1" self.request(url, method="HEAD") @@ -153,7 +156,6 @@ class HentaifoundryExtractor(Extractor): "rating_scat" : "1", "rating_incest" : "1", "rating_rape" : "1", - "filter_media" : "A", "filter_order" : "date_new", "filter_type" : "0", "YII_CSRF_TOKEN" : text.unquote(text.extr( |
