[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
"""Extractors for https://www.slideshare.net/"""
|
||||
|
||||
from .common import GalleryExtractor
|
||||
from .. import text
|
||||
|
||||
|
||||
class SlidesharePresentationExtractor(GalleryExtractor):
|
||||
@@ -40,7 +39,7 @@ class SlidesharePresentationExtractor(GalleryExtractor):
|
||||
"description" : slideshow["description"].strip(),
|
||||
"views" : slideshow["views"],
|
||||
"likes" : slideshow["likes"],
|
||||
"date" : text.parse_datetime(
|
||||
"date" : self.parse_datetime(
|
||||
slideshow["createdAt"], "%Y-%m-%d %H:%M:%S %Z"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user