mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-10-08 08:48:12 +08:00
refactor:优化部分代码
feat: 增加IP代理账号池
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# account_config.py
|
||||
|
||||
PHONE_LIST = [
|
||||
"13012345671",
|
||||
"13012345672",
|
||||
"13012345673",
|
||||
"13012345674",
|
||||
"13012345675",
|
||||
"13012345676",
|
||||
# ...
|
||||
]
|
||||
|
||||
IP_PROXY_LIST = [
|
||||
"111.122.xx.xx1:8888",
|
||||
"111.122.xx.xx2:8888",
|
||||
"111.122.xx.xx3:8888",
|
||||
"111.122.xx.xx4:8888",
|
||||
"111.122.xx.xx5:8888",
|
||||
"111.122.xx.xx6:8888",
|
||||
# ...
|
||||
]
|
||||
|
||||
IP_PROXY_PROTOCOL = "http://"
|
||||
IP_PROXY_USER = "xxxx"
|
||||
IP_PROXY_PASSWORD = "xxxx"
|
||||
|
||||
Reference in New Issue
Block a user