FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SourceCode/python/pytt/config.py at master · pythonsir/SourceCode · GitHub
pythonsir
SourceCode
Repository navigation
Code
Issues
Pull requests
5
(5)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SourceCode
/
python
/
pytt
/
config.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (19 loc) · 419 Bytes
Breadcrumbs
SourceCode
/
python
/
pytt
/
config.py
Copy path
File metadata and controls
26 lines (19 loc) · 419 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
配置文件
'''
class
Config
(
object
):
JOBS
=
[
{
'id'
:
'job'
,
'func'
:
'jobs:job'
,
'args'
:
''
,
'trigger'
:
'interval'
,
'seconds'
:
120
# 抓取数据时间 120s 2分钟
}
]
SCHEDULER_API_ENABLED
=
True
URL
=
{
'jj'
:
'http://fund.eastmoney.com/'
#天天基金
}
Back
|
FazBrowse Home
|
New Git URL