Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NordVPN obsolete API issue fixed and demo.py improved #58

Closed
wants to merge 16 commits into from

Conversation

ualers
Copy link

@ualers ualers commented Mar 21, 2024

the old NordVPN API endpoint

https://nordvpn.com/api/server

has been deprecated and now returns {"status": "deprecated"}. As a result, the program was not working properly

the problem was fixed in version 0.3.1

You can now rotate ip in all US states in version 0.3.2, perfect for selenium automation

You can now rotate ip in all US states and a few more countries in version 0.3.3, perfect for selenium automation

@ualers ualers changed the title NordVPN obsolete API issue fixed NordVPN obsolete API issue fixed and demo.py improved Apr 3, 2024
@kauttoj
Copy link

kauttoj commented Apr 17, 2024

I can't get this to work. Updated code never detects that IP has changed and gets stuck.
In the function "get_ip()", this line
ip = urllib.request.urlopen(request_currentip).read().decode('utf-8')
always returns the original IP. However, if I manually open https://api64.ipify.org/ or 'http://ip4only.me/api/' with any browser, I see new IP returned fine. Also my NordVPN clients shows me connected with new IP.

EDIT: Nevermind! It works well. This was my problem with split tunneling in NordVPN which was turned on for some reason.

@ualers ualers closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants