diff options
Diffstat (limited to 'gallery_dl/extractor/plurk.py')
| -rw-r--r-- | gallery_dl/extractor/plurk.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gallery_dl/extractor/plurk.py b/gallery_dl/extractor/plurk.py index 6862559..60ca1fb 100644 --- a/gallery_dl/extractor/plurk.py +++ b/gallery_dl/extractor/plurk.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2019 Mike Fährmann +# Copyright 2019-2020 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 @@ -9,7 +9,7 @@ """Extractors for https://www.plurk.com/""" from .common import Extractor, Message -from .. import text, extractor, exception +from .. import text, exception import datetime import time import json @@ -23,12 +23,9 @@ class PlurkExtractor(Extractor): def items(self): urls = self._urls_ex if self.config("comments", False) else self._urls - - yield Message.Version, 1 - with extractor.blacklist(("plurk",)): - for plurk in self.plurks(): - for url in urls(plurk): - yield Message.Queue, url, plurk + for plurk in self.plurks(): + for url in urls(plurk): + yield Message.Queue, url, plurk def plurks(self): """Return an iterable with all relevant 'plurk' objects""" |
