[archiveofsins] add thread extractor

This commit is contained in:
Mike Fährmann
2017-07-15 13:23:04 +02:00
parent 96e13604da
commit c93f7d7496
4 changed files with 26 additions and 5 deletions

View File

@@ -73,6 +73,8 @@ class FoolfuukaThreadExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self)
self.board, self.thread = match.groups()
self.session.headers["User-Agent"] = "Mozilla 5.0"
self.session.headers["Referer"] = self.root
def items(self):
op = True