cnki:单一来源(左侧导航)api

main
zhaoxiangpeng 4 weeks ago
parent 7920eaebbc
commit bedba6c83f

@ -31,6 +31,9 @@ CNKI_ARTICLE_DETAIL = 'https://kns.cnki.net/kcms/detail/detail.aspx?dbcode={db_c
# -- 旧版的接口 # -- 旧版的接口
CNKI_ADV_SEARCH_API = 'https://kns.cnki.net/kns8s/brief/grid' CNKI_ADV_SEARCH_API = 'https://kns.cnki.net/kns8s/brief/grid'
# 单一来源(左侧导航)
SIGNAL_RESULT_API = "https://kns.cnki.net/kns8s/group/singleresult?language=CHS&uniplatform=NZKPT"
# 搜索用的请求头 # 搜索用的请求头
SEARCH_HEADERS = { SEARCH_HEADERS = {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
@ -86,3 +89,5 @@ TABLE_HEAD = ['SrcDatabase-来源库', 'Title-题名', 'Author-作者', 'Organ-
TABLE_HEAD_EN = ['src_db', 'title', 'author', 'org', 'journal', 'keyword', 'abstract', 'pub_time', 'first_duty', 'fund', 'year', 'volum', 'issue', 'page', 'classification_code', 'issn', 'url', 'doi'] TABLE_HEAD_EN = ['src_db', 'title', 'author', 'org', 'journal', 'keyword', 'abstract', 'pub_time', 'first_duty', 'fund', 'year', 'volum', 'issue', 'page', 'classification_code', 'issn', 'url', 'doi']
# 每次下载数量 # 每次下载数量
BATCH_DOWNLOAD_LIMIT = 50 BATCH_DOWNLOAD_LIMIT = 50
# 每页搜索结果的数量
BATCH_SEARCH_RESULT_LIMIT = 50

Loading…
Cancel
Save