remove explicit (sub)category keywords

This commit is contained in:
Mike Fährmann
2016-09-25 14:22:07 +02:00
parent a347d50ef5
commit 19c2d4ff6f
43 changed files with 26 additions and 104 deletions

View File

@@ -26,8 +26,6 @@ class PinterestExtractor(Extractor):
img = pin["image"]["original"]
url = img["url"]
data = {
"category": self.category,
"subcategory": self.subcategory,
"pin-id": pin["id"],
"note": pin["note"],
"width": img["width"],
@@ -90,8 +88,6 @@ class PinterestBoardExtractor(PinterestExtractor):
def data_from_board(self, board):
"""Get metadata from a board-object"""
data = {
"category": self.category,
"subcategory": self.subcategory,
"user": self.user,
"board-id": board["id"],
"board": board["name"],