Skip to content

Commit 9185e4a

Browse files
committed
update README
1 parent d22d7f8 commit 9185e4a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,5 @@ nsfc build
9797
- 后续有数据时会再更新
9898

9999
#### 更新记录
100-
- [2021-11-10] version 2.0.3
101-
- update base_url of Official
102-
- update url of Official.get_conclusion_data
100+
- [2022-01-14] version 2.0.4
101+
- update the urls of Official

nsfc/src/medsci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def search(cls, page=1, txtitle='', project_classname_list='', date_begin='', da
2626
soup = WR.get_soup(cls.url, params=params)
2727
total_count = int(re.findall(r'\d+', soup.select_one('.list-result').text)[0])
2828
total_page = math.ceil(total_count / 15.)
29-
click.secho(f'total page: {total_page}, total count: {total_count}', err=True, fg='yellow')
29+
click.secho(f'total page: {total_page}, total count: {total_count} [{params}]', err=True, fg='yellow')
3030

3131
if total_count == 500:
3232
click.secho(f'too many results: {params}, searching by each project ...', err=True, fg='yellow')

nsfc/version/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"author": "suqingdong",
55
"author_email": "[email protected]",
66
"baidu_data": "链接: https://pan.baidu.com/s/1eadrfUg1ovBF1EAXWSTV-w 提取码: 2nw5",
7-
"version": "2.0.3"
7+
"version": "2.0.4"
88
}

0 commit comments

Comments
 (0)