Skip to content

Commit

Permalink
Update xingdumper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd authored Sep 14, 2023
1 parent 63c3ef1 commit 9461993
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xingdumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,10 @@
print("[i] Successfully crawled " + str(dump_count) + " " + response1["data"]["entityPageEX"]["title"] + " employees. Hurray ^_-")

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

0 comments on commit 9461993

Please sign in to comment.