summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/kemonoparty.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-09-09 01:57:57 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2021-09-09 01:57:57 -0400
commit3f5483df9075ae526f4c54f4cbe80edeabf6d4cc (patch)
tree6b2194fa03fd58ac35114c0dbec7561612a584b8 /gallery_dl/extractor/kemonoparty.py
parentd50ba9cfe80f00e02ca9a4714f75699c00e67128 (diff)
New upstream version 1.18.4.upstream/1.18.4
Diffstat (limited to 'gallery_dl/extractor/kemonoparty.py')
-rw-r--r--gallery_dl/extractor/kemonoparty.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/gallery_dl/extractor/kemonoparty.py b/gallery_dl/extractor/kemonoparty.py
index 972316b..a911d35 100644
--- a/gallery_dl/extractor/kemonoparty.py
+++ b/gallery_dl/extractor/kemonoparty.py
@@ -24,13 +24,9 @@ class KemonopartyExtractor(Extractor):
filename_fmt = "{id}_{title}_{num:>02}_{filename}.{extension}"
archive_fmt = "{service}_{user}_{id}_{num}"
cookiedomain = ".kemono.party"
- _warning = True
def items(self):
- if self._warning:
- if not self._check_cookies(("__ddg1", "__ddg2")):
- self.log.warning("no DDoS-GUARD cookies set (__ddg1, __ddg2)")
- KemonopartyExtractor._warning = False
+ self._prepare_ddosguard_cookies()
find_inline = re.compile(r'src="(/inline/[^"]+)').findall
skip_service = \