diff options
| author | 2025-12-20 05:49:04 -0500 | |
|---|---|---|
| committer | 2025-12-20 05:49:04 -0500 | |
| commit | a24ec1647aeac35a63b744ea856011ad6e06be3b (patch) | |
| tree | ae94416de786aeddd05d99559098f7f16bb103a6 /gallery_dl/extractor/noop.py | |
| parent | 33f8a8a37a9cba738ef25fb99955f0730da9eb48 (diff) | |
New upstream version 1.31.1.upstream/1.31.1
Diffstat (limited to 'gallery_dl/extractor/noop.py')
| -rw-r--r-- | gallery_dl/extractor/noop.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gallery_dl/extractor/noop.py b/gallery_dl/extractor/noop.py index df2316c..fe88e63 100644 --- a/gallery_dl/extractor/noop.py +++ b/gallery_dl/extractor/noop.py @@ -8,7 +8,7 @@ """noop extractor""" -from .common import Extractor, Message +from .common import Extractor class NoopExtractor(Extractor): @@ -17,11 +17,9 @@ class NoopExtractor(Extractor): example = "noop" def items(self): - # yield *something* to prevent a 'No results' message - yield Message.Version, 1 - # Save cookies manually, since it happens automatically only after # extended extractor initialization, i.e. Message.Directory, which # itself might cause some unintended effects. if self.cookies: self.cookies_store() + return iter(((-1, "", None),)) |
