Page 1 of 1

New [newzbin] Option

Posted: March 26th, 2014, 2:25 pm
by ElChupacabra
Plz can you add an option to enable or disable the use of ssl connection when fetching an nzb using the newzbin DirectNZB feature.

in newzbin.py
try:
if _HAVE_SSL:
conn = httplib.HTTPConnection(cfg.newzbin_url())
else:
conn = httplib.HTTPConnection(cfg.newzbin_url())
can become something like ( i do not wrote python ;) )
try:
if cfg.newzbin_ssl() AND _HAVE_SSL_ :
conn = httplib.HTTPSConnection(cfg.newzbin_url())
else:
conn = httplib.HTTPConnection(cfg.newzbin_url())

i m in the early stage of development of a small community repport website providing directnzb feature, for development purpose i just removed the S of the HTTPS.
For me, patching sabnzb as i did or setup a valid ssl webserver, is asking too mutch to the enduser.
Can you please consider adding that feature, that would make our life easyer ;).

Re: New [newzbin] Option

Posted: March 26th, 2014, 4:15 pm
by shypike
All newzbin support has been removed from the code of the future 0.8.0 release.
Consider using the newznab API instead.