Empty NZB file when RSS feed has escaped ampersand &
Posted: January 2nd, 2015, 3:52 am
Using sabnzbd 0.7.20 on Windows 8.1, and the RSS feed / download works for most of my index sites. However, for one particular site, the link in the RSS feed doesn't work when the NZB is added manually. However, the same link, if the & is unescaped to &, the NZB can be manually added via "Add NZB" URL. Also, the same escaped URL can be pasted into a browser and be successfully reached.
Here is the log with some info masked:
If I modify the problematic URL with & and replace all instances with & (i.e. unescape the &), the sabnzbd is able to download the file.
Are there any switches that allow unescaping of the ampersand in the URL? Is it possible to modify rss.py?
Here is the log with some info masked:
Code: Select all
2015-01-01 23:30:21,022::INFO::[__init__:513] Fetching https://somewhere.net/getnzb/xxx6ca54fcexx74fd3.nzb&i=xxxx&r=xxxx&del=1
2015-01-01 23:30:21,022::INFO::[nzbqueue:218] Saving queue
2015-01-01 23:30:21,022::INFO::[__init__:919] Saving data for queue9.sab in C:\Users\auser\AppData\Local\sabnzbd\admin\queue9.sab
2015-01-01 23:30:21,552::INFO::[urlgrabber:116] Grabbing URL https://somewhere.net/getnzb/xxx6ca54fcexxxx74fd3.nzb&i=xxxx&r=xxxx&del=1
2015-01-01 23:30:22,569::INFO::[misc:811] Creating directories: D:\incomplete\xxxxca54fcexxxxxx
2015-01-01 23:30:22,569::WARNING::[nzbstuff:744] Empty NZB file xxx8f0441bxxx.nzb&i=xxxx&r=xxxx&del=1.nzb [https://somewhere.net/getnzb/xxxce5xxxx.nzb&i=xxx&r=xxxx&del=1]Are there any switches that allow unescaping of the ampersand in the URL? Is it possible to modify rss.py?