Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Germey/ProxyPool
/ functions
Functions
47 in github.com/Germey/ProxyPool
⨍
Functions
47
◇
Types & classes
9
↳
Endpoints
3
↓ 9 callers
Method
get
get proxies from redis
proxypool/db.py:13
↓ 8 callers
Function
get_page
(url, options={})
proxypool/utils.py:8
↓ 3 callers
Method
run
(self)
proxypool/schedule.py:133
↓ 2 callers
Function
get_conn
Opens a new redis connection if there is none yet for the current application context.
proxypool/api.py:10
↓ 2 callers
Function
get_proxy
()
examples/example_round_proxy.py:7
↓ 2 callers
Method
is_over_threshold
judge if count is overflow.
proxypool/schedule.py:72
↓ 2 callers
Method
pop
get proxy from right.
proxypool/db.py:27
↓ 2 callers
Method
set_raw_proxies
(self, proxies)
proxypool/schedule.py:23
↓ 2 callers
Method
test
aio test all proxies.
proxypool/schedule.py:48
↓ 1 callers
Method
__init__
(self)
proxypool/error.py:12
↓ 1 callers
Method
add_to_queue
(self)
proxypool/schedule.py:81
↓ 1 callers
Function
crawl
(url, proxy)
examples/example.py:16
↓ 1 callers
Function
crawl
(url, proxy)
examples/example_round_proxy.py:17
↓ 1 callers
Method
download
(self)
proxypool/utils.py:44
↓ 1 callers
Method
download_single_page
(self, url)
proxypool/utils.py:39
↓ 1 callers
Function
get_count_proxys
()
examples/example_round_proxy.py:12
↓ 1 callers
Function
get_proxy
()
examples/example.py:10
↓ 1 callers
Method
get_raw_proxies
(self, callback)
proxypool/getter.py:25
↓ 1 callers
Function
main
()
run.py:4
↓ 1 callers
Function
main
()
examples/example.py:22
↓ 1 callers
Function
main
()
examples/example_round_proxy.py:22
↓ 1 callers
Method
put
add proxy to right top
proxypool/db.py:21
↓ 1 callers
Method
test_single_proxy
text one proxy, if valid, put them to usable_proxies.
proxypool/schedule.py:27
Method
__init__
(self, host=HOST, port=PORT)
proxypool/db.py:7
Method
__init__
(self)
proxypool/schedule.py:19
Method
__init__
(self, threshold)
proxypool/schedule.py:66
Method
__init__
(self, urls)
proxypool/utils.py:35
Method
__init__
(self)
proxypool/error.py:3
Method
__new__
(cls, name, bases, attrs)
proxypool/getter.py:13
Method
__str__
(self)
proxypool/error.py:6
Method
__str__
(self)
proxypool/error.py:15
Method
check_pool
If the number of proxies less than lower_threshold, add proxy
proxypool/schedule.py:120
Method
crawl_daili66
(self, page_count=4)
proxypool/getter.py:69
Method
crawl_data5u
(self)
proxypool/getter.py:83
Method
crawl_ip181
(self)
proxypool/getter.py:33
Method
crawl_kuaidaili
(self)
proxypool/getter.py:43
Method
crawl_kxdaili
(self)
proxypool/getter.py:96
Method
crawl_premproxy
(self)
proxypool/getter.py:107
Method
crawl_xicidaili
(self)
proxypool/getter.py:56
Method
crawl_xroxy
(self)
proxypool/getter.py:118
Method
flush
flush db
proxypool/db.py:43
Function
get_counts
Get the count of proxies
proxypool/api.py:35
Function
get_proxy
Get a proxy
proxypool/api.py:26
Method
htmls
(self)
proxypool/utils.py:50
Function
index
()
proxypool/api.py:21
Method
queue_len
get length from queue.
proxypool/db.py:37
Method
valid_proxy
Get half of proxies which in redis
proxypool/schedule.py:101