Skip to content

Commit

Permalink
fix tianyancha
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesPikachu committed May 6, 2022
1 parent eb1799c commit 60813a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@

**2022-05-06**

- 版本号: v0.1.19,
- 版本号: v0.1.19-v0.1.20,
- 更新内容: 支持天眼查。
2 changes: 1 addition & 1 deletion pytools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'''url'''
__url__ = 'https://github.com/CharlesPikachu/pytools'
'''version'''
__version__ = '0.1.19'
__version__ = '0.1.20'
'''author'''
__author__ = 'Charles'
'''email'''
Expand Down
2 changes: 1 addition & 1 deletion pytools/modules/tianyancha/tianyancha.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def query(self):
# 基本信息提取
company_info = {'未查询到该公司相关的信息': ''}
if data:
company = data['companyList'][0]
company, brand_and_agency = data['companyList'][0], {}
for item in data['brandAndAgencyList']:
if item['graphId'] == company['id']:
brand_and_agency = item
Expand Down

0 comments on commit 60813a9

Please sign in to comment.