Optimized file allocation
This commit is contained in:
parent
f45c63fa8c
commit
ef9ab9abb1
@ -44,10 +44,10 @@ def Scrawl(Link):
|
||||
# 放入json文件暂存(小文件)
|
||||
if Article_data:
|
||||
index = str(uuid.uuid4())
|
||||
SD_save.save_data(Article_data, "Article_TS", index + ".json")
|
||||
SD_save.save_data(Article_data, "Article_TS", index + ".json")
|
||||
print('Finished: ' + index + ' has been added to ./SpringerOpen_buffer/Article_TS/')
|
||||
|
||||
if Author_data:
|
||||
index = str(uuid.uuid4())
|
||||
SD_save.save_data(Author_data, "Author_TS", index + ".json")
|
||||
SD_save.save_data(Author_data, "Author_TS", index + ".json")
|
||||
print('Finished: ' + index + ' has been added to ./SpringerOpen_buffer/Author_TS/')
|
||||
Loading…
x
Reference in New Issue
Block a user