diff options
| author | 2022-01-08 20:39:38 -0500 | |
|---|---|---|
| committer | 2022-01-08 20:39:38 -0500 | |
| commit | e79415947da81787fbcbdbf0447d6fa0ecea166a (patch) | |
| tree | c96811360f1816db1db38a64c6c65ddb7e03ece6 /gallery_dl/extractor/common.py | |
| parent | 4339ea5f5c0105d112c88fd07581115d7fb4f2a3 (diff) | |
| parent | 8de58070ee3e55f29966a787fd618632dbf4309b (diff) | |
Update upstream source from tag 'upstream/1.20.1'
Update to upstream version '1.20.1'
with Debian dir bfa6a049d7c503377f35ac76efd1ede7feb78f6a
Diffstat (limited to 'gallery_dl/extractor/common.py')
| -rw-r--r-- | gallery_dl/extractor/common.py | 3 |
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: |
