From 8f4345521e630d176a4465ff6df3a411fa350df8 Mon Sep 17 00:00:00 2001
From: kaso17 <kaso17@users.noreply.github.com>
Date: Mon, 12 Feb 2018 18:35:20 +0100
Subject: [PATCH] GazelleGames: more fixes

---
 src/Jackett.Common/Indexers/GazelleGames.cs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/Jackett.Common/Indexers/GazelleGames.cs b/src/Jackett.Common/Indexers/GazelleGames.cs
index 40043f52..90037de2 100644
--- a/src/Jackett.Common/Indexers/GazelleGames.cs
+++ b/src/Jackett.Common/Indexers/GazelleGames.cs
@@ -237,7 +237,8 @@ namespace Jackett.Indexers
                 {
                     if (Row.ClassList.Contains("torrent"))
                     {
-                        throw new Exception("Unexpected torrent row found, please report this issue");
+                        // garbage rows
+                        continue;
                     }
                     else if (Row.ClassList.Contains("group"))
                     {
@@ -292,6 +293,8 @@ namespace Jackett.Indexers
                                 continue;
 
                         var Size = qSize.TextContent;
+                        if (string.IsNullOrEmpty(Size)) // external links, example BlazBlue: Calamity Trigger Manual - Guide [GameDOX - External Link]
+                            continue;
                         release.Size = ReleaseInfo.GetBytes(Size);
 
                         release.Link = new Uri(SiteLink + qDLLink.GetAttribute("href"));
-- 
GitLab