mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2026-01-22 16:11:15 +01:00
Updated linkedin profile link not displayed correctly if there is emoji in the URL
This commit is contained in:
parent
517871b4e9
commit
d67727efcf
2 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
|||
LinkedInt.cfg
|
||||
*.html
|
||||
*.csv
|
||||
|
|
@ -223,7 +223,7 @@ def get_search():
|
|||
data_picture = ""
|
||||
|
||||
|
||||
|
||||
data_slug = repr(data_slug.encode("utf-8")).replace("\\x","%").replace("b","",1).replace("'","")
|
||||
parts = data_lastname.split()
|
||||
|
||||
name = data_firstname + " " + data_lastname
|
||||
|
|
@ -311,7 +311,7 @@ def get_search():
|
|||
f.close()
|
||||
f = open(baseDir + '{}.csv'.format(outfile), 'wb')
|
||||
newcsv='\n'.join(csv)
|
||||
f.writelines(newcsv.encode())
|
||||
f.write(newcsv.encode())
|
||||
for x in csv:
|
||||
f.write(x.join('\n').encode())
|
||||
f.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue