Fix Url encoding when there is emoji in linkedin profile link

This commit is contained in:
yyhh91 2021-06-04 18:40:08 +08:00
parent d67727efcf
commit c1057a58ad
2 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,6 @@
[API_KEYS] [API_KEYS]
hunter = hunter = ""
[CREDS] [CREDS]
linkedin_username = linkedin_username =
linkedin_password = linkedin_password =

View file

@ -332,7 +332,7 @@ def authenticate():
if __name__ == '__main__': if __name__ == '__main__':
print("") print("")
a = open(baseDir + "banner.txt","r") a = open(baseDir + "banner.txt","r", encoding="utf-8")
print(a.read()) print(a.read())
a.close() a.close()
print("") print("")