完成分布式查询

This commit is contained in:
Jalin
2019-01-09 11:14:49 +08:00
parent 8f681c5e30
commit 7d5b8e2b80
21 changed files with 509 additions and 136 deletions

View File

@@ -1,4 +1,3 @@
from py12306.helpers.app import *
from py12306.helpers.func import *
from requests_html import HTMLSession, HTMLResponse
@@ -38,7 +37,7 @@ class Request(HTMLSession):
重写 json 方法,拦截错误
:return:
"""
from py12306.helpers.app import Dict
from py12306.app import Dict
try:
result = self.old_json()
return Dict(result)