From fe82b65b502fc239c2be10ba2ae2e2b2fa1c8304 Mon Sep 17 00:00:00 2001 From: aemxdp <11le88+3sxhblqfba2o0@sharklasers.com> Date: Sun, 1 Feb 2015 14:14:25 +0200 Subject: [PATCH 1/2] added missing hyphen to encoding specifier --- hide_my_python.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hide_my_python.py b/hide_my_python.py index 2bdbf15..caf8698 100755 --- a/hide_my_python.py +++ b/hide_my_python.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- # # HideMyPython! - A parser for the free proxy list on HideMyAss! # @@ -7,17 +7,17 @@ # It parses the arguments, creates a database, and save the proxies. # # Copyright (C) 2013 Yannick Méheut -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see . From 2e031a8305c35ef301984c7d7a704dfb55583c8e Mon Sep 17 00:00:00 2001 From: aemxdp <11le88+3sxhblqfba2o0@sharklasers.com> Date: Sun, 1 Feb 2015 14:45:38 +0200 Subject: [PATCH 2/2] fixed #3 by renaming module 'parser' to 'proxy_parser' --- hide_my_python.py | 4 ++-- parser.py => proxy_parser.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename parser.py => proxy_parser.py (100%) diff --git a/hide_my_python.py b/hide_my_python.py index caf8698..f95b78a 100755 --- a/hide_my_python.py +++ b/hide_my_python.py @@ -23,7 +23,7 @@ import sys import arguments -import parser +import proxy_parser import database def main(): @@ -43,7 +43,7 @@ def main(): try: # We generate the proxies - for proxy in parser.generate_proxy(args): + for proxy in proxy_parser.generate_proxy(args): # And we store them in the database database.insert_in_database(cursor, proxy) except KeyboardInterrupt: diff --git a/parser.py b/proxy_parser.py similarity index 100% rename from parser.py rename to proxy_parser.py