Spaces:
Sleeping
Sleeping
Commit ·
ca6954c
1
Parent(s): 7bb63b8
fix tvdb
Browse files129 unmodified lines130131132133134135136129 unmodified linesdescription = Noneif 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'):description = overview.get('overview')breakprint(f"Description extracted: {description}")129 unmodified lines130131132133134135136129 unmodified linesdescription = Noneif cleaned_data['data'].get('translations') and cleaned_data['data']['translations'].get('overviewTranslations'):for overview in cleaned_data['data']['translations']['overviewTranslations']:if overview['language'] == 'eng':description = overview.get('overview')breakprint(f"Description extracted: {description}")
tvdb.py+1-1