Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
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
Sick-Beard
Commits
f991bcb7
Commit
f991bcb7
authored
Dec 30, 2014
by
sarakha63
Browse files
Options
Downloads
Patches
Plain Diff
corrected ftdb
parent
814e7d37
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sickbeard/__init__.py
+1
-2
1 addition, 2 deletions
sickbeard/__init__.py
sickbeard/providers/ftdb.py
+1
-1
1 addition, 1 deletion
sickbeard/providers/ftdb.py
sickbeard/providers/xthor.py
+22
-20
22 additions, 20 deletions
sickbeard/providers/xthor.py
with
24 additions
and
23 deletions
sickbeard/__init__.py
+
1
−
2
View file @
f991bcb7
...
...
@@ -156,6 +156,7 @@ NZB_METHOD = None
USENET_RETENTION
=
None
TORRENT_METHOD
=
None
TORRENT_DIR
=
None
NZB_DIR
=
None
DOWNLOAD_PROPERS
=
None
DOWNLOAD_FRENCH
=
None
PREFERED_METHOD
=
None
...
...
@@ -181,8 +182,6 @@ ETHOR_KEY = None
BTN
=
False
BTN_API_KEY
=
None
TORRENT_DIR
=
None
ADD_SHOWS_WO_DIR
=
None
CREATE_MISSING_SHOW_DIRS
=
None
RENAME_EPISODES
=
False
...
...
This diff is collapsed.
Click to expand it.
sickbeard/providers/ftdb.py
+
1
−
1
View file @
f991bcb7
...
...
@@ -167,7 +167,7 @@ class FTDBProvider(generic.TorrentProvider):
link
=
row
.
find
(
"
a
"
,
title
=
True
)
title
=
link
[
'
title
'
]
autogetURL
=
self
.
url
+
(
row
.
find
(
"
li
"
,
{
"
class
"
:
"
torrents_name
"
}).
find
(
'
a
'
)[
'
href
'
][
1
:]).
replace
(
'
#FTD_MENU
'
,
'
&menu=4
'
)
autogetURL
=
self
.
url
+
'
/
'
+
(
row
.
find
(
"
li
"
,
{
"
class
"
:
"
torrents_name
"
}).
find
(
'
a
'
)[
'
href
'
][
1
:]).
replace
(
'
#FTD_MENU
'
,
'
&menu=4
'
)
r
=
self
.
opener
.
open
(
autogetURL
,
'
wb
'
).
read
()
soup
=
BeautifulSoup
(
r
)
downloadURL
=
soup
.
find
(
"
div
"
,
{
"
class
"
:
"
autoget
"
}).
find
(
'
a
'
)[
'
href
'
]
...
...
This diff is collapsed.
Click to expand it.
sickbeard/providers/xthor.py
+
22
−
20
View file @
f991bcb7
...
...
@@ -145,7 +145,7 @@ class XTHORProvider(generic.TorrentProvider):
r
=
self
.
opener
.
open
(
searchUrl
)
soup
=
BeautifulSoup
(
r
,
"
html.parser
"
)
soup
=
BeautifulSoup
(
r
)
resultsTable
=
soup
.
find
(
"
table
"
,
{
"
id
"
:
"
torrents_table_classic
"
})
if
resultsTable
:
...
...
@@ -165,6 +165,8 @@ class XTHORProvider(generic.TorrentProvider):
if
re
.
match
(
recherched
,
title
,
re
.
IGNORECASE
):
downloadURL
=
row
.
find
(
"
a
"
,
href
=
re
.
compile
(
"
action=download
"
))[
'
href
'
]
logger
.
log
(
u
"
XTHOR DOWNLOAD URL :
"
+
downloadURL
,
logger
.
DEBUG
)
else
:
continue
quality
=
Quality
.
nameQuality
(
title
)
if
quality
==
Quality
.
UNKNOWN
and
title
:
if
'
720p
'
not
in
title
.
lower
()
and
'
1080p
'
not
in
title
.
lower
():
...
...
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
register
or
sign in
to comment