Fixed provider AvistaZ & CinemaZ optional subtitle Uploader (#2628)

pull/2629/head
Hlib 3 months ago committed by GitHub
parent 8c68fba85d
commit dc9df6814b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -318,7 +318,7 @@ class AvistazNetworkProviderBase(Provider):
release_name = release['Title'].get_text().strip()
lang = lookup_lang(subtitle_cols['Language'].get_text().strip())
download_link = subtitle_cols['Download'].a['href']
uploader_name = subtitle_cols['Uploader'].get_text().strip()
uploader_name = subtitle_cols['Uploader'].get_text().strip() if 'Uploader' in subtitle_cols else None
if lang not in languages:
continue

Loading…
Cancel
Save