Private GIT

Skip to content
Snippets Groups Projects
Commit c7ca6ad9 authored by Matthew Schick's avatar Matthew Schick Committed by Nic Wolfe
Browse files

Update nzbmatrix sleep to 10 seconds per new api rules

parent 05a21652
Branches
Tags
No related merge requests found
...@@ -102,8 +102,8 @@ def _doSearch(curString, quality): ...@@ -102,8 +102,8 @@ def _doSearch(curString, quality):
logger.log("Search string: " + searchURL, logger.DEBUG) logger.log("Search string: " + searchURL, logger.DEBUG)
logger.log("Sleeping 60 seconds to respect NZBMatrix's API rules") logger.log("Sleeping 10 seconds to respect NZBMatrix's API rules")
time.sleep(60) time.sleep(10)
f = urllib.urlopen(searchURL) f = urllib.urlopen(searchURL)
searchResult = "".join(f.readlines()) searchResult = "".join(f.readlines())
f.close() f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment