Skip to content

Commit

Permalink
fix: wiki fields (fix #255)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqzw-x committed Sep 7, 2024
1 parent 1cc1a88 commit 677884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/tools/emby_actor_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def _get_wiki_detail(url, url_log, actor_info: EMbyActressInfo):
actor_profile = actor_output.find(name='table', class_=['infobox', 'infobox vcard plainlist'])
if actor_profile:
att_keys = actor_profile.find_all(scope=["row"])
att_values = actor_profile.find_all(name='td', style=[''])
att_values = actor_profile.find_all(name='td', style=[''], class_=['infobox-data', 'infobox-data org'])
bday = actor_output.find(class_='bday')
bday = '(%s)' % bday.get_text('', strip=True) if bday else ''
if att_keys and att_values:
Expand Down

0 comments on commit 677884b

Please sign in to comment.