mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
使用https
This commit is contained in:
@@ -8,7 +8,7 @@ class CeBaidu(Query):
|
|||||||
self.domain = self.register(domain)
|
self.domain = self.register(domain)
|
||||||
self.module = 'Dataset'
|
self.module = 'Dataset'
|
||||||
self.source = 'CeBaiduQuery'
|
self.source = 'CeBaiduQuery'
|
||||||
self.addr = 'http://ce.baidu.com/index/getRelatedSites'
|
self.addr = 'https://ce.baidu.com/index/getRelatedSites'
|
||||||
|
|
||||||
def query(self):
|
def query(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class So(Search):
|
|||||||
self.domain = domain
|
self.domain = domain
|
||||||
self.module = 'Search'
|
self.module = 'Search'
|
||||||
self.source = 'SoSearch'
|
self.source = 'SoSearch'
|
||||||
self.addr = 'http://www.so.com/s'
|
self.addr = 'https://www.so.com/s'
|
||||||
self.limit_num = 640 # 限制搜索条数
|
self.limit_num = 640 # 限制搜索条数
|
||||||
self.per_page_num = 10 # 默认每页显示10页
|
self.per_page_num = 10 # 默认每页显示10页
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user