mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 06:45: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
347 B
XML
13 lines
347 B
XML
<!--
|
|
Description: item enclosure url
|
|
Expect: not bozo and entries[0]['enclosures'][0]['url'] == u'http://example.com/' and entries[0]['links'][0]['rel'] == 'enclosure'
|
|
-->
|
|
<rss version="2.0">
|
|
<channel>
|
|
<item>
|
|
<enclosure url="http://example.com/" length="100000" type="image/jpeg" />
|
|
<link>http://example.com/</link>
|
|
</item>
|
|
</channel>
|
|
</rss>
|