the-useless-one / hide_my_python

A parser for the free proxy list on HideMyAss!
GNU General Public License v3.0
57 stars 23 forks source link

run it from anywhere #1

Closed josefson closed 10 years ago

josefson commented 10 years ago

Would be possible to port the code in order to execute the hide_my_python from anywhere but it's folder? I mean, every time i wanna do this i have to cd into its folder? It doesn't find the countries file. maybe if you get the hide_my_python.py dir with path = os.path.dirname(os.path.abspath(file)) path = path + '/countries_all'

the-useless-one commented 10 years ago

Hi josefson,

I just changed the argument parser, so that the default value for the country file is the full path to it. Please, let me know whether it solves your problem or not.

Cheers,

Y

josefson commented 10 years ago

Thank you! Worked pretty well. I will get this comment to thank you for this software. I myself tried to do that with a parsing library only to find how hidemyass obfuscated all the html tags. So i started to search for a solution since i knew i was not the only person in the world who needed it. So, thank you. And it is working nicely!

the-useless-one commented 10 years ago

Thanks man, hope you find it useful ;)