Bug 339455 - rss in ktorrent does not work, filter also
Summary: rss in ktorrent does not work, filter also
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.3.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL: http://wstaw.org/m/2014/09/27/ktorren...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-27 12:55 UTC by niki
Modified: 2022-06-11 14:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Fix for magnet links in RSS-feeds (1016 bytes, patch)
2017-05-07 18:22 UTC, Tomas Åkesson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niki 2014-09-27 12:55:09 UTC
When you try to download directly from the list of SSR pops up the message from the attachment.
<Could not find a valind link to a torrent on......>
Downloading a file on instruction of the filter is also impossible, probably for the same reason.

Reproducible: Always

Steps to Reproduce:
1.Marking a file from the filter list
2.Click download


Actual Results:  
Pops up the  error message  <Could not find a valind link to a torrent on......>

Expected Results:  
Should start downloading magnet link

This bug has been for several years, and I've seen it 4 -5 different computers installed with open SUSE 64 bits
Comment 1 NeoEGM 2014-12-05 04:15:56 UTC
I'm having the same problem on Kubuntu 14.04.1 LTS 64 bits.

RSS to test:
http://www.argenteam.net/rss/tvseries_torrents.xml

It seems to be a known problem:
https://forum.kde.org/viewtopic.php?f=235&t=117043
https://forums.opensuse.org/showthread.php/498752-Ktorrent-d-not-magnet-via-rss

It also seems to be happening only to people running on 64 bits.
Comment 2 NeoEGM 2014-12-05 04:17:52 UTC
This is the shown log entry before throwing the error message:

Fri Dec 5 01:16:21 2014: Couldn't find a valid link to a torrent on http://www.argenteam.net/argenteam_tvseries_torrents/magnet:?xt=urn:btih:01a6b93a6ef7ba32c5be904c44f12373ac99a0e9&dn=Supernatural+S10E08+HDTV+x264-LOL+%5Beztv%5D&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Fopen.demonii.com%3A1337

As you can see, it seems to be trying to complete the magnet URI as if it was a URL relative to the RSS feed path.
Comment 3 Tomas Åkesson 2017-05-07 18:22:32 UTC
Created attachment 105381 [details]
Fix for magnet links in RSS-feeds

Here's a patch for ktorrent 4.3.1. I haven't examined enough feeds to see if this works everywhere, but it worked for the feed I tried.
Comment 4 847240 2022-06-11 14:14:59 UTC
Unfortunately the RSS-Addon does not work with https://planet.openstreetmap.org/pbf/full-history/history-pbf-rss.xml and states "Failed to load feed https://planet.openstreetmap.org/pbf/full-history/history-pbf-rss.xml: Unknown retriever error". (Version 21.12.3)