1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 10:50:47 +00:00

cinemaz/avistaz: fix response without results. resolves #10884 (#10977)

This commit is contained in:
Diego Heras 2021-01-31 12:00:12 +01:00 committed by GitHub
parent e3b98c826e
commit df17ac8146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,6 +165,8 @@ without this configuration the torrent download does not work.<br/>You can find
await RenewalTokenAsync();
response = await RequestWithCookiesAndRetryAsync(episodeSearchUrl, headers: GetSearchHeaders());
}
else if (response.Status == HttpStatusCode.NotFound)
return releases; // search without results, eg CinemaZ: tt0075998
else if (response.Status != HttpStatusCode.OK)
throw new Exception($"Unknown error: {response.ContentString}");