Re: YaRSS2 Subscriptions unable to download torrents
Posted: Sat Sep 12, 2015 5:38 am
Interesting. You're right. Torcache definitely doesn't seem to like automated downloads
Support Forum for the Deluge BitTorrent Client
https://forum.deluge-torrent.org/
Code: Select all
git clone https://bitbucket.org/bendikro/deluge-yarss-plugin.git
cd deluge-yarss-plugin
git checkout developement
python setup.py bdist_egg
mv dist/YaRSS2-1.3.3-py2.6.egg /var/lib/deluge/.config/deluge/plugins
Code: Select all
[ERROR ] 22:05:42 rpcserver:304 Exception calling RPC request: 'CorePlugin.YaRSS2'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.6/site-packages/deluge/core/core.py", line 524, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/lib/python2.6/site-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/lib/python2.6/site-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/lib/python2.6/site-packages/deluge/component.py", line 290, in start
if self.components[name]._component_depend:
KeyError: 'CorePlugin.YaRSS2'
Thanks so much bro!!! I had been working on this issue all morning before finding your updated .eggs. Instant fixbro wrote:Hi guys
Would you try out the attached version and see how it works?
Both feedparser and requests should now use the same User agent as defined in yarss_config.py
Edit: That version (1.3.4) didn't actually work so well, but version 1.3.5 should work for the kickass RSS example. 1.3.5 also has a new setting to prefer the magnet link over the torrent link of both are present.
- Updated feedparser to 5.2.0
- Implemented support for setting label when Label plugin is enabled
- Change user agent used when fetching RSS feeds with requests library.
- Added option to ignore timestamps in RSS feeds.
- Added option to prefer magnet link over torrent link.
You are much welcomed! As nobody have reported any issues with these I'll create a new official release very soon.this_is_totally wrote: Thanks so much bro!!! I had been working on this issue all morning before finding your updated .eggs. Instant fix