mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
YIFI: handle movies without torrents
This commit is contained in:
@@ -112,7 +112,10 @@ namespace Jackett.Indexers
|
||||
|
||||
foreach (var movie_item in data_items.Value<JToken>("movies"))
|
||||
{
|
||||
foreach (var torrent_info in movie_item.Value<JArray>("torrents"))
|
||||
var torrents = movie_item.Value<JArray>("torrents");
|
||||
if (torrents == null)
|
||||
continue;
|
||||
foreach (var torrent_info in torrents)
|
||||
{
|
||||
var release = new ReleaseInfo();
|
||||
|
||||
|
Reference in New Issue
Block a user