diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-15 01:36:32 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-15 01:36:32 +0000 |
commit | 3fd9a0dc05d9dda507b9e6c14b1d2cf54358b1fa (patch) | |
tree | 6b3ab98095a3f8418c2e9756be601575dbe81153 | |
parent | 715874df58af20b1d584544697ce729fe78d7b78 (diff) | |
download | deluge-3fd9a0dc05d9dda507b9e6c14b1d2cf54358b1fa.tar.gz deluge-3fd9a0dc05d9dda507b9e6c14b1d2cf54358b1fa.tar.bz2 deluge-3fd9a0dc05d9dda507b9e6c14b1d2cf54358b1fa.zip |
fix links/enclosures
-rw-r--r-- | plugins/SimpleRSS/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleRSS/plugin.py b/plugins/SimpleRSS/plugin.py index 47d3a14c9..597f3a239 100644 --- a/plugins/SimpleRSS/plugin.py +++ b/plugins/SimpleRSS/plugin.py @@ -333,7 +333,7 @@ class plugin_SimpleRSS: entries = [] entries.extend( tmp[ "items" ] ) decorated = [(entry["date_parsed"], entry) for entry in entries] - tmplist = [(entry["date_parsed"], name, entry["title"], entry.enclosures[0].href) for entry in entries] + tmplist = [(entry["date_parsed"], name, entry["title"], entry.links[0].href) for entry in entries] decorated.sort() self.torrents_list.extend(tmplist) #decorated.reverse() # for most recent entries first |