8kun hotfix

This commit is contained in:
2019-12-17 13:07:43 -05:00
parent 4083048bde
commit 381468a463
5 changed files with 60 additions and 63 deletions

4
run.py
View File

@@ -21,7 +21,7 @@ BYPASS_RPS = False
class ChanScanner:
def __init__(self, helper, proxy):
self.web = Web(monitoring if MONITORING else None, rps=helper.rps, proxy=proxy)
self.web = Web(monitoring if MONITORING else None, rps=helper.rps, get_method=helper.get_method, proxy=proxy)
self.helper = helper
self.state = ChanState()
@@ -142,7 +142,7 @@ class ChanState:
def publish_worker(queue: Queue, helper, p):
channel = connect()
web = Web(monitoring if MONITORING else None, rps=helper.rps, proxy=p)
web = Web(monitoring if MONITORING else None, rps=helper.rps, get_method=helper.get_method, proxy=p)
while True:
try: