|
|
@ -51,8 +51,8 @@ class LusciousAlbumExtractor(AsynchronousExtractor):
|
|
|
|
def get_metadata(self, page):
|
|
|
|
def get_metadata(self, page):
|
|
|
|
"""Collect metadata for extractor-job"""
|
|
|
|
"""Collect metadata for extractor-job"""
|
|
|
|
data = text.extract_all(page, (
|
|
|
|
data = text.extract_all(page, (
|
|
|
|
("title" , '"og:title" content="', '"'),
|
|
|
|
|
|
|
|
("tags" , '<meta name="keywords" content="', '"'),
|
|
|
|
("tags" , '<meta name="keywords" content="', '"'),
|
|
|
|
|
|
|
|
("title" , '"og:title" content="', '"'),
|
|
|
|
(None , '<li class="user_info">', ''),
|
|
|
|
(None , '<li class="user_info">', ''),
|
|
|
|
("count" , '<p>', ' '),
|
|
|
|
("count" , '<p>', ' '),
|
|
|
|
(None , '<p>Section:', ''),
|
|
|
|
(None , '<p>Section:', ''),
|
|
|
|