linux-cli-community
linux-cli-community copied to clipboard
fix: add uid to fetch full list of free servers
Without the x-pm-uid header, the server list, especially the free ones, returned by the API is unbelievably reduced (10 compared to actual number of 68).
The main problem is getting this uid needs to view cookies in the protonvpn dashboard, find a cookie named AUTH-{uid} and copy the uid out of its name.
I have deployed my branch on my pc, and then the cli can connect whatever server is displayed in the protonvpn dashboard.