Spaces:
Sleeping
Sleeping
Commit ·
ca6954c
1
Parent(s): 7bb63b8
fix tvdb
Browse files129 unmodified lines130131132133133134135136129 unmodified lines description = None if cleaned_data['data'].get('translations') and cleaned_data['data']['translations'].get('overviewTranslations'): for overview in cleaned_data['data']['translations']['overviewTranslations']: if overview['language'] == 'eng' and overview.get('isPrimary'): if overview['language'] == 'eng': description = overview.get('overview') break print(f"Description extracted: {description}")tvdb.py+1-1