fix: [urlexport importer] item_id, force str type

This commit is contained in:
Terrtia 2020-05-02 20:33:25 +02:00
parent ecc042376d
commit b4cb14798c
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -48,7 +48,7 @@ class Ail_feeder_urlextract(Default_json):
# # TODO: change me
parent_type = 'twitter'
item_parent = json_meta['parent:twitter:tweet_id']
item_parent = str(json_meta['parent:twitter:tweet_id'])
parent_date = datetime.date.today().strftime("%Y/%m/%d")
item_parent = os.path.join('twitter', parent_date, item_parent) + '.gz'