Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Jackett
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
Jackett
Commits
8f8568de
Commit
8f8568de
authored
Jan 29, 2018
by
kaso17
Committed by
vlbox
Feb 22, 2018
Browse files
Options
Downloads
Patches
Plain Diff
Revert "TorrentDay: update parser"
This reverts commit
52ff0a6a
.
parent
e00aa2a3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Jackett.Common/Indexers/TorrentDay.cs
+5
-5
5 additions, 5 deletions
src/Jackett.Common/Indexers/TorrentDay.cs
with
5 additions
and
5 deletions
src/Jackett.Common/Indexers/TorrentDay.cs
+
5
−
5
View file @
8f8568de
...
...
@@ -208,7 +208,7 @@ namespace Jackett.Indexers
try
{
CQ
dom
=
results
.
Content
;
var
rows
=
dom
[
"#torrentTable > tbody > tr
[id^=tr]
"
];
var
rows
=
dom
[
"#torrentTable > tbody > tr
.browse
"
];
foreach
(
var
row
in
rows
)
{
CQ
qRow
=
row
.
Cq
();
...
...
@@ -216,14 +216,14 @@ namespace Jackett.Indexers
release
.
MinimumRatio
=
1
;
release
.
MinimumSeedTime
=
172800
;
release
.
Title
=
qRow
.
Find
(
".torrentName
Info > a"
).
First
(
).
Text
();
release
.
Title
=
qRow
.
Find
(
".torrentName
"
).
Text
();
if
((
query
.
ImdbID
==
null
||
!
TorznabCaps
.
SupportsImdbSearch
)
&&
!
query
.
MatchQueryStringAND
(
release
.
Title
))
continue
;
release
.
Guid
=
new
Uri
(
SiteLink
+
qRow
.
Find
(
".torrentName
Info > a"
).
First
(
).
Attr
(
"href"
));
release
.
Guid
=
new
Uri
(
SiteLink
+
qRow
.
Find
(
".torrentName
"
).
Attr
(
"href"
));
release
.
Comments
=
release
.
Guid
;
release
.
Link
=
new
Uri
(
SiteLink
+
qRow
.
Find
(
"
a[href^=download.php]
"
).
Attr
(
"href"
));
release
.
Link
=
new
Uri
(
SiteLink
+
qRow
.
Find
(
"
.dlLinksInfo > a
"
).
Attr
(
"href"
));
var
sizeStr
=
qRow
.
Find
(
".sizeInfo"
).
Text
();
release
.
Size
=
ReleaseInfo
.
GetBytes
(
sizeStr
);
...
...
@@ -239,7 +239,7 @@ namespace Jackett.Indexers
release
.
Seeders
=
ParseUtil
.
CoerceInt
(
qRow
.
Find
(
".seedersInfo"
).
Text
());
release
.
Peers
=
ParseUtil
.
CoerceInt
(
qRow
.
Find
(
".leechersInfo"
).
Text
())
+
release
.
Seeders
;
var
cat
=
qRow
.
Find
(
"td:eq(0) a"
).
First
().
Attr
(
"
id"
);
var
cat
=
qRow
.
Find
(
"td:eq(0) a"
).
First
().
Attr
(
"
href"
).
Split
(
'#'
)[
0
].
Substring
(
15
);
//browse.php?cat=24
release
.
Category
=
MapTrackerCatToNewznab
(
cat
);
if
(
qRow
.
Find
(
"span.flTags"
).
Length
>=
1
)
...
...
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