mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-06 01:15:05 -05:00
0e82c5f573
Adjusted code for custom RSS feed parsing now that feedparser does the parsing for us all we do is pull the data from the returned entries.
13 lines
420 B
XML
13 lines
420 B
XML
<!--
|
|
Description: multiple enclosures
|
|
Expect: not bozo and entries[0]['enclosures'][1] == {'href': u'http://example.com/2', 'length': u'200000', 'type': u'image/gif'}
|
|
-->
|
|
<rss version="2.0">
|
|
<channel>
|
|
<item>
|
|
<enclosure url="http://example.com/1" length="100000" type="image/jpeg" />
|
|
<enclosure url="http://example.com/2" length="200000" type="image/gif" />
|
|
<link>http://example.com/</link>
|
|
</item>
|
|
</channel>
|
|
</rss> |