Update 2.9

This commit is contained in:
yoshiko2
2020-03-27 02:37:04 +08:00
parent a65e907c2c
commit 2c701a7e78

View File

@@ -134,27 +134,27 @@ if __name__ == '__main__':
count = count + 1 count = count + 1
percentage = str(count / int(count_all) * 100)[:4] + '%' percentage = str(count / int(count_all) * 100)[:4] + '%'
print('[!] - ' + percentage + ' [' + str(count) + '/' + count_all + '] -') print('[!] - ' + percentage + ' [' + str(count) + '/' + count_all + '] -')
print("[!]Making Data for [" + i + "], the number is [" + getNumber(i) + "]") # print("[!]Making Data for [" + i + "], the number is [" + getNumber(i) + "]")
core_main(i, getNumber(i)) # core_main(i, getNumber(i))
print("[*]======================================================") # print("[*]======================================================")
# try: try:
# print("[!]Making Data for [" + i + "], the number is [" + getNumber(i) + "]") print("[!]Making Data for [" + i + "], the number is [" + getNumber(i) + "]")
# core_main(i, getNumber(i)) core_main(i, getNumber(i))
# print("[*]======================================================") print("[*]======================================================")
# except: # 番号提取异常 except: # 番号提取异常
# print('[-]' + i + ' Cannot catch the number :') print('[-]' + i + ' Cannot catch the number :')
# if config['common']['soft_link'] == '1': if config['common']['soft_link'] == '1':
# print('[-]Link', i, 'to failed folder') print('[-]Link', i, 'to failed folder')
# os.symlink(i, str(os.getcwd()) + '/' + failed_folder + '/') os.symlink(i, str(os.getcwd()) + '/' + failed_folder + '/')
# else: else:
# try: try:
# print('[-]Move ' + i + ' to failed folder') print('[-]Move ' + i + ' to failed folder')
# shutil.move(i, str(os.getcwd()) + '/' + failed_folder + '/') shutil.move(i, str(os.getcwd()) + '/' + failed_folder + '/')
# except FileExistsError: except FileExistsError:
# print('[!]File exists in failed!') print('[!]File exists in failed!')
# except: except:
# print('[+]skip') print('[+]skip')
# continue continue
CEF(success_folder) CEF(success_folder)
CEF(failed_folder) CEF(failed_folder)