mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [urlexport importer] item_id, force str type
This commit is contained in:
parent
ecc042376d
commit
b4cb14798c
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue