[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -67,7 +67,7 @@ class XhamsterGalleryExtractor(XhamsterExtractor):
|
||||
{
|
||||
"id" : text.parse_int(gallery["id"]),
|
||||
"tags" : [t["label"] for t in info["categoriesTags"]],
|
||||
"date" : text.parse_timestamp(model["created"]),
|
||||
"date" : self.parse_timestamp(model["created"]),
|
||||
"views" : text.parse_int(model["views"]),
|
||||
"likes" : text.parse_int(model["rating"]["likes"]),
|
||||
"dislikes" : text.parse_int(model["rating"]["dislikes"]),
|
||||
|
||||
Reference in New Issue
Block a user