diff --git a/hide_my_python.py b/hide_my_python.py index 2bdbf15..f95b78a 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,23 +7,23 @@ # 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 . 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