Skip to content

Commit

Permalink
Remove category filtering from SC
Browse files Browse the repository at this point in the history
  • Loading branch information
Morea committed Oct 15, 2023
1 parent 2435bbf commit 9371469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Find Unique Titles/dist/find.unique.titles.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2148,7 +2148,7 @@ class SC {
canUpload(request) {
return _asyncToGenerator(function* () {
if (!request.imdbId) return true;
var queryUrl = "https://secret-cinema.pw/torrents.php?action=advanced&searchsubmit=1&filter_cat=1&cataloguenumber=".concat(request.imdbId, "&order_by=time&order_way=desc&tags_type=0");
var queryUrl = "https://secret-cinema.pw/torrents.php?action=advanced&searchsubmit=1&cataloguenumber=".concat(request.imdbId, "&order_by=time&order_way=desc&tags_type=0");
var result = yield common__WEBPACK_IMPORTED_MODULE_2__["default"].http.fetchAndParseHtml(queryUrl);
return result.querySelector(".torrent_card_container") === null;
})();
Expand Down
2 changes: 1 addition & 1 deletion Find Unique Titles/src/trackers/SC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async *getSearchRequest(): AsyncGenerator<MetaData | Request, void, void> {

async canUpload(request: Request) {
if (!request.imdbId) return true;
const queryUrl = `https://secret-cinema.pw/torrents.php?action=advanced&searchsubmit=1&filter_cat=1&cataloguenumber=${request.imdbId}&order_by=time&order_way=desc&tags_type=0`;
const queryUrl = `https://secret-cinema.pw/torrents.php?action=advanced&searchsubmit=1&cataloguenumber=${request.imdbId}&order_by=time&order_way=desc&tags_type=0`;
const result = await tracker_tools.http.fetchAndParseHtml(queryUrl);
return result.querySelector(".torrent_card_container") === null;
}
Expand Down

0 comments on commit 9371469

Please sign in to comment.