[deviantart] convert 'published_time' to int (fixes #108)
The 'published_time' field (a timestamp) changed from integer to string and caused journal creation to fail.
This commit is contained in:
@@ -102,6 +102,8 @@ class DeviantartExtractor(Extractor):
|
||||
if self.user:
|
||||
deviation["username"] = self.user
|
||||
deviation["da_category"] = deviation["category"]
|
||||
deviation["published_time"] = text.parse_int(
|
||||
deviation["published_time"])
|
||||
|
||||
@staticmethod
|
||||
def commit(deviation, target):
|
||||
|
||||
Reference in New Issue
Block a user