|
@@ -149,8 +149,7 @@ class Scheduler:
|
|
|
@property
|
|
|
def crawl_task(self):
|
|
|
results = {}
|
|
|
- url = 'http://cc.spdata.jianyu360.com/schedule/crawl_task/ybw_scheduler'
|
|
|
- # url = 'http://127.0.0.1:1405/schedule/crawl_task/ybw_scheduler'
|
|
|
+ url = 'http://cc.spdata.jianyu360.com/crawl/ybw/task/fetch'
|
|
|
try:
|
|
|
response = requests.get(url, timeout=10)
|
|
|
if response.status_code == 200:
|