[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:
Mike Fährmann
2018-09-13 19:52:01 +02:00
parent 7742cf8601
commit 0232d80cec

View File

@@ -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):