Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
fbdc1f67
Commit
fbdc1f67
authored
Jun 23, 2015
by
Dustyn Gibson
Browse files
Options
Downloads
Plain Diff
Merge pull request #1994 from miigotu/file-download-error
Failed to load URL? This section needs debugged hard
parents
a651639d
95f89afd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/search.py
+12
-4
12 additions, 4 deletions
sickbeard/search.py
with
12 additions
and
4 deletions
sickbeard/search.py
+
12
−
4
View file @
fbdc1f67
...
...
@@ -199,6 +199,14 @@ def pickBestResult(results, show):
if
show
and
cur_result
.
show
is
not
show
:
continue
#TODO: Is this the cause of #1579 (Downloading wrong torrent)
if
isinstance
(
cur_result
,
sickbeard
.
classes
.
SearchResult
):
if
cur_result
.
resultType
==
"
torrent
"
and
sickbeard
.
TORRENT_METHOD
!=
"
blackhole
"
:
if
not
cur_result
.
url
.
startswith
(
'
magnet
'
):
cur_result
.
content
=
cur_result
.
provider
.
getURL
(
cur_result
.
url
)
if
not
cur_result
.
content
:
continue
else
:
if
not
cur_result
.
url
.
startswith
(
'
magnet
'
):
cur_result
.
content
=
cur_result
.
provider
.
getURL
(
cur_result
.
url
)
if
not
cur_result
.
content
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment