Commit 98bafed6 authored by Jalin's avatar Jalin

增加 requirements.txt

parent bcf1f623
......@@ -18,7 +18,7 @@ def main():
Query.run()
if not Const.IS_TEST:
while True:
sleep(1)
sleep(10000)
CommonLog.test_complete()
......
from os import path
# from py12306.helpers.config import Config
# 12306 账号
USER_ACCOUNTS = []
......
# from py12306.config import get_value_by_key
from py12306.config import get_value_by_key
class BaseConfig:
AA = 'USER_ACCOUNTS'
class Config(BaseConfig):
@classmethod
def get(cls, key, default=None):
self = cls()
return get_value_by_key(key);
appdirs==1.4.3
beautifulsoup4==4.7.0
bs4==0.0.1
certifi==2018.11.29
chardet==3.0.4
cssselect==1.0.3
fake-useragent==0.1.11
idna==2.8
lxml==4.3.0
parse==1.9.0
pyee==5.0.0
pyppeteer==0.0.25
pyquery==1.4.0
requests==2.21.0
requests-html==0.9.0
six==1.12.0
soupsieve==1.6.2
tqdm==4.28.1
urllib3==1.24.1
w3lib==1.19.0
websockets==7.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment