File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,13 @@ def main():
193
193
num_threads = args .thread
194
194
195
195
try :
196
- with open (url_filename ) as f :
196
+ with open (url_filename , encoding = 'utf-8' ) as f :
197
197
urls = [line .strip () for line in f ]
198
198
199
- with open (username_filepath , "r" ) as file :
199
+ with open (username_filepath , "r" , encoding = 'utf-8' ) as file :
200
200
usernames = [line .strip () for line in file ]
201
201
202
- with open (password_filepath , "r" ) as file :
202
+ with open (password_filepath , "r" , encoding = 'utf-8' ) as file :
203
203
password = file .read ().strip ()
204
204
205
205
with concurrent .futures .ThreadPoolExecutor (max_workers = num_threads ) as executor :
@@ -209,4 +209,4 @@ def main():
209
209
print (f"{ FR } File not found: { e .filename } " )
210
210
211
211
if __name__ == "__main__" :
212
- main ()
212
+ main ()
You can’t perform that action at this time.
0 commit comments