New [newzbin] Option

Want something added? Ask for it here.
Post Reply
ElChupacabra
Newbie
Newbie
Posts: 1
Joined: March 26th, 2014, 2:00 pm

New [newzbin] Option

Post 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 ;).
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: New [newzbin] Option

Post by shypike »

All newzbin support has been removed from the code of the future 0.8.0 release.
Consider using the newznab API instead.
Post Reply