diff --git a/libs/subliminal_patch/providers/yifysubtitles.py b/libs/subliminal_patch/providers/yifysubtitles.py index bd1a1102a..21cc3eac9 100644 --- a/libs/subliminal_patch/providers/yifysubtitles.py +++ b/libs/subliminal_patch/providers/yifysubtitles.py @@ -147,7 +147,9 @@ class YifySubtitlesProvider(Provider): if response.status_code == 200: break - response.raise_for_status() + # 404 is returned if the imdb_id was not found + if response.status_code != 404: + response.raise_for_status() if response.status_code != 200: logger.debug('No subtitles found')