topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 10, 2024, 2:15 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [REQ] VPN Gate OVPN Configs Downloader  (Read 8392 times)

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
[REQ] VPN Gate OVPN Configs Downloader
« on: November 30, 2019, 09:39 PM »
I would like some program to download the OpenVPN config files *.ovpn from VPN Gate server list
With filtering options, as IP, Country, Name, etc
At this time the only tool with this is OVfinder, a Chrome Extension
https://chrome.googl...ooachioonbkjbbddclpe
This one is good, however I think is better if we can make this from a desktop program :P

VPN Gate website
https://www.vpngate.net/en/
Scroll down a bit to view the list of all *.ovpn config files available for you

base64-encoded, the list is available always as csv too here
http://www.vpngate.net/api/iphone/

https://twitter.com/...s/374470046925336576

I guess that's what Ovfinder uses to give the list.

ovfinder in chrome webstore
https://chrome.googl...ooachioonbkjbbddclpe

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #1 on: December 02, 2019, 09:20 AM »
Hello c-sanchez!

As I begin December's coding, I can do this one for you :Thmbsup:

Please tell me what do you want to achieve with this (exactly).

Is the whole program based on parsing http://www.vpngate.net/api/iphone/ to extract everything?

Should the filtering be done multiple times on the resulting files after they're written to your computer (i.e. download in bulk then filter multiple times)?

Is this the case?

Do feel free to express at ease for us to engage!

Cheers!
Vic
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com
« Last Edit: December 02, 2019, 09:42 AM by publicdomain »

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #2 on: December 03, 2019, 06:21 AM »
Not heavily tested but the basics are working...

You're free to modify it, but reference to my user account name here if you do this...

After you've downloaded the servers (via the belonging button), select one or more (via holding shift or ctrl) in the listview and click on the "Save config(s)" button.
You may want to choose a different path via the "Choose" button first, because the C:\ root may not be writable without appropriate permissions...
« Last Edit: December 04, 2019, 05:24 AM by highend01 »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #3 on: December 04, 2019, 05:33 PM »
Not heavily tested but the basics are working...

You're free to modify it, but reference to my user account name here if you do this...

After you've downloaded the servers (via the belonging button), select one or more (via holding shift or ctrl) in the listview and click on the "Save config(s)" button.
You may want to choose a different path via the "Choose" button first, because the C:\ root may not be writable without appropriate permissions...
Thanks highend01, that works nice! :D

If possible add some information from the download
or that if it is not possible to have the size of the download first then how much mb or bytes have been downloaded

It's a bit confusing don't have some kind of information like that and just seeing a "working" window :P
This can be useful specially if we have a slow internet connection or if was disconnected during download, you know, to know what is happening.

In any case the program works perfectly, thank you very so much! :D

Hello c-sanchez!

As I begin December's coding, I can do this one for you :Thmbsup:
Vic
Hi publicdomain! thanks for your reply, as you can see highend01 did exactly what I wanted, however I think can be nice view some other tool with the same idea, other implementation :P
Maybe some C++ version or some other programming language would be nice.

How can you make this? Just curiousity heh

By ohter side, just in case, I don't despise what highend01 did, don't get me wrong.
That tool was made really cool, I like the simple and effective things :D

Please tell me what do you want to achieve with this (exactly).
-publicdomain
Well, I usually use vpngate to avoid the download limit of some sites like mega, nothing illegal I think haha, also is much better than download the full VPN Gate Client, since with have the config files and openvpn installed in the system is enough, even exist some openvpn portable!

Is the whole program based on parsing http://www.vpngate.net/api/iphone/ to extract everything?
-publicdomain
Yup, I guess is the best way to do :P

Should the filtering be done multiple times on the resulting files after they're written to your computer (i.e. download in bulk then filter multiple times)?

Is this the case?
-publicdomain
As highend01 did, download the base64-encoded csv list, decode this, show the list, and allow download any config, I'm not sure how is downloaded that.

All configs are downloaded locally is some temporary directory?
Are downloaded via individual links?

Do feel free to express at ease for us to engage!
-publicdomain

Thank you so much for all guys!
Are the best :D

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #4 on: December 05, 2019, 04:05 AM »
With a download progress bar...

2019-12-05_110557.png[REQ] VPN Gate OVPN Configs Downloader

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #5 on: December 05, 2019, 07:24 AM »
haha, thanks a billion highend01! :D

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #6 on: January 23, 2020, 10:46 AM »
Hey highend01 I have a small request, is possible make the progress bar part of main window?

In the current way, the program have some "bugs"
* The progress window is always visible, even as we open other windows
* The 'Download servers' and 'Save config(s)' buttons are wasting window space
* Can look better ;P

Original


A idea example


The same but inverted :P



highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #7 on: January 23, 2020, 11:53 AM »
You have the sourcecode^^

Use a progress bar instead and move the buttons...

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #8 on: January 23, 2020, 12:22 PM »
I have not much programming skills, but by your words I guess is easy, maybe changing some "window" value by "progressbar" and moving the things in the source?
Well I will check then, but that, I don't have the skills I'd like, even with a "simple" language as AHK:P
« Last Edit: January 23, 2020, 12:33 PM by c-sanchez »

c-sanchez

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 46
    • View Profile
    • Donate to Member
Re: [REQ] VPN Gate OVPN Configs Downloader
« Reply #9 on: January 23, 2020, 01:58 PM »
And yes... I have not idea