Skip to content

Commit

Permalink
feat(u3d): seeding status (#1901)
Browse files Browse the repository at this point in the history
* feat(blu): remove domain xyz

* feat(u3d): support seeding status

* fix(u3d): remove wrong progress

* feat(aihter): support complete status

* Revert "feat(aihter): support complete status"

This reverts commit 6735f83.

* feat(u3d): support more status

* fix(u3d): unsuitable judgment conditions

* fix(bhd): unsuitable judgment condition

* fix(u3d): progess
  • Loading branch information
ted423 authored Jun 11, 2024
1 parent 9b900e0 commit 8afe832
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions resource/schemas/UNIT3D/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,24 @@
}],
"fieldSelector": {
"progress": {
"selector": ["button.btn.btn-success.btn-circle, i[title*='Seeding']", "button.btn.btn-warning.btn-circle, button.btn.btn-info.btn-circle", ""],
"selector": [
"span.torrent-icons > i.fas.fa-arrow-circle-up.text-success.torrent-icons, i.fas.fa-thumbs-down",
"span.torrent-icons > i.fas.fa-do-not-enter.torrent-icons, span.torrent-icons > i.fa-arrow-circle-down.text-danger.torrent-icons",
""
],
"switchFilters": [
["100"],
["0"],
["null"]
]
},
"status": {
"selector": ["button.btn.btn-success.btn-circle, i[title*='Currently Seeding']", "button.btn.btn-warning.btn-circle", "button.btn.btn-info.btn-circle", "i[title*='Completed']"],
"selector": ["span.torrent-icons > i.fas.fa-arrow-circle-up.text-success.torrent-icons", "span.torrent-icons > i.fa-arrow-circle-down.text-danger.torrent-icons", "span.torrent-icons > i.fas.fa-thumbs-down.text-warning.torrent-icons", "span.torrent-icons > i.fas.fa-do-not-enter.torrent-icons"],
"switchFilters": [
["2"],
["1"],
["3"],
["255"]
["255"],
["3"]
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion resource/schemas/UNIT3D/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
}
result = cell.text().trim();
}
if(result == "")return null;
if(result === "")return null;
return result;
}
}
Expand Down
2 changes: 1 addition & 1 deletion resource/sites/beyond-hd.me/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
}
result = cell.text().trim();
}
if(result == "")return null;
if(result === "")return null;
return result;
}
}
Expand Down

0 comments on commit 8afe832

Please sign in to comment.