New [newzbin] Option
Posted: March 26th, 2014, 2:25 pm
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
.
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