fix parse error in xml parser
This commit is contained in:
parent
e7804d717f
commit
f5f868ba68
|
@ -165,6 +165,7 @@ namespace libtorrent
|
|||
callback(token, start, val_start);
|
||||
*(p-2) = '-';
|
||||
tag_end = p - 2;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- This feed is meant for torrent feed downloaders, not regular feed clients. --><!-- If you're looking to stay up to date on releases, please use the following feed: --><!-- http://www.finalgear.com/feed/ --><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
|
||||
<channel>
|
||||
<title>FinalGear.com: Latest 1080i HD Torrents</title>
|
||||
<link>http://www.finalgear.com/</link>
|
||||
<description>The latest 1080i HD torrents released at FinalGear.com</description>
|
||||
<ttl>15</ttl>
|
||||
<language>en-us</language>
|
||||
<pubDate>Sun, 21 Jul 2013 21:02:31 +0000</pubDate>
|
||||
<lastBuildDate>Sun, 21 Jul 2013 12:00:00 +0000</lastBuildDate>
|
||||
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/finalgear/torrents/1080" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="finalgear/torrents/1080" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
|
||||
<title>Top.Gear.S20E04.1080i.ts</title>
|
||||
<description>Top Gear - [20x04] - 2013.07.21</description>
|
||||
<link>http://torrage.com/torrent/470BCD2007011E9F31556B36E199D03D948A1A52.torrent</link>
|
||||
<pubDate>Sun, 21 Jul 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/20/4/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/470BCD2007011E9F31556B36E199D03D948A1A52.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S20E03.1080i.ts</title>
|
||||
<description>Top Gear - [20x03] - 2013.07.14</description>
|
||||
<link>http://torrage.com/torrent/59DA814F36212F6686F74D82A9744C851EE1D088.torrent</link>
|
||||
<pubDate>Sun, 14 Jul 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/20/3/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/59DA814F36212F6686F74D82A9744C851EE1D088.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S20E02.1080i.ts</title>
|
||||
<description>Top Gear - [20x02] - 2013.07.07</description>
|
||||
<link>http://torrage.com/torrent/E2AF184E0F72A9101B4A276283493A20FAB87226.torrent</link>
|
||||
<pubDate>Sun, 07 Jul 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/20/2/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/E2AF184E0F72A9101B4A276283493A20FAB87226.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S20E01.1080i.ts</title>
|
||||
<description>Top Gear - [20x01] - 2013.06.30</description>
|
||||
<link>http://torrage.com/torrent/BE370AF9D0A82A8D9E6599FCA29EAE0691C93925.torrent</link>
|
||||
<pubDate>Sun, 30 Jun 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/20/1/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/BE370AF9D0A82A8D9E6599FCA29EAE0691C93925.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E07.1080i.ts</title>
|
||||
<description>Top Gear - [19x07] - 2013.03.10</description>
|
||||
<link>http://torrage.com/torrent/BA5EC4C504A68C1C7C311F12DB1A1AC9D71BB5F2.torrent</link>
|
||||
<pubDate>Sun, 10 Mar 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/7/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/BA5EC4C504A68C1C7C311F12DB1A1AC9D71BB5F2.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E06.1080i.ts</title>
|
||||
<description>Top Gear - [19x06] - 2013.03.03</description>
|
||||
<link>http://torrage.com/torrent/128E724588A9B2EDEC889FFBF9ED371BDCDDB98F.torrent</link>
|
||||
<pubDate>Sun, 03 Mar 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/6/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/128E724588A9B2EDEC889FFBF9ED371BDCDDB98F.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E05.1080i.ts</title>
|
||||
<description>Top Gear - [19x05] - 2013.02.24</description>
|
||||
<link>http://torrage.com/torrent/5C5390FDFB2F788819FE5C5F7BC94D872DF17F33.torrent</link>
|
||||
<pubDate>Sun, 24 Feb 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/5/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/5C5390FDFB2F788819FE5C5F7BC94D872DF17F33.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E04.1080i.ts</title>
|
||||
<description>Top Gear - [19x04] - 2013.02.17</description>
|
||||
<link>http://torrage.com/torrent/80FB930ABF3AFD88BEE43FB54E227D4839956E06.torrent</link>
|
||||
<pubDate>Sun, 17 Feb 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/4/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/80FB930ABF3AFD88BEE43FB54E227D4839956E06.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E03.1080i.ts</title>
|
||||
<description>Top Gear - [19x03] - 2013.02.10</description>
|
||||
<link>http://torrage.com/torrent/C44332C70E9FE725DD7413D951D01E04630FCC9F.torrent</link>
|
||||
<pubDate>Sun, 10 Feb 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/3/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/C44332C70E9FE725DD7413D951D01E04630FCC9F.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E02.1080i.ts</title>
|
||||
<description>Top Gear - [19x02] - 2013.02.03</description>
|
||||
<link>http://torrage.com/torrent/CE3CCBECC9B73A158FBE526C320E3EB53F8FFE5D.torrent</link>
|
||||
<pubDate>Sun, 03 Feb 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/2/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/CE3CCBECC9B73A158FBE526C320E3EB53F8FFE5D.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S19E01.1080i.ts</title>
|
||||
<description>Top Gear - [19x01] - 2013.01.27</description>
|
||||
<link>http://torrage.com/torrent/9778DD3F4FE60EB5DFD349C2DF583F89A15068F5.torrent</link>
|
||||
<pubDate>Sun, 27 Jan 2013 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/19/1/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/9778DD3F4FE60EB5DFD349C2DF583F89A15068F5.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S18E07.1080i.ts</title>
|
||||
<description>Top Gear - [18x07] - 2012.03.11</description>
|
||||
<link>http://torrage.com/torrent/39D3F1B2E619750A48FC9CA845DC20AD4FB8B229.torrent</link>
|
||||
<pubDate>Sun, 11 Mar 2012 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/18/7/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/39D3F1B2E619750A48FC9CA845DC20AD4FB8B229.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S18E06.1080i.ts</title>
|
||||
<description>Top Gear - [18x06] - 2012.03.04</description>
|
||||
<link>http://torrage.com/torrent/621F8F946D81C2055028BFC87F5B2064A26F932F.torrent</link>
|
||||
<pubDate>Sun, 04 Mar 2012 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/18/6/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/621F8F946D81C2055028BFC87F5B2064A26F932F.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S18E05.1080i.ts</title>
|
||||
<description>Top Gear - [18x05] - 2012.02.26</description>
|
||||
<link>http://torrage.com/torrent/B6FA7AE25BC37F61B52DEBFC1853A6B887AC6D59.torrent</link>
|
||||
<pubDate>Sun, 26 Feb 2012 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/18/5/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/B6FA7AE25BC37F61B52DEBFC1853A6B887AC6D59.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
<item>
|
||||
<title>Top.Gear.S18E04.1080i.ts</title>
|
||||
<description>Top Gear - [18x04] - 2012.02.19</description>
|
||||
<link>http://torrage.com/torrent/5B675A41D9584A07EA1D4C6B719AB8F2306CD55E.torrent</link>
|
||||
<pubDate>Sun, 19 Feb 2012 12:00:00 +0000</pubDate>
|
||||
<category domain="http://www.finalgear.com/shows/topgear/">Top Gear</category>
|
||||
<guid isPermaLink="true">http://www.finalgear.com/shows/topgear/18/4/</guid>
|
||||
<enclosure url="http://torrage.com/torrent/5B675A41D9584A07EA1D4C6B719AB8F2306CD55E.torrent" type="application/x-bittorrent" />
|
||||
</item>
|
||||
</channel>
|
||||
</rss><!-- Dynamic page generated in 0.239 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-07-21 21:02:31 --><!-- Compression = gzip -->
|
|
@ -141,6 +141,7 @@ int test_main()
|
|||
test_feed(combine_path(root_dir, "kat.xml"), rss_expect(25, "http://kat.ph/torrents/benito-di-paula-1975-benito-di-paula-lp-rip-ogg-at-500-jarax4u-t6194897/", "Benito Di Paula - 1975 - Benito Di Paula (LP Rip OGG at 500) [jarax4u]", 168773863));
|
||||
test_feed(combine_path(root_dir, "mn.xml"), rss_expect(20, "http://www.mininova.org/get/13203100", "Dexcell - January TwentyTwelve Mix", 137311179));
|
||||
test_feed(combine_path(root_dir, "pb.xml"), rss_expect(60, "magnet:?xt=urn:btih:FD4CDDB7BBE722D17A018EFD875EB0695ED7159C&dn=Thompson+Twins+-+1989+-+Big+Trash+%5BMP3%5D", "Thompson Twins - 1989 - Big Trash [MP3]", 100160904));
|
||||
test_feed(combine_path(root_dir, "fg.xml"), rss_expect(15, "http://torrage.com/torrent/470BCD2007011E9F31556B36E199D03D948A1A52.torrent", "Top.Gear.S20E04.1080i.ts", -1));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue