Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing error with tracker Zelka.org #10660

Closed
eevlogiev opened this issue Dec 29, 2020 · 4 comments
Closed

Parsing error with tracker Zelka.org #10660

eevlogiev opened this issue Dec 29, 2020 · 4 comments

Comments

@eevlogiev
Copy link

eevlogiev commented Dec 29, 2020

Environment

OS: Docker

.Net Runtime: [.Net-Core/.Net-Framework/Mono]

.Net Version:

Jackett Version: Jackett Version v0.17.159

Last Working Jackett Version:

Are you using a proxy or VPN? no

Description

When searching in Zelka.org I am getting some parsing error. check logs below.

Logged Error Messages

CardigannIndexer (zelkaorg): Error while parsing row '
<tr onmouseover="this.style.backgroundColor='#fafafa'" onmouseout="this.style.backgroundColor=''">
	<td align="center" style="padding: 0px;" width="48">
		<a href="browse.php?cat=19">
			<img border="0" src="http://img.zamunda.se/pic/nicons/movies_xvid.gif" alt="Филми/XviD" title="Филми/XviD">
		</a>
	</td>
	<td align="left">
		<a href="details.php?id=54535" onmouseover="Tip('<div style=\'min-width:275px;\'><p class=\'pop\'>The deer hunter (1978).torrent</p><img style=\'float:left;margin:0px 5px 2px 2px;\' src=http://img2.zamunda.se/posters/92795ca7ab26f3693d88d494d5d18d5a.jpg width=90><div style=\'float: left;\'><p class=\'pop\'><img src=\'http://img.zamunda.se/bitbucket/IMDb_logo.png\'>&nbsp;<span style=\'position:relative;top:-4px;\'>8.2/10&nbsp;(0&nbsp;гласа)</span></p><p class=\'pop\'><div style=\'left:5px;\'><p class=\'pop\'><b>Жанр:</b></p><p class=\'pop\'>Драма</p><p class=\'pop\'>Военен</p><p class=\'pop\'>Трилър</div></p></div></div>')" onmouseout="UnTip();">
			<b>The Deer Hunter / Ловецът на елени (1978)</b>
		</a><img src="http://img.zamunda.se/pic/flag_bgsub.gif" border="0" alt="с български субтитри" title="с български субтитри"><a href="viewnfo.php?id=54535">
			<img src="http://img.zamunda.se/pic/viewnfo.gif" border="0" alt="Виж NFO" title="Виж NFO">
		</a>
		<a href="download.php/54535/The%20deer%20hunter%20%281978%29.torrent">
			<img src="http://img.zamunda.se/pic/download.gif" border="0" alt="Свали" title="Свали">
		</a></td>
	<td align="right">
		<b>
			<a href="details.php?id=54535&amp;hit=1&amp;tocomm=1">25</a>
		</b>
	</td>
	<td align="center">
		<img src="http://img.zamunda.se/pic/5.gif" border="0" alt="Рейтинг: 4.8 / 5" title="Рейтинг: 4.8 / 5">
	</td>
	<td align="center">
		<nobr>2006-08-28<br>21:49:22</nobr>
	</td>
	<td align="center">1.37<br>GB</td>
	<td align="center">8,838<br>пъти</td>
	<td align="right">
		<b>
			<a href="details.php?id=54535&amp;hit=1">
				<font color="#000000">4</font>
			</a>
		</b>
	</td>
	<td align="right">0</td>
</tr>':

System.Exception: Error while parsing field=magnet, selector=a:has(img[src$="/pic/magnet-icon-12w-12h.gif"]), value=<null>: Selector "a:has(img[src$="/pic/magnet-icon-12w-12h.gif"])" didn't match 
<tr onmouseover="this.style.backgroundColor='#fafafa'" onmouseout="this.style.backgroundColor=''">
	<td align="center" style="padding: 0px;" width="48">
		<a href="browse.php?cat=19">
			<img border="0" src="http://img.zamunda.se/pic/nicons/movies_xvid.gif" alt="Филми/XviD" title="Филми/XviD">
		</a>
	</td>
	<td align="left">
		<a href="details.php?id=54535" onmouseover="Tip('<div style=\'min-width:275px;\'><p class=\'pop\'>The deer hunter (1978).torrent</p><img style=\'float:left;margin:0px 5px 2px 2px;\' src=http://img2.zamunda.se/posters/92795ca7ab26f3693d88d494d5d18d5a.jpg width=90><div style=\'float: left;\'><p class=\'pop\'><img src=\'http://img.zamunda.se/bitbucket/IMDb_logo.png\'>&nbsp;<span style=\'position:relative;top:-4px;\'>8.2/10&nbsp;(0&nbsp;гласа)</span></p><p class=\'pop\'><div style=\'left:5px;\'><p class=\'pop\'><b>Жанр:</b></p><p class=\'pop\'>Драма</p><p class=\'pop\'>Военен</p><p class=\'pop\'>Трилър</div></p></div></div>')" onmouseout="UnTip();">
			<b>The Deer Hunter / Ловецът на елени (1978)</b>
		</a><img src="http://img.zamunda.se/pic/flag_bgsub.gif" border="0" alt="с български субтитри" title="с български субтитри"><a href="viewnfo.php?id=54535">
			<img src="http://img.zamunda.se/pic/viewnfo.gif" border="0" alt="Виж NFO" title="Виж NFO">
		</a>
		<a href="download.php/54535/The%20deer%20hunter%20%281978%29.torrent">
			<img src="http://img.zamunda.se/pic/download.gif" border="0" alt="Свали" title="Свали">
		</a></td>
	<td align="right">
		<b>
			<a href="details.php?id=54535&amp;hit=1&amp;tocomm=1">25</a>
		</b>
	</td>
	<td align="center">
		<img src="http://img.zamunda.se/pic/5.gif" border="0" alt="Рейтинг: 4.8 / 5" title="Рейтинг: 4.8 / 5">
	</td>
	<td align="center">
		<nobr>2006-08-28<br>21:49:22</nobr>
	</td>
	<td align="center">1.37<br>GB</td>
	<td align="center">8,838<br>пъти</td>
	<td align="right">
		<b>
			<a href="details.php?id=54535&amp;hit=1">
				<font color="#000000">4</font>
			</a>
		</b>
	</td>
	<td align="right">0</td>
</tr>
   at Jackett.Common.Indexers.CardigannIndexer.PerformQuery(TorznabQuery query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/CardigannIndexer.cs:line 1522

Screenshots

Screenshot 2020-12-29 at 17 19 14

@ilike2burnthing
Copy link
Contributor

Is this for all results or just an occasional one? If you look at those results on zelka.org, do they have a magnet download option, or just torrent? Is there an option in your user settings to show/hide magnets?

@eevlogiev
Copy link
Author

@ilike2burnthing ,
Thank you for the prompt reply. So it looks like this error happens only for search results where there is NO magnet link. I just tried with another search and same thing happened:
Screenshot 2020-12-29 at 22 19 09
Screenshot 2020-12-29 at 22 19 17

However when I tried with another search where all the results are with Magnet download, I don't see any error messages.

Obviously the older torrents in this tracker don't have magnet download and Jackett cannot parse these results. Is there any way to have this fixed?

PS: There is no way to show/hide magnets in my tracker profile.

@ilike2burnthing
Copy link
Contributor

ilike2burnthing commented Dec 29, 2020

Thanks for the info, I've made magnets optional.

The fix will be available in the next release. If that's not available in about 9hrs (not sure if there's an issue with new builds being published at the moment), then you can make the change yourself, or use a temporary indexer with the change - #10646 (comment)

EDIT: next build will be published here in about an hour and a half, and then whatever time it takes for LS.io to put it up on Docker Hub.

@ilike2burnthing
Copy link
Contributor

v0.17.166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants