mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fixed bug in autoProcessMovie that was causing failed downloads not to choose next release for snatch.
This commit is contained in:
parent
47ced8a8a2
commit
7904330613
1 changed files with 2 additions and 3 deletions
|
@ -232,12 +232,11 @@ class autoProcessMovie:
|
||||||
logger.error("Exiting autoProcessMovie script")
|
logger.error("Exiting autoProcessMovie script")
|
||||||
return 1 # failure
|
return 1 # failure
|
||||||
|
|
||||||
url = baseURL + "movie.searcher.try_next/?media_id=" + media_id
|
url = baseURL + "/movie.searcher.try_next"
|
||||||
|
|
||||||
logger.debug("Opening URL: %s", url)
|
logger.debug("Opening URL: %s", url)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
r = requests.get(url, stream=True)
|
r = requests.get(url, params={'media_id':media_id}, stream=True)
|
||||||
except requests.ConnectionError:
|
except requests.ConnectionError:
|
||||||
logger.error("Unable to open URL")
|
logger.error("Unable to open URL")
|
||||||
return 1 # failure
|
return 1 # failure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue