summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/common.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:28 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2022-01-08 20:39:28 -0500
commit8de58070ee3e55f29966a787fd618632dbf4309b (patch)
treec140f8a0f97445413a1681424cc93308592070c4 /gallery_dl/extractor/common.py
parent7bc30b43b70556630b4a93c03fefc0d888e3d19f (diff)
New upstream version 1.20.1.upstream/1.20.1
Diffstat (limited to 'gallery_dl/extractor/common.py')
-rw-r--r--gallery_dl/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py
index c440aee..afe4a16 100644
--- a/gallery_dl/extractor/common.py
+++ b/gallery_dl/extractor/common.py
@@ -336,7 +336,8 @@ class Extractor():
now = time.time()
for cookie in self._cookiejar:
- if cookie.name in names and cookie.domain == domain:
+ if cookie.name in names and (
+ not domain or cookie.domain == domain):
if cookie.expires and cookie.expires < now:
self.log.warning("Cookie '%s' has expired", cookie.name)
else: