[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -72,7 +72,7 @@ class VkExtractor(Extractor):
|
||||
photo["width"] = photo["height"] = 0
|
||||
|
||||
photo["id"] = photo["id"].rpartition("_")[2]
|
||||
photo["date"] = text.parse_timestamp(text.extr(
|
||||
photo["date"] = self.parse_timestamp(text.extr(
|
||||
photo["date"], 'data-date="', '"'))
|
||||
photo["description"] = text.unescape(text.extr(
|
||||
photo.get("desc", ""), ">", "<"))
|
||||
|
||||
Reference in New Issue
Block a user