Simple HTTP/HTTPS proxy checker written with Python and push all good proxies to MYSQL DB
you can save all good proxies to SQL DB with the MySqlDB library. import .sql file to PHPMyAdmin and start the program
First, you need to get rid of problems with executing permissions, so to do that, open the terminal and say:
chmod +x prox.py
--
-- Table structure for table `proxy`
--
CREATE TABLE `proxy` (
`id` int(4) NOT NULL,
`proxy` text NOT NULL,
`checked_time_input` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
mydb = MySQLdb.connect(host='localhost',
user='',
passwd='',
db='proxy')
cursor = mydb.cursor()
./prox.py -f <FILENAME>
./prox.py -p <IP:PORT>