1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 09:11:46 +00:00

FIX:(#1541) Local bypass can now be removed for local nzb searches that want to adhere to the wait factor (ie.nzbhydra)

This commit is contained in:
evilhero 2017-01-16 10:18:15 -05:00
parent 8745345407
commit 5d06667e71

View file

@ -329,6 +329,9 @@ def NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDa
if name_newznab[-7:] == '[local]': if name_newznab[-7:] == '[local]':
name_newznab = name_newznab[:-7].strip() name_newznab = name_newznab[:-7].strip()
newznab_local = True newznab_local = True
elif name_newznab[-10:] == '[nzbhydra]':
name_newznab = name_newznab[:-10].strip()
newznab_local = False
apikey = newznab_host[3].rstrip() apikey = newznab_host[3].rstrip()
verify = bool(newznab_host[2].rstrip()) verify = bool(newznab_host[2].rstrip())
if '#' in newznab_host[4].rstrip(): if '#' in newznab_host[4].rstrip():