diff options
| author | 2020-09-28 18:27:46 -0400 | |
|---|---|---|
| committer | 2020-09-28 18:27:46 -0400 | |
| commit | 9074eee175f76b824fbb6695d56426105191c51c (patch) | |
| tree | 2294be463d325d7092e600d88f160027c437086d /gallery_dl/extractor/recursive.py | |
| parent | 261c8c2bc74969e2242a153297895684742b6995 (diff) | |
New upstream version 1.15.0.upstream/1.15.0
Diffstat (limited to 'gallery_dl/extractor/recursive.py')
| -rw-r--r-- | gallery_dl/extractor/recursive.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gallery_dl/extractor/recursive.py b/gallery_dl/extractor/recursive.py index ead5c35..4dd9d5c 100644 --- a/gallery_dl/extractor/recursive.py +++ b/gallery_dl/extractor/recursive.py @@ -9,7 +9,6 @@ """Recursive extractor""" from .common import Extractor, Message -from .. import extractor, util import requests import re @@ -23,17 +22,12 @@ class RecursiveExtractor(Extractor): }) def items(self): - blist = self.config( - "blacklist", {"directlink"} | util.SPECIAL_EXTRACTORS) - self.session.mount("file://", FileAdapter()) page = self.request(self.url.partition(":")[2]).text del self.session.adapters["file://"] - yield Message.Version, 1 - with extractor.blacklist(blist): - for match in re.finditer(r"https?://[^\s\"']+", page): - yield Message.Queue, match.group(0), {} + for match in re.finditer(r"https?://[^\s\"']+", page): + yield Message.Queue, match.group(0), {} class FileAdapter(requests.adapters.BaseAdapter): |
