|
@@ -43,7 +43,7 @@ class Qinimg(object):
|
|
|
def __init__(self):
|
|
|
self.sess = requests.Session()
|
|
|
# set proxy
|
|
|
- self.sess.proxies = {"http": "http://127.0.0.1:2181", "https": "http://127.0.0.1:2181"}
|
|
|
+ # self.sess.proxies = {"http": "http://127.0.0.1:2181", "https": "http://127.0.0.1:2181"}
|
|
|
self.conn = sqlite3.connect('xiaohua.db')
|
|
|
self.cursor = self.conn.cursor()
|
|
|
self.init_database()
|