Newzbin now parses the language out properly.

Fetch episode filters episodes from wrong series
pull/3113/head
kay.one 14 years ago
parent 6393d0a3f9
commit 8d12630856

@ -0,0 +1,577 @@
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xml:lang="en-GB"
xmlns:report="http://www.newzbin.com/DTD/2007/feeds/report/">
<channel>
<title>www.newzbin.com (reports)</title>
<link>http://www.newzbin.com/search/query/?q=plain+sight+1x11&#38;area=-1&#38;fpn=p&#38;searchaction=Go&#38;btnG_x=0&#38;btnG_y=0&#38;btnG=Go&#38;areadone=-1</link>
<description>Newzbin Reports Feed</description>
<pubDate>Sun, 10 Jul 2011 19:26:13 GMT</pubDate>
<ttl>42</ttl>
<generator>www.newzbin.com - Usenet Search</generator>
<copyright>Copyright (c) 2002 - 2007 Newzbin Limited. All Rights Reserved.</copyright>
<image>
<url>http://www.newzbin.com/m/i/logo/newzbinv3.png</url>
<link>http://www.newzbin.com/search/query/?q=plain+sight+1x11&#38;area=-1&#38;fpn=p&#38;searchaction=Go&#38;btnG_x=0&#38;btnG_y=0&#38;btnG=Go&#38;areadone=-1</link>
<title>www.newzbin.com</title>
<description>Visit Newzbin.com - The Ultimate In Usenet Indexing</description>
</image>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/6168058/</guid>
<link>http://www.newzbin.com/browse/post/6168058/</link>
<comments>http://www.newzbin.com/browse/post/6168058/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/6168058">6168058</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=6168058">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/6168058/nzb/">NZB</a>)
(<a href="http://www.newzbin.com/nfo/view/txt/393774229/">NFO</a>)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 401.0MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - German
</li>
<li>Groups: alt.binaries.tv.deutsch, alt.binaries.ath, alt.binaries.ghosts</li>
<li>Poster: GhostUp10Special &#60;Besuche.uns@ghost-of-usenet.org&#62;</li>
<li>PostDate: Thursday 05 May 2011, 04:43PM PDT</li>
</ul> ]]>
</description>
<report:id>6168058</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.tv.deutsch</report:group>
<report:group>alt.binaries.ath</report:group>
<report:group>alt.binaries.ghosts</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>393774229</report:fileid>
<report:filename>deli-inplainsightxvid-s01e11.nfo</report:filename>
<report:link>http://www.newzbin.com/nfo/view/txt/393774229/</report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/6168058/nzb/</report:nzb>
<report:poster>GhostUp10Special &#60;Besuche.uns@ghost-of-usenet.org&#62;</report:poster>
<report:size type="bytes">420447818</report:size>
<report:postdate>Thu, 05 May 2011 23:43:45 GMT</report:postdate>
<report:stats>
<report:views>4</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/6168058/nzb/"
length="420447818" type="application/x-nzb" />
<pubDate>Fri, 17 Jun 2011 05:09:03 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/6161398/</guid>
<link>http://www.newzbin.com/browse/post/6161398/</link>
<comments>http://www.newzbin.com/browse/post/6161398/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/6161398">6161398</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=6161398">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/6161398/nzb/">NZB</a>)
(<a href="http://www.newzbin.com/nfo/view/txt/300006301/">NFO</a>)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 409.7MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - Italian
</li>
<li>Groups: alt.binaries.tv</li>
<li>Poster: Bombvis (Bombvis)</li>
<li>PostDate: Tuesday 06 Apr 2010, 04:52AM PDT</li>
</ul> ]]>
</description>
<report:id>6161398</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">English</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.tv</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>300006301</report:fileid>
<report:filename>tpz-inplainsight111.nfo</report:filename>
<report:link>http://www.newzbin.com/nfo/view/txt/300006301/</report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/6161398/nzb/</report:nzb>
<report:poster>Bombvis (Bombvis)</report:poster>
<report:size type="bytes">429553520</report:size>
<report:postdate>Tue, 06 Apr 2010 11:52:26 GMT</report:postdate>
<report:stats>
<report:views>5</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/6161398/nzb/"
length="429553520" type="application/x-nzb" />
<pubDate>Mon, 13 Jun 2011 08:17:25 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/6108215/</guid>
<link>http://www.newzbin.com/browse/post/6108215/</link>
<comments>http://www.newzbin.com/browse/post/6108215/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/6108215">6108215</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=6108215">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/6108215/nzb/">NZB</a>)
(<a href="http://www.newzbin.com/nfo/view/txt/393598550/">NFO</a>)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 403.2MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - German, English
</li>
<li>Groups: alt.binaries.mom, alt.binaries.tv.german</li>
<li>Poster: Zzzzzzz &#60;Zzzzzzz@Zzzzzzz.Zz&#62;</li>
<li>PostDate: Thursday 05 May 2011, 06:18AM PDT</li>
</ul> ]]>
</description>
<report:id>6108215</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.mom</report:group>
<report:group>alt.binaries.tv.german</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>393598550</report:fileid>
<report:filename>In.Plain.Sight.S01E11.Die.falsche.Schwester.German.WS.DVDRip.XviD-DELiCiOUS__www.realmom.info__.nfo</report:filename>
<report:link>http://www.newzbin.com/nfo/view/txt/393598550/</report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/6108215/nzb/</report:nzb>
<report:poster>Zzzzzzz &#60;Zzzzzzz@Zzzzzzz.Zz&#62;</report:poster>
<report:size type="bytes">422762521</report:size>
<report:postdate>Thu, 05 May 2011 13:18:03 GMT</report:postdate>
<report:stats>
<report:views>4</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/6108215/nzb/"
length="422762521" type="application/x-nzb" />
<pubDate>Mon, 09 May 2011 07:35:25 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5955780/</guid>
<link>http://www.newzbin.com/browse/post/5955780/</link>
<comments>http://www.newzbin.com/browse/post/5955780/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5955780">5955780</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5955780">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5955780/nzb/">NZB</a>)
(<a href="http://www.newzbin.com/nfo/view/txt/368038897/">NFO</a>)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 1,321.7MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - TV Cap, HDTV | Video Format - x264, 720p | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - French
</li>
<li>Groups: alt.binaries.multimedia, alt.binaries.teevee</li>
<li>Poster: nothing@here.com &#60;nothing here&#62;</li>
<li>PostDate: Sunday 13 Feb 2011, 01:07PM PDT</li>
</ul> ]]>
</description>
<report:id>5955780</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">TV Cap</report:attribute>
<report:attribute type="Source">HDTV</report:attribute>
<report:attribute type="Video Fmt">x264</report:attribute>
<report:attribute type="Video Fmt">720p</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">French</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.multimedia</report:group>
<report:group>alt.binaries.teevee</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>368038897</report:fileid>
<report:filename>in.plain.sight.s01e11.french.720p.hdtv.x264-hybris.nfo</report:filename>
<report:link>http://www.newzbin.com/nfo/view/txt/368038897/</report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5955780/nzb/</report:nzb>
<report:poster>nothing@here.com &#60;nothing here&#62;</report:poster>
<report:size type="bytes">1385894096</report:size>
<report:postdate>Sun, 13 Feb 2011 21:07:51 GMT</report:postdate>
<report:stats>
<report:views>8</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5955780/nzb/"
length="1385894096" type="application/x-nzb" />
<pubDate>Sun, 13 Feb 2011 21:44:05 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5921224/</guid>
<link>http://www.newzbin.com/browse/post/5921224/</link>
<comments>http://www.newzbin.com/browse/post/5921224/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5921224">5921224</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5921224">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5921224/nzb/">NZB</a>)
(NFO)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 360.2MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - German
</li>
<li>Groups: alt.binaries.cores</li>
<li>Poster: 0</li>
<li>PostDate: Tuesday 12 Jan 2010, 05:29PM PDT</li>
</ul> ]]>
</description>
<report:id>5921224</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.cores</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>0</report:fileid>
<report:filename></report:filename>
<report:link></report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5921224/nzb/</report:nzb>
<report:poster>0</report:poster>
<report:size type="bytes">377678229</report:size>
<report:postdate>Wed, 13 Jan 2010 01:29:08 GMT</report:postdate>
<report:stats>
<report:views>5</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5921224/nzb/"
length="377678229" type="application/x-nzb" />
<pubDate>Fri, 21 Jan 2011 00:49:58 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5913200/</guid>
<link>http://www.newzbin.com/browse/post/5913200/</link>
<comments>http://www.newzbin.com/browse/post/5913200/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5913200">5913200</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5913200">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5913200/nzb/">NZB</a>)
(NFO)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 369.4MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - German
</li>
<li>Groups: alt.binaries.cores, alt.binaries.tv.deutsch, alt.binaries.ath</li>
<li>Poster: poster17@illuminatenboard.org &#60;JBinUp@JBinUp&#62;</li>
<li>PostDate: Friday 15 Jan 2010, 05:42PM PDT</li>
</ul> ]]>
</description>
<report:id>5913200</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.cores</report:group>
<report:group>alt.binaries.tv.deutsch</report:group>
<report:group>alt.binaries.ath</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>0</report:fileid>
<report:filename></report:filename>
<report:link></report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5913200/nzb/</report:nzb>
<report:poster>poster17@illuminatenboard.org &#60;JBinUp@JBinUp&#62;</report:poster>
<report:size type="bytes">387306157</report:size>
<report:postdate>Sat, 16 Jan 2010 01:42:41 GMT</report:postdate>
<report:stats>
<report:views>4</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5913200/nzb/"
length="387306157" type="application/x-nzb" />
<pubDate>Fri, 14 Jan 2011 21:03:52 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5666339/</guid>
<link>http://www.newzbin.com/browse/post/5666339/</link>
<comments>http://www.newzbin.com/browse/post/5666339/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5666339">5666339</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5666339">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5666339/nzb/">NZB</a>)
(<a href="http://www.newzbin.com/nfo/view/txt/285077994/">NFO</a>)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 400.7MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - German
</li>
<li>Groups: alt.binaries.cores, alt.binaries.tv.deutsch, alt.binaries.mom, alt.binaries.ath, alt.binaries.ghosts</li>
<li>Poster: JBinUp.com &#60;JBinUp@JBinUp.local&#62;</li>
<li>PostDate: Tuesday 12 Jan 2010, 03:15PM PDT</li>
</ul> ]]>
</description>
<report:id>5666339</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.cores</report:group>
<report:group>alt.binaries.tv.deutsch</report:group>
<report:group>alt.binaries.mom</report:group>
<report:group>alt.binaries.ath</report:group>
<report:group>alt.binaries.ghosts</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>285077994</report:fileid>
<report:filename>isd-plain-s01e11.nfo</report:filename>
<report:link>http://www.newzbin.com/nfo/view/txt/285077994/</report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5666339/nzb/</report:nzb>
<report:poster>JBinUp.com &#60;JBinUp@JBinUp.local&#62;</report:poster>
<report:size type="bytes">420211504</report:size>
<report:postdate>Tue, 12 Jan 2010 23:15:45 GMT</report:postdate>
<report:stats>
<report:views>11</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5666339/nzb/"
length="420211504" type="application/x-nzb" />
<pubDate>Fri, 25 Jun 2010 18:46:39 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5663181/</guid>
<link>http://www.newzbin.com/browse/post/5663181/</link>
<comments>http://www.newzbin.com/browse/post/5663181/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5663181">5663181</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5663181">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5663181/nzb/">NZB</a>)
(NFO)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 400.6MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - DVD | Video Format - XviD | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - French
</li>
<li>Groups: alt.binaries.movies.zeromovies, alt.binaries.series.tv.divx.french</li>
<li>Poster: per amica silentia lunae &#60;mail@mail.com&#62;</li>
<li>PostDate: Wednesday 16 Jun 2010, 09:27AM PDT</li>
</ul> ]]>
</description>
<report:id>5663181</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">DVD</report:attribute>
<report:attribute type="Video Fmt">XviD</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">French</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.movies.zeromovies</report:group>
<report:group>alt.binaries.series.tv.divx.french</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>0</report:fileid>
<report:filename></report:filename>
<report:link></report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5663181/nzb/</report:nzb>
<report:poster>per amica silentia lunae &#60;mail@mail.com&#62;</report:poster>
<report:size type="bytes">420039144</report:size>
<report:postdate>Wed, 16 Jun 2010 16:27:43 GMT</report:postdate>
<report:stats>
<report:views>2</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5663181/nzb/"
length="420039144" type="application/x-nzb" />
<pubDate>Wed, 23 Jun 2010 12:52:27 GMT</pubDate>
</item>
<item>
<title>In Plain Sight - 1x11 - Stan By Me</title>
<guid isPermaLink="true">http://www.newzbin.com/browse/post/5576127/</guid>
<link>http://www.newzbin.com/browse/post/5576127/</link>
<comments>http://www.newzbin.com/browse/post/5576127/#CommentsPH</comments>
<description>
<![CDATA[
<ul>
<li>
ID: <a href="http://www.newzbin.com/browse/post/5576127">5576127</a>
(<a
href="http://www.newzbin.com/account/bookmarks/add/?ps_id=5576127">Bookmark</a>)
(<a href="http://www.newzbin.com/browse/post/5576127/nzb/">NZB</a>)
(NFO)
(<a href="http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/">More Info</a>)
(Size: 1,490.2MB)
</li>
<li>
Attributes:
Category - TV
| Video Source - HDTV | Video Format - H.264, 720p | Video Genre - Action/Adv, Comedy, Crime, Drama | Language - French, German
</li>
<li>Groups: alt.binaries.ath, alt.binaries.hdtv.x264, alt.binaries.U-4all, alt.binaries.hdtv.german</li>
<li>Poster: ich &#60;usenet@u-4all.org&#62;</li>
<li>PostDate: Monday 22 Feb 2010, 02:33AM PDT</li>
</ul> ]]>
</description>
<report:id>5576127</report:id>
<report:category>TV</report:category>
<report:attributes>
<report:attribute type="Source">HDTV</report:attribute>
<report:attribute type="Video Fmt">H.264</report:attribute>
<report:attribute type="Video Fmt">720p</report:attribute>
<report:attribute type="Video Genre">Action/Adv</report:attribute>
<report:attribute type="Video Genre">Comedy</report:attribute>
<report:attribute type="Video Genre">Crime</report:attribute>
<report:attribute type="Video Genre">Drama</report:attribute>
<report:attribute type="Language">English</report:attribute>
<report:attribute type="Language">German</report:attribute>
</report:attributes>
<report:groups>
<report:group>alt.binaries.ath</report:group>
<report:group>alt.binaries.hdtv.x264</report:group>
<report:group>alt.binaries.U-4all</report:group>
<report:group>alt.binaries.hdtv.german</report:group>
</report:groups>
<report:progress value="1">Report is complete</report:progress>
<report:moreinfo>http://www.tvrage.com/In_Plain_Sight/episodes/665532/1x11/</report:moreinfo>
<report:nfo>
<report:fileid>0</report:fileid>
<report:filename></report:filename>
<report:link></report:link>
</report:nfo>
<report:nzb>http://www.newzbin.com/browse/post/5576127/nzb/</report:nzb>
<report:poster>ich &#60;usenet@u-4all.org&#62;</report:poster>
<report:size type="bytes">1562556611</report:size>
<report:postdate>Mon, 22 Feb 2010 10:33:35 GMT</report:postdate>
<report:stats>
<report:views>31</report:views>
<report:comments>0</report:comments>
</report:stats>
<enclosure url="http://www.newzbin.com/browse/post/5576127/nzb/"
length="1562556611" type="application/x-nzb" />
<pubDate>Fri, 26 Feb 2010 10:20:12 GMT</pubDate>
</item>
</channel>
</rss>

@ -57,6 +57,31 @@ namespace NzbDrone.Core.Test
ExceptionVerification.ExcpectedWarns(warns);
}
[Test]
public void newzbin_parses_languae()
{
var mocker = new AutoMoqer();
mocker.GetMock<HttpProvider>()
.Setup(h => h.DownloadStream(It.IsAny<String>(), It.IsAny<NetworkCredential>()))
.Returns(File.OpenRead(".\\Files\\Rss\\newbin_none_english.xml"));
var newzbin = mocker.Resolve<Newzbin>();
var parseResults = newzbin.FetchRss();
foreach (var episodeParseResult in parseResults)
{
var Uri = new Uri(episodeParseResult.NzbUrl);
Uri.PathAndQuery.Should().NotContain("//");
}
parseResults.Should().NotBeEmpty();
parseResults.Should().NotContain(e => e.Language == LanguageType.English);
}
[Test]
public void newzbin_rss_fetch()
{
@ -162,6 +187,7 @@ namespace NzbDrone.Core.Test
[TestCase("simpsons", 21, 23)]
[TestCase("Hawaii Five-0 (2010)", 1, 5)]
[TestCase("In plain Sight", 1, 4)]
public void nzbsorg_search_returns_valid_results(string title, int season, int episode)
{
var mocker = new AutoMoqer();

@ -140,6 +140,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Files\RSS\newbin_none_english.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Framework\AutoMoq\License.txt" />
<Content Include="Files\Feed.nzbmatrix.com.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

@ -305,7 +305,7 @@ namespace NzbDrone.Core
internal static LanguageType ParseLanguage(string title)
public static LanguageType ParseLanguage(string title)
{
var lowerTitle = title.ToLower();

@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.Net;
using System.ServiceModel.Syndication;
@ -112,6 +113,8 @@ namespace NzbDrone.Core.Providers.Indexer
result.AddRange(Fetch(url));
}
result = result.Where(e => e.CleanTitle == Parser.NormalizeTitle(seriesTitle)).ToList();
_logger.Info("Finished searching {0} for {1}-S{2}E{3:00}, Found {4}", Name, seriesTitle, seasonNumber, episodeNumber, result.Count);
return result;

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Net;
using System.ServiceModel.Syndication;
using System.Text.RegularExpressions;
using Ninject;
using NzbDrone.Core.Model;
using NzbDrone.Core.Providers.Core;
@ -60,6 +61,10 @@ namespace NzbDrone.Core.Providers.Indexer
var quality = Parser.ParseQuality(item.Summary.Text);
currentResult.Quality = quality;
var languageString = Regex.Match(item.Summary.Text, @"Language - \w*", RegexOptions.IgnoreCase).Value;
currentResult.Language = Parser.ParseLanguage(languageString);
}
return currentResult;
}

Loading…
Cancel
Save