diff --git a/src/Jackett.Common/Definitions/nnm-club.yml b/src/Jackett.Common/Definitions/nnm-club.yml index 7b9570b54..75bce8381 100644 --- a/src/Jackett.Common/Definitions/nnm-club.yml +++ b/src/Jackett.Common/Definitions/nnm-club.yml @@ -6,6 +6,8 @@ type: semi-private encoding: windows-1251 links: + - https://nnm-club.me/ + legacylinks: - https://nnm-club.name/ caps: diff --git a/src/Jackett.Common/Indexers/yify.cs b/src/Jackett.Common/Indexers/yify.cs index dc242417a..3cc58b9ce 100644 --- a/src/Jackett.Common/Indexers/yify.cs +++ b/src/Jackett.Common/Indexers/yify.cs @@ -112,7 +112,10 @@ namespace Jackett.Indexers foreach (var movie_item in data_items.Value("movies")) { - foreach (var torrent_info in movie_item.Value("torrents")) + var torrents = movie_item.Value("torrents"); + if (torrents == null) + continue; + foreach (var torrent_info in torrents) { var release = new ReleaseInfo();