Skip to content

Commit 9461993

Browse files
authored
Update xingdumper.py
1 parent 63c3ef1 commit 9461993

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

xingdumper.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,10 @@
149149
print("[i] Successfully crawled " + str(dump_count) + " " + response1["data"]["entityPageEX"]["title"] + " employees. Hurray ^_-")
150150

151151
except Exception as e:
152-
# likely authorization error due to incorrect 'login' cookie
153-
# otherwise the script is broken or the api has been changed
154152
print()
155-
print("[!] Authentication required.")
153+
print("[!] Exception. Either API has changed and this script is broken or authentication failed.")
156154
print(" > Set 'LOGIN_COOKIE' variable or use the '--cookie' CLI flag!")
157-
#print("[debug] " + str(e))
155+
print("[debug] " + str(e))
158156
else:
159157
print()
160158
print("[!] Invalid URL provided.")

0 commit comments

Comments
 (0)