Merge pull request #770 from IIIspaceIII/feature/provider-titrari-ro

Feature/provider titrari ro
pull/785/head
morpheus65535 5 years ago committed by GitHub
commit 6c3a0ba354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -196,7 +196,12 @@ class TitrariProvider(Provider, ProviderSubtitleArchiveMixin):
def list_subtitles(self, video, languages):
title = fix_inconsistent_naming(video.title)
imdb_id = video.imdb_id[2:]
imdb_id = None
try:
imdb_id = video.imdb_id[2:]
except:
logger.error("[#### Provider: titrari.ro] Error parsing video.imdb_id.")
return [s for s in
self.query(languages, title, imdb_id, video)]

Loading…
Cancel
Save