MMA-Torrents.com Forum https://foru.mma-torrents.com/ |
|
RSS driving me batshit :P Just cannot get it working (solved) https://foru.mma-torrents.com/viewtopic.php?f=2&t=12317 |
Page 1 of 2 |
Author: | shockdiamond [ Tue Apr 11, 2023 1:08 am ] |
Post subject: | RSS driving me batshit :P Just cannot get it working (solved) |
I've been trying off and on for months to get RSS working for this site. I have all the data required AFAIK, but whenever I submit the rss string with my uid and passkey, it fails to load torrents - both manually and automatically with regex filters. It does update the list, though. It tries to get new media with filters, but fails with the same error. Whenever I submit the data and check it again, the : is replaced with "%3A", so the string will end up "rssdl.php?COOKIE%3Auid=" instead of "rssdl.php?COOKIE:uid=" etc., which is fine if that's how it has to interpret the colon, except that's the only thing I can think of at this time that's causing it to fail. The only error I receive from rTorrent is Error loading torrent. (https://mma-torrents.com/download.php?id=6xxxx) - no including the x's, obvs. Anyone know what's going on? Thank you for your time. =) |
Author: | Dent [ Tue Apr 11, 2023 8:20 am ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Hi, Personally I dont know why it would do this for you. It seems to work for others. (See viewtopic.php?f=2&t=7240 for example) I will ask someone with more knowledge to take a look and then get back to you. |
Author: | shockdiamond [ Tue Apr 11, 2023 11:46 am ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Dent wrote: Hi, Personally I dont know why it would do this for you. It seems to work for others. (See viewtopic.php?f=2&t=7240 for example) I will ask someone with more knowledge to take a look and then get back to you. Thank you. I did use that exact tutorial you've posted to ensure I didn't miss anything, but all appears configured correctly (the colon being replaced by other characters upon submission not withstanding). I have no idea why it's doing it either, except thought maybe a bug in keyboard map/language -- but I used a browser on a local server to edit the string and it still replaces the colon with those other characters after submitting the change. It must be something with either rTorrent or the ruTorrent front-end. I can't see it being anything else. Different machine/keyboard, different browsers, even different OSes. Thank you for looking into it further. |
Author: | Dent [ Tue Apr 11, 2023 6:55 pm ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Yes it might be a "locales" issue with the server the torrent client is on. It might have a different way of interpreting symbols. But Im not advanced enough to know if Im right or not lol For reference: ASCII Value = : URL-encode = %3a It uses the URL-encode value and not the ASCII value in your string for unknown reason. Error in rTorrent = "Error loading torrent" I have asked our coders to check it out. |
Author: | Dent [ Thu Apr 13, 2023 5:54 am ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
OK! Our coders have given me this solution for you: Use this from now: https://mma-torrents.com/rss2.php?custom=1 (Generate link with "Download link" checked) Let us know if it worked! shockdiamond wrote: I've been trying off and on for months to get RSS working for this site. I have all the data required AFAIK, but whenever I submit the rss string with my uid and passkey, it fails to load torrents - both manually and automatically with regex filters. It does update the list, though. It tries to get new media with filters, but fails with the same error.
Whenever I submit the data and check it again, the : is replaced with "%3A", so the string will end up "rssdl.php?COOKIE%3Auid=" instead of "rssdl.php?COOKIE:uid=" etc., which is fine if that's how it has to interpret the colon, except that's the only thing I can think of at this time that's causing it to fail. The only error I receive from rTorrent is Error loading torrent. (https://mma-torrents.com/download.php?id=6xxxx) - no including the x's, obvs. Anyone know what's going on? Thank you for your time. =) |
Author: | shockdiamond [ Thu Apr 13, 2023 10:48 pm ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Dent wrote: Yes it might be a "locales" issue with the server the torrent client is on. It might have a different way of interpreting symbols. But Im not advanced enough to know if Im right or not lol For reference: ASCII Value = : URL-encode = %3a It uses the URL-encode value and not the ASCII value in your string for unknown reason. Error in rTorrent = "Error loading torrent" I have asked our coders to check it out. Awesome. Thank you so much. In the meanwhile, I wonder if I provide it the URL characters, it will translate it into the : it's supposed to be. UPDATE: Nope, it doesn't appear to accept a new string with the hex value and interpret it as the correct value. I've even tried to isolate the : regular expressions and it still converts it to the hex values. It must change the way the expression is read within the PHP, because the : in https:// isn't converting to %3a - only the : in the rest of the string. |
Author: | Dent [ Fri Apr 14, 2023 8:37 pm ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Im not sure what you are trying, but the new rss added will work as per: Code: https://mma-torrents.com/rss2.php?dllink=1&passkey=yourpasskeyhere No : in the string apart from the https. |
Author: | shockdiamond [ Sat Apr 15, 2023 3:07 am ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Dent wrote: Im not sure what you are trying, but the new rss added will work as per: Code: https://mma-torrents.com/rss2.php?dllink=1&passkey=yourpasskeyhere No : in the string apart from the https. Thank you. It appears it should work as none of the characters are being changed to hex, but the status of the feeds it loads just say Load Error and trying to invoke a download invokes the same download error as before. That is with the string: https://mma-torrents.com/rss2.php?dllin ... 8012801280 -- my key being unique of course. I have another feed for a different site that is fully functional so it doesn't appear to be the rss plugin. There's no indication it wouldn't work, but it doesn't. I'm baffled. |
Author: | Dent [ Sat Apr 15, 2023 1:53 pm ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Coder: Quote: You posted the following url as an example:
Code: https://mma-torrents.com/rss2.php?dllink=1&passkey=1280128012801280128012801280128012801280128012801280128012801280 If we are clear this provides the download links such as: Code: https://mma-torrents.com/download.php?id=63815 In this case the above url doesn't include a passkey because passkey "1280128012801280128012801280128012801280128012801280128012801280" is invalid, but when a valid passkey is there the url given would be like: Code: https://mma-torrents.com/download.php?id=63815&passkey=.... The above url will allow anyone to download a .torrent file because your passkey will auto log you in for this single request, i made several tests and confirm this to be working. You mentioned the client was giving you a load error using this new method, does it give any additional information? Have you tried using just plain http:// instead of https:// ? |
Author: | shockdiamond [ Sun Apr 16, 2023 2:34 pm ] |
Post subject: | Re: RSS driving me batshit :P Just cannot get it working. |
Dent wrote: Coder: Quote: You posted the following url as an example: Code: https://mma-torrents.com/rss2.php?dllink=1&passkey=1280128012801280128012801280128012801280128012801280128012801280 If we are clear this provides the download links such as: Code: https://mma-torrents.com/download.php?id=63815 In this case the above url doesn't include a passkey because passkey "1280128012801280128012801280128012801280128012801280128012801280" is invalid, but when a valid passkey is there the url given would be like: Code: https://mma-torrents.com/download.php?id=63815&passkey=.... The above url will allow anyone to download a .torrent file because your passkey will auto log you in for this single request, i made several tests and confirm this to be working. You mentioned the client was giving you a load error using this new method, does it give any additional information? Have you tried using just plain http:// instead of https:// ? The passkey "1280128012801280128012801280128012801280128012801280128012801280" was just a sample (won't allow me to post now Sorry, the board attachment quota has been reached.) in place of my actual passkey for the forum. The URL information is correct, but you can see in the logs above the information request, it's previously failed. I will post text anyway.. "https://mma-torrents.com/rss2.php?dllink=1&passkey=8ab8bf" <- the first few characters of the actual key - I am using my full key. [04/16/2023 09:29:46] Error loading torrent. (https://mma-torrents.com/download.php?id=63846) <- autoload error [04/16/2023 09:59:46] Error loading torrent. (https://mma-torrents.com/download.php?id=63846) <- autoload error [04/16/2023 10:20:23] Description URL: https://mma-torrents.com/download.php?id=63846 <- URL information request [04/16/2023 10:20:23] Download URL: https://mma-torrents.com/download.php?id=63846 <- URL information output Excerpt directly from the server: ../rutorrent/share/users/<user>/settings/rss/cache # cat history {s:4:"hash";s:6:"Failed";s:4:"time";i:1681479473;s:3:"cnt";i:2;}s:46:"https://mma-torrents.com/download.php?id=63796";a:3:{s:4:"hash";s:6:"Failed";s:4:"time";i:1681476630;s:3:"cnt";i:2;}s:46:"https://mma-torrents.com/download.php?id=63795";a:3: Having changed it to http instead of https did not change the error. I have no clue at this time what is still causing the error. Your support has been stellar, even if it's still not working for whatever reason. Thank you for that. |
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |