Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions hide_my_python.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
#!/usr/bin/env python3
# -*- coding: utf8 -*-
# -*- coding: utf-8 -*-
#
# HideMyPython! - A parser for the free proxy list on HideMyAss!
#
# This file contains the main function of the HideMyPython! script.
# It parses the arguments, creates a database, and save the proxies.
#
# Copyright (C) 2013 Yannick Méheut <useless (at) utouch (dot) fr>
#
#
# 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 <http://www.gnu.org/licenses/>.

import sys
import arguments
import parser
import proxy_parser
import database

def main():
Expand All @@ -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:
Expand Down
File renamed without changes.