mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2026-05-08 12:34:14 +02: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
|
LinkedInt.cfg
|
||||||
|
*.html
|
||||||
|
*.csv
|
||||||
|
|
@ -223,7 +223,7 @@ def get_search():
|
||||||
data_picture = ""
|
data_picture = ""
|
||||||
|
|
||||||
|
|
||||||
|
data_slug = repr(data_slug.encode("utf-8")).replace("\\x","%").replace("b","",1).replace("'","")
|
||||||
parts = data_lastname.split()
|
parts = data_lastname.split()
|
||||||
|
|
||||||
name = data_firstname + " " + data_lastname
|
name = data_firstname + " " + data_lastname
|
||||||
|
|
@ -311,7 +311,7 @@ def get_search():
|
||||||
f.close()
|
f.close()
|
||||||
f = open(baseDir + '{}.csv'.format(outfile), 'wb')
|
f = open(baseDir + '{}.csv'.format(outfile), 'wb')
|
||||||
newcsv='\n'.join(csv)
|
newcsv='\n'.join(csv)
|
||||||
f.writelines(newcsv.encode())
|
f.write(newcsv.encode())
|
||||||
for x in csv:
|
for x in csv:
|
||||||
f.write(x.join('\n').encode())
|
f.write(x.join('\n').encode())
|
||||||
f.close()
|
f.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue