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:
parent
8745345407
commit
5d06667e71
1 changed files with 3 additions and 0 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue