Compare commits

..

325 Commits

Author SHA1 Message Date
kaso17
073c23c177 Disable mono specific code 2017-01-20 14:03:03 +01:00
kaso17
daa96313ef Update apps list 2017-01-20 13:50:50 +01:00
kaso17
16ef8061a3 Add --NoRestart command line flag and pass pids to the updater (--KillPids) 2017-01-20 13:50:23 +01:00
kaso17
bbff25fd54 Delete JackettUpdate temp files 2017-01-19 15:03:44 +01:00
kaso17
f96a493c08 Cardigann: fix form login 2017-01-19 14:22:26 +01:00
kaso17
3d17b736c5 log environment details during startup 2017-01-19 14:19:18 +01:00
kaso17
3439654059 FunkTorrents: add MP3+Lossless mapping 2017-01-19 12:59:08 +01:00
kaso17
12c421b6db Add Magico tracker 2017-01-18 21:43:22 +01:00
kaso17
32725357a1 LinkoManija: fix cat 58 2017-01-18 21:42:16 +01:00
kaso17
c80b3f8590 Cardigann: add support for submitpath 2017-01-18 21:41:57 +01:00
kaso17
43381a9851 Cardigann: Add support for selector inputs 2017-01-18 21:17:45 +01:00
kaso17
08ef126c01 Add LinkoManija tracker 2017-01-18 19:59:35 +01:00
kaso17
173e8e83b8 Mononoké-BT: cleanup 2017-01-18 19:40:42 +01:00
kaso17
94bf9a146b Add Mononoké-BT tracker 2017-01-18 19:17:52 +01:00
kaso17
fb3065a919 Add PiXELHD tracker 2017-01-17 19:47:47 +01:00
kaso17
93e1022269 Superbits: remove dupe argument 2017-01-17 17:50:11 +01:00
kaso17
61a7bb4d10 Add Hardbay tracker 2017-01-17 17:49:43 +01:00
kaso17
cf4b3eb2c1 Add AOX tracker 2017-01-17 17:12:01 +01:00
kaso17
8e1b2feaec Cardigann: add prepend filter 2017-01-17 17:10:50 +01:00
kaso17
bba11aae9b Add GODS tracker 2017-01-17 16:05:57 +01:00
kaso17
d46fe3f3c7 Add eStone tracker 2017-01-17 15:01:39 +01:00
kaso17
ccf5112211 Cardigann: add support for filters on error messages 2017-01-17 15:00:59 +01:00
kaso17
208761f28c Bitspyder: add support for alternative style 2017-01-17 13:28:18 +01:00
kaso17
6972103891 Ethor.net (Thor's Land): use username/password/captcha login 2017-01-17 12:33:36 +01:00
kaso17
7c0d619f2f Cardigann: set referer on captcha request 2017-01-17 12:32:11 +01:00
kaso17
7bdbc4a025 IPTorrents: Don't set the Description 2017-01-17 08:32:44 +01:00
kaso17
b4e5009b2f IPTorrents: update categories 2017-01-17 08:28:36 +01:00
kaso17
77841cd4c4 IPTorrents: fix link selector 2017-01-17 08:19:25 +01:00
kaso17
df85d334a3 don't set publish_date if it's not available 2017-01-16 18:52:56 +01:00
kaso17
0846ea6a98 use ISO 8601 strict for publish_date and make it UTC 2017-01-16 18:45:18 +01:00
Devin Buhl
945f3f9c7f Add PublishDate to Potato feed for Radarr (#934) 2017-01-16 18:25:22 +01:00
kaso17
8b1381aba6 improve imdbid validation 2017-01-16 18:17:13 +01:00
kaso17
be74b3af7c AnimeBytes: fix warning 2017-01-16 18:14:41 +01:00
kaso17
ef7902b378 IPTorrents: add support for imdb search 2017-01-16 18:14:28 +01:00
kaso17
c2e3d0e225 Add imdbid validation 2017-01-16 18:08:02 +01:00
kaso17
0c02767d8f TorrentDay: enable IMDB search 2017-01-16 17:31:41 +01:00
kaso17
33c5ce86f7 TehConnection: enable IMDB search & fix BannerUrl 2017-01-16 17:30:31 +01:00
kaso17
1c9213e7f1 PassThePopcorn: enable IMDB search 2017-01-16 17:23:51 +01:00
kaso17
af1aa408c9 Add support for movie-search 2017-01-16 17:23:19 +01:00
kaso17
716fe0e6b6 Torznab: change content type for t=caps to xml only 2017-01-16 16:10:21 +01:00
kaso17
3a40e73d43 Abnormal: set encoding 2017-01-16 15:16:05 +01:00
kaso17
b6accb02dc DigitalHive: automatically re-login 2017-01-16 12:29:51 +01:00
kaso17
5599b05fb3 Cardigann: improve search URL handling 2017-01-16 12:25:16 +01:00
kaso17
54b14090dd Cardgainn: add support for login input field selectors 2017-01-16 12:24:45 +01:00
kaso17
ad921afe94 AnimeBytes: automatically re-login 2017-01-16 12:23:40 +01:00
kaso17
9b0a03d002 AnimeBytes: Fix DL links 2017-01-16 12:23:15 +01:00
kaso17
29d3930baa AnimeBytes: fix missing encodings 2017-01-16 12:15:18 +01:00
kaso17
29c1ee3cac update mono v3 note 2017-01-13 17:09:36 +01:00
kaso17
33aac7e602 Add WebAPIExceptionHandler 2017-01-13 17:00:02 +01:00
kaso17
331de4247b Bitspyder: use and filter 2017-01-13 13:30:48 +01:00
kaso17
9cecc38189 Rockhard Lossless: use and filter 2017-01-13 13:30:36 +01:00
kaso17
0965274184 Shellift: use and filter 2017-01-13 13:30:14 +01:00
kaso17
ef49f304de The Shinning: remove [TsH] prefix 2017-01-13 13:29:53 +01:00
kaso17
547a607dff Add Bitspyder tracker 2017-01-12 19:13:36 +01:00
kaso17
486760a211 Rockhard Lossless: improve login error handling 2017-01-12 18:36:19 +01:00
kaso17
97a4cd6a1f Add Rockhard Lossless tracker 2017-01-12 18:32:33 +01:00
kaso17
7cb48969be Nachtwerk: fix cats 2017-01-12 18:11:17 +01:00
kaso17
c3d2659b7f Add Nachtwerk tracker 2017-01-12 17:22:34 +01:00
kaso17
9689ea7881 Cardigann: add support for redirects on download selector 2017-01-12 17:18:50 +01:00
kaso17
cba4fe074f Fix New Real World order 2017-01-12 15:31:53 +01:00
kaso17
821e796678 Add Hyperay tracker 2017-01-12 15:31:07 +01:00
kaso17
582784c547 Superbits: cleanup 2017-01-12 13:37:14 +01:00
kaso17
538c455c6a IPTorrents: Add category 65 2017-01-12 13:36:31 +01:00
kaso17
82eaa15537 Add Infinity-T tracker 2017-01-12 12:18:22 +01:00
kaso17
0e7ce1d38d Add Freedom-HD tracker 2017-01-11 18:59:11 +01:00
kaso17
106ce8aa58 Shellife: fix login error selector 2017-01-11 18:24:49 +01:00
kaso17
2baf645351 Add Shellife tracker 2017-01-11 18:17:40 +01:00
kaso17
d9d935c267 Cardigann: add support for append modifier and trim early 2017-01-11 18:16:25 +01:00
kaso17
ef3dfad4aa BeyondHD: add leading/tailing wildcard to search 2017-01-11 17:07:06 +01:00
kaso17
6d275244ef Revert "BeyondHD: strip and filter for specific keywords later"
This reverts commit 40978fbce1.
2017-01-11 17:04:47 +01:00
kaso17
7a25d94b95 Set encoding for omdbapi calls 2017-01-11 14:48:50 +01:00
kaso17
81c9828e4c Add ShareSpaceDB tracker 2017-01-10 19:06:47 +01:00
kaso17
23b0378d2a Revert "Remove Tspate"
This reverts commit ecf295873f.
2017-01-10 18:55:10 +01:00
kaso17
dd029db392 Add FunkyTorrents tracker 2017-01-10 18:52:13 +01:00
kaso17
40978fbce1 BeyondHD: strip and filter for specific keywords later 2017-01-10 17:54:45 +01:00
kaso17
2cc451ebef Shareisland: fix categories and use url encoded wildcard 2017-01-10 16:58:45 +01:00
kaso17
2f6e1e29b1 nCore: set DL/UL factors 2017-01-10 16:18:10 +01:00
kaso17
99c0de285e Revert "Remove nostream"
This reverts commit 1215548b31.
2017-01-09 13:47:53 +01:00
Ashleigh Hopkins
d9afee215d Add support for gzip'd content (affects an IPTorrents alt URL) (#1) (#920) 2017-01-09 13:12:31 +01:00
kaso17
dc8f85d33d Add Superbits tracker 2017-01-06 19:04:46 +01:00
kaso17
1134ef71da Cardigann: add support for GET login 2017-01-06 19:04:26 +01:00
kaso17
c9e5f14687 Add Torrenting tracker 2017-01-06 17:07:52 +01:00
kaso17
dbe7561642 BeyondHD: replace special characters with wildcards 2017-01-06 16:09:22 +01:00
kaso17
9fcb16e535 Remove Freaks Tracking System 2017-01-06 15:17:47 +01:00
kaso17
1215548b31 Remove nostream 2017-01-06 15:16:30 +01:00
kaso17
ecf295873f Remove Tspate 2017-01-06 15:15:07 +01:00
kaso17
8dcc2aedc9 Cardigann: improve resolvePath usage 2017-01-06 15:05:51 +01:00
kaso17
08b3ba0f02 Elite Tracker: Add support for releases without tooltip and guess time for releases with PRE time 2017-01-06 13:30:21 +01:00
kaso17
f587ae3084 Cardigann: add optional field modifier 2017-01-05 19:15:39 +01:00
kaso17
58206b0d33 Add BitHUmen tracker 2017-01-05 19:14:41 +01:00
kaso17
8e5538a11e Avoid concurrent config file writes 2017-01-05 18:08:10 +01:00
kaso17
175bea9269 Automatically load the backup config if the primary one is corrupted 2017-01-05 18:05:14 +01:00
kaso17
33cbc71817 Add RuTracker 2017-01-05 17:36:49 +01:00
kaso17
f7014f4ca2 Add RuTracker 2017-01-05 17:36:36 +01:00
kaso17
874e14018e Add RuTracker 2017-01-05 17:36:05 +01:00
kaso17
922c08da19 Add support for empty captcha images 2017-01-05 17:31:52 +01:00
adamwinn
5fe89a85e9 tenyardtracker: minor changes (#827)
* minor changes for tenyardtracker
2017-01-04 16:20:52 +01:00
kaso17
0bcf922f37 Elite Tracker: improve search 2017-01-04 15:09:58 +01:00
Tentacule
eb485bfa60 Implement Elite-Tracker (#911)
Fixes #782
2017-01-04 12:35:49 +01:00
kaso17
74d0e022ae 7tor: add category mapping 2017-01-04 12:21:43 +01:00
kaso17
0a8675ea7c Add 7tor tracker 2017-01-03 19:01:05 +01:00
kaso17
eed8cb70a3 GFTracker: fix and improve search 2017-01-03 16:09:07 +01:00
kaso17
e476233f07 HttpWebClient: add support for Referrer 2017-01-03 15:04:49 +01:00
kaso17
b8d40b5259 Add M-Team - TP tracker 2017-01-03 14:54:36 +01:00
kaso17
a399e8d0a5 Demonoid: add more detailed audio category mapping 2017-01-03 14:01:11 +01:00
kaso17
db049b2478 Add HDSky tracker 2017-01-03 13:21:07 +01:00
kaso17
03ab411d68 Cardigann: make download method configurable 2017-01-03 13:19:23 +01:00
kaso17
20b9b692f0 x264: upgrade to recaptcha V2 2017-01-02 21:45:15 +01:00
kaso17
f99e104755 Make site link configurable for all indexers 2017-01-02 21:39:28 +01:00
kaso17
8a9648d347 Demonoid: improve search results 2017-01-02 16:27:56 +01:00
kaso17
3ca760145c Torrentech: Add support for AAC category mapping 2017-01-02 15:46:09 +01:00
kaso17
3cf09f5b0f TVChaos UK: Fix and improve search 2017-01-02 15:45:01 +01:00
kaso17
657bb15282 CleanTitle: remove brackets 2016-12-30 17:12:32 +01:00
kaso17
069c64f504 TorrentBD: fix comments field 2016-12-30 16:39:48 +01:00
kaso17
65c1aed251 Add CHBits tracker 2016-12-30 15:20:11 +01:00
kaso17
e8e4289b20 Hounddawgs: fix category handling 2016-12-30 14:10:33 +01:00
Frederik Nielsen
0838a0b258 Add movie categories to HoundDawgs (#902) 2016-12-30 13:50:04 +01:00
kaso17
8e8f143b02 Torrentech: Add compatibility for all themes 2016-12-30 13:39:56 +01:00
kaso17
2e56f662cd Shareisland: fix date parsing 2016-12-29 19:56:52 +01:00
kaso17
440d59a30e Add Torrentech indexer 2016-12-29 19:56:35 +01:00
kaso17
286ef8396a Make FuzzyTime date format selectable 2016-12-29 19:56:18 +01:00
kaso17
772df7a4c1 x264: no longer have to set PublishDate 2016-12-29 15:54:27 +01:00
kaso17
134fd3f4cf Torznap feed: always set pubDate 2016-12-29 15:51:08 +01:00
kaso17
ae8f8f7ccd BitHQ: fix definition 2016-12-29 15:47:39 +01:00
kaso17
f8637051fa PotatoController: set freeleech correctly 2016-12-29 15:47:16 +01:00
kaso17
eb0e82494c Add BitHQ tracker 2016-12-29 15:31:12 +01:00
kaso17
265b949de9 SceneFZ: Fix category parsing for parent categories 2016-12-29 14:39:48 +01:00
kaso17
34acbed7f0 Bit-City Reloaded: cleanup 2016-12-29 12:47:58 +01:00
kaso17
42eb68ba76 Bit-City Reloaded: fix category mapping 2016-12-29 12:39:42 +01:00
kaso17
37591c6da6 MySpleen: add global freeleech check 2016-12-29 12:35:05 +01:00
kaso17
f5a8ad61b9 FANO/New Retro/Secret Cinema/Shareisland/Horror Charnel/Shinning/TSpate/WorldOfP2P: use andmatch filter 2016-12-29 12:21:46 +01:00
kaso17
e064fd8ccd Add support for andmatch Rows filter 2016-12-29 12:19:49 +01:00
kaso17
8a9949ac93 MatchQueryStringAND: add support for character limit 2016-12-29 12:19:25 +01:00
kaso17
40dde036d6 Torrent Syndikat: remove articles from search 2016-12-29 12:15:17 +01:00
kaso17
171205bdee TorrentLeech: Update categories 2016-12-29 12:14:35 +01:00
kaso17
03e0c6d67e TorrentLeech: use AND filter 2016-12-29 12:01:42 +01:00
kaso17
91500c95e6 Secret Cinema: Exclude Secret Pills from search results 2016-12-29 11:36:57 +01:00
kaso17
8a082b0668 Remove FunFile definition (use C# implementation) 2016-12-29 11:07:45 +01:00
kaso17
650b6986f9 TranceTraffic: fix selector for single page search results 2016-12-28 06:56:23 +01:00
kaso17
82fd53226c Add TranceTraffic tracker 2016-12-27 19:13:01 +01:00
kaso17
77fd3e206b Cardigann: improve exception readability 2016-12-27 19:07:32 +01:00
kaso17
3989f35827 Cardigann: Don't use any default cats 2016-12-27 19:06:37 +01:00
kaso17
82376a508a RapideTracker: add details link 2016-12-27 17:09:05 +01:00
kaso17
4f9ce14e2f TorrentSyndikat: use long title 2016-12-26 15:52:26 +01:00
kaso17
60a2ffbe41 TorrentSyndikat: Add global freeleech check 2016-12-26 15:50:08 +01:00
kaso17
15598e3d66 Andraste: Add global freeleech check 2016-12-24 13:12:36 +01:00
kaso17
357be7dda9 HDClub: fix links+login 2016-12-24 08:17:27 +01:00
kaso17
a0aa77519b Add HDClub tracker 2016-12-23 17:35:30 +01:00
kaso17
f3ef590d3f Cardigann: Add support for image captchas 2016-12-23 17:18:37 +01:00
kaso17
d347ea71b8 Abnormal: attempt to fix parsing 2016-12-23 14:57:00 +01:00
kaso17
62f0bdc19c Add RapideTracker tracker 2016-12-23 14:56:31 +01:00
kaso17
e92b925eab Add FANO.IN tracker 2016-12-21 18:18:25 +01:00
kaso17
e8239f4899 IPTorrents: use encoding during login 2016-12-21 17:32:24 +01:00
kaso17
5c855d3b50 HD-Torrents: Allow alternative URLs 2016-12-20 19:45:57 +01:00
kaso17
6dfaff6aad Torrent.Md: remove description 2016-12-20 19:44:24 +01:00
kaso17
849b9e9765 Add Torrents.Md tracker 2016-12-20 19:43:08 +01:00
kaso17
eacfd53466 Add u-Torrent tracker 2016-12-20 13:20:12 +01:00
kaso17
4459697fe5 Cardigann: Don't use empty banner URLs 2016-12-20 13:18:48 +01:00
kaso17
94872affa9 Add DataScene tracker 2016-12-20 12:39:57 +01:00
kaso17
a29064e7fb Add imdb/banner/description to cached results view 2016-12-20 12:07:43 +01:00
kaso17
679cba4297 Avoid line wraps in the size column 2016-12-20 12:05:53 +01:00
kaso17
f155a21ee8 Add banner/description tooltip 2016-12-20 11:50:04 +01:00
kaso17
0913ee4934 Xtreme Zone: add banner 2016-12-20 11:48:53 +01:00
kaso17
1fa0384eb8 Add IMDB label 2016-12-20 10:01:53 +01:00
kaso17
59727fe8fc Xtreme Zone: Fix description 2016-12-20 09:40:08 +01:00
kaso17
28707fa146 ICE Torrent: fix seedersm, leechers, description imdb and add banner 2016-12-20 09:39:53 +01:00
kaso17
f408abe7a4 Cardigann: Add support for minimumratio/minimumseedtime/rageid/tvdbid/banner fields 2016-12-20 09:38:01 +01:00
kaso17
42434c35a1 Add Xtreme Zone tracker 2016-12-19 20:57:38 +01:00
kaso17
df941c54ce IPTorrents: change default URL 2016-12-19 20:25:18 +01:00
kaso17
f2eb4dacd0 ICE Torrent: Fix timezone and add details link 2016-12-19 20:24:58 +01:00
kaso17
9795587e4d Add ICE Torrent tracker 2016-12-19 19:51:54 +01:00
kaso17
15064810f8 Add TorViet tracker 2016-12-18 15:32:46 +01:00
kaso17
fbfee66c7b Shareisland: replace special characters with wildcards 2016-12-18 12:21:53 +01:00
kaso17
53e2d9e9cd Cardigann: Add support for re_replace template function
Example: {{ re_replace .Query.Keywords "[^a-zA-Z0-9]+" "%" }}
2016-12-18 12:20:33 +01:00
kaso17
49fd078a4c Add nostream tracker 2016-12-18 11:46:29 +01:00
kaso17
3dfba7c204 Add notwhat.cd tracker 2016-12-18 11:36:11 +01:00
kaso17
0e59621650 Add QcTorrent tracker 2016-12-17 17:33:34 +01:00
kaso17
c2f4cc97ab Add PassTheHeadphones tracker 2016-12-17 16:49:52 +01:00
kaso17
5fc7fca5c6 CategoryMapping: Add support for the tracker category description 2016-12-17 16:42:50 +01:00
kaso17
7b2dd93f2f TVChaosUK: relogin if necessary 2016-12-17 13:57:40 +01:00
kaso17
a8ddf21081 TVChaosUK: test RSS and scrape search 2016-12-17 13:39:52 +01:00
kaso17
7db50dba49 AlphaReign: Fix category selectors 2016-12-17 13:32:54 +01:00
kaso17
9d30f833da TorrentLeech: Fix date selector 2016-12-17 13:24:57 +01:00
kaso17
bf959f1c29 Apollo: Add uppercase global freeleech selector 2016-12-15 09:52:03 +01:00
kaso17
1cde5c5142 Add Gormogon tracker 2016-12-15 09:32:11 +01:00
kaso17
58a7de145a Cardigann: Add support for non-direct download links 2016-12-15 09:12:28 +01:00
kaso17
9a66289a26 Add more debug output on Download error 2016-12-15 06:56:41 +01:00
kaso17
6201712ce9 HD Torrents: add support for NO RATIO label 2016-12-14 08:55:05 +01:00
kaso17
f921df948c House of Torrents: reset cookies on login 2016-12-14 08:45:40 +01:00
kaso17
059701fbf6 Cardigann: fix re-login caching issue for login method=form indexers 2016-12-14 08:44:56 +01:00
kaso17
addf98e9a3 TorrentDay: change default url back to torrentday.it 2016-12-12 08:34:06 +01:00
kaso17
f124b7e30b TorrentLeech: avoid unnecessary login checks 2016-12-12 08:24:18 +01:00
kaso17
0fc2a3083c TorrentLeech: Fix login parameters/error parsing 2016-12-12 08:16:46 +01:00
kaso17
01141b8cc1 NetHD: fix rows selector 2016-12-12 07:34:03 +01:00
kaso17
be542272d1 BitMeTV: include dead torrents 2016-12-12 07:21:30 +01:00
kaso17
2c4f18128a TorrentLeech: fix relogin detection 2016-12-12 06:48:55 +01:00
kaso17
adbd6c9d0d TorrentLeech: fix DL link 2016-12-11 16:41:02 +01:00
kaso17
a854771950 TorrentLeech: adjust to new design 2016-12-11 16:36:48 +01:00
kaso17
b4fafe2845 bB: normalize spaces in title 2016-12-11 16:12:47 +01:00
kaso17
1050157546 Curl: Fix Bad Request errors 2016-12-11 15:43:39 +01:00
kaso17
6f54958ec0 The Horror Charnel: fix rows selector 2016-12-11 06:18:32 +01:00
kaso17
a53fc1e8cb IWebClient: minor cleanup 2016-12-11 05:57:39 +01:00
kaso17
e0e81ff52b TorrentDay: update to latest URLs/redirect scheme 2016-12-11 05:50:08 +01:00
kaso17
4f86272074 IWebClient: log redirect target 2016-12-11 05:48:43 +01:00
kaso17
d909d0cb60 Norbits: fix language 2016-12-11 05:21:32 +01:00
kaso17
6a18ec23b2 ToTheGloy: fix categories and add IMDB 2016-12-11 05:17:34 +01:00
kaso17
c40c176b72 PreToMe: automatic re-login is necessary 2016-12-10 22:32:41 +01:00
kaso17
55f2951694 House Of Torrents: automatic re-login is necessary 2016-12-10 22:32:31 +01:00
kaso17
5b641a5efc AlphaRatio: automatic re-login is necessary 2016-12-10 22:32:17 +01:00
kaso17
d259f3df0d bB: Add quality to title 2016-12-10 21:32:06 +01:00
kaso17
2ad44cd79b TorrentDay: Add error message on invalid cookies 2016-12-10 18:39:20 +01:00
kaso17
2ffdc1678b Make Cardigann indexers deletable 2016-12-10 18:20:04 +01:00
kaso17
db4717b714 XSpeeds: Login again only if it's necessary 2016-12-10 18:01:45 +01:00
kaso17
6d26fb8f43 LoadValuesFromJson: allow null as input 2016-12-10 17:53:41 +01:00
kaso17
ca2b4110bb Curl: Fix cloudflare challenges 2016-12-10 15:01:35 +01:00
kaso17
606e629cc6 Add ToTheGlory tracker 2016-12-10 13:49:39 +01:00
kaso17
0fd925e945 CurlHelper: FailOnError 2016-12-10 12:54:14 +01:00
kaso17
c3033db8fb Cardigann: cleanup 2016-12-10 11:56:58 +01:00
kaso17
e312a4da09 Curl: add support for request headers 2016-12-10 11:56:23 +01:00
kaso17
467eb453db IWebClient: disable warning 2016-12-10 11:17:56 +01:00
kaso17
7c0e22258a Cardigann: Add support for form login with enctype=multipart/form-data 2016-12-10 11:17:21 +01:00
kaso17
bfdc5043eb JackettUpdater: create missing directories and remove legacy files 2016-12-10 10:48:24 +01:00
kaso17
c2520c86d7 Fix CloudFlare challenges for mono/libcurl 2016-12-10 10:36:42 +01:00
kaso17
fb41b2a543 Fix indexer main categories 2016-12-09 18:31:41 +01:00
kaso17
384c76e27d Add missing languages/encodings 2016-12-09 18:20:58 +01:00
kaso17
eaf84e201f Attempt to fix #820 2016-12-09 17:45:37 +01:00
kaso17
9862ca408a Update PassThePopcorn URLs and encoding 2016-12-09 17:17:19 +01:00
kaso17
fbc48848d6 Add total configured/unconfigured indexers counters (#830) 2016-12-09 17:12:09 +01:00
kaso17
894688337e Add MySpleen tracker (#829) 2016-12-09 17:01:01 +01:00
kaso17
bae4752cad Update README.md 2016-12-09 16:26:21 +01:00
kaso17
58987e3e38 Add NetHD tracker (#828) 2016-12-09 16:21:56 +01:00
kaso17
e63d98acfc SceneFZ: fix and improve search (#825) 2016-12-08 09:47:47 +01:00
kaso17
c44385e9b7 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2016-12-08 07:31:40 +01:00
kaso17
0dd2dcf497 MTV: Fix size 2016-12-08 07:31:31 +01:00
adamwinn
8f8a1af9d9 Add tenyardtracker (#824) 2016-12-08 06:38:18 +01:00
kaso17
369640b464 Add Norbits tracker (#819) 2016-12-06 18:39:21 +01:00
kaso17
a908cec280 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2016-12-06 18:25:32 +01:00
kaso17
aab478e378 XSpeeds: test RSS and search 2016-12-06 18:25:21 +01:00
kaso17
67bf46ccb6 TorznabQuery: add IsTest flag 2016-12-06 18:24:40 +01:00
kaso17
36ccdd287c BIT-HDTV: Fix and improve search (#817) 2016-12-06 15:19:23 +01:00
kaso17
d499c291b9 WebRequest: make encoding configurable (#816) 2016-12-06 14:56:47 +01:00
kaso17
7835da2ea8 Indexer Download: UrlEncode some special chars 2016-12-06 11:13:18 +01:00
kaso17
2b77ca4322 Allow ', [ and ] in search queries 2016-12-06 11:09:10 +01:00
kaso17
d801808270 HD-Torrents: fix and improve search (#815) 2016-12-06 09:52:40 +01:00
kaso17
3f629ba7d2 automatically decode CloudFlare protected emails 2016-12-06 09:40:38 +01:00
kaso17
e34ffcbaa6 WebResult: Add support for headers 2016-12-06 09:39:32 +01:00
kaso17
047bdda088 Allow @ in search 2016-12-06 09:04:40 +01:00
kaso17
777f357cec update screenshot 2016-12-05 18:43:04 +01:00
kaso17
599d1c9c91 Fix Test 2016-12-05 18:25:56 +01:00
kaso17
37dae02a1b Add search buttons for indexers (#812) 2016-12-05 18:20:56 +01:00
kaso17
441023a336 Add Secret Cinema tracker (#811) 2016-12-05 18:01:11 +01:00
kaso17
56d7d42836 TorrentLeech: include 0day and music (#809) 2016-12-05 15:31:17 +01:00
kaso17
59b90d3896 Add SDBits tracker (#807) 2016-12-05 15:14:16 +01:00
kaso17
4283ea5e67 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2016-12-05 15:09:46 +01:00
kaso17
32fa8cf5fd Cardigann: Add support for IMDB 2016-12-05 15:09:43 +01:00
kaso17
412df7c6f6 Sort indexers once all are loaded 2016-12-05 13:03:30 +01:00
kaso17
e275ebba87 UHDBits: genre tags have been removed (#805) 2016-12-05 12:44:49 +01:00
kaso17
c38a2533e1 replace card view with list view (#803) 2016-12-05 12:32:26 +01:00
kaso17
bb6f56bfa6 Add LastError to indexer API (#802) 2016-12-05 11:43:07 +01:00
kaso17
82ae611c81 Cardigann: Fix relogin for method=form (#800) 2016-12-04 20:58:50 +01:00
kaso17
64e537e77d Cardigann: no login needed if there's no login definition (#799) 2016-12-04 20:49:07 +01:00
kaso17
245855c2ab DanishBits: Fix DL link (#798) 2016-12-04 20:37:36 +01:00
kaso17
186136cc86 MyAnonamouse: fix and improve search (#797) 2016-12-04 20:15:01 +01:00
kaso17
0295bc68ab TehConnection: Add new attributes 2016-12-03 19:14:45 +01:00
kaso17
9da7866321 TehConnection: Use release link for details 2016-12-03 19:14:45 +01:00
kaso17
9930430026 TehConnection: Generate title for releases without scene title 2016-12-03 19:14:45 +01:00
kaso17
e56ff204f8 Add language field to indexers (#788) 2016-12-02 18:58:10 +01:00
savahu
6a3374ea86 Corrected ordering of supported trackers (#787) 2016-12-02 18:32:25 +01:00
kaso17
c134e72979 DanishBits: Add new attributes 2016-12-02 14:43:29 +01:00
kaso17
d84bd074c0 Apollo: Add support for global freeleech (#785) 2016-12-02 13:29:45 +01:00
kaso17
51b4326920 Cardigann: Add support for :root pseudo selector 2016-12-02 13:05:00 +01:00
kaso17
253bda68e9 Apollo: Update URL 2016-12-01 08:14:29 +01:00
kaso17
7fa558c743 SceneAccess: Fix login (#776) 2016-12-01 08:02:33 +01:00
kaso17
b01bf3e669 x264: Use now as PublishDate (#775) 2016-12-01 07:49:12 +01:00
kaso17
dd4eaed4fa BeyondHD: Use Login Link (#772) 2016-11-30 18:33:09 +01:00
kaso17
ac4787e292 Fix typo 2016-11-30 06:50:23 +01:00
kaso17
88002d4b53 Add TorrentBD tracker 2016-11-29 19:35:49 +01:00
kaso17
f30ba7fd59 Cardigann: Add basic support for ReCaptcha V2 (#769) 2016-11-29 19:32:50 +01:00
kaso17
470b212f32 Add The Shinning tracker (#767) 2016-11-29 14:20:23 +01:00
kaso17
3ab45960da Add Freaks Tracking System tracker (#762) 2016-11-28 19:41:57 +01:00
kaso17
870c0592fe Cardigann: Make encoding configurable 2016-11-28 19:31:12 +01:00
kaso17
da2a252848 FileList: fix download link and some more improvements (#760) 2016-11-28 16:03:22 +01:00
kaso17
88f73f185c UHDBits: Add details URL (#759) 2016-11-28 08:51:01 +01:00
kaso17
d3cef38f15 Cardigann: Prefere details over comments URL (#758) 2016-11-28 08:50:08 +01:00
kaso17
5292e8f342 IPTorrents: Add TV/x265 category (#757) 2016-11-28 08:28:37 +01:00
kaso17
ef637792c8 Add Blu-bits tracker (#749) 2016-11-27 19:07:33 +01:00
kaso17
09a2e8c084 Add support for parsing "now" time strings (#748) 2016-11-27 15:39:40 +01:00
kaso17
d3161823ad Add Apollo/XANAX tracker (#747)
* AlphaReign: add login test selector

* Add Apollo/XANAX tacker

* Add Apollo/XANAX tracker

* fix readme
2016-11-27 15:22:05 +01:00
kaso17
289844099c AlphaReign: add login test selector 2016-11-26 18:12:15 +01:00
kaso17
98a916b4c1 Cardigann: login again if necessary (#744) 2016-11-26 18:00:53 +01:00
kaso17
69ff142596 ImmortalSeed & FunFile: login again if necessary (#743) 2016-11-26 17:21:50 +01:00
kaso17
80fd717970 XSpeeds: dump feed in case of error (#742) 2016-11-26 16:57:49 +01:00
kaso17
ab083cdec8 CurlHelper: Add NotImplemented/InternalServerError debugging (#730) 2016-11-24 09:17:24 +01:00
kaso17
e16454f30c Add AlphaReign tracker (#729) 2016-11-24 08:40:49 +01:00
kaso17
23c13969ae Cardigann enhancements (#728)
* Cardigann: Use GET for landing site request

* Cardigann: Add support for magnet links
2016-11-24 08:31:39 +01:00
kaso17
dcc3f2df63 Add Ethor tracker (#726) 2016-11-23 10:19:38 +01:00
kaso17
10f7f83ecf Add EoT-Forum tracker (#723) 2016-11-21 19:07:09 +01:00
kaso17
b5e6eac3e3 Cardigann: Add support for DateHeaders (#722) 2016-11-21 18:48:36 +01:00
kaso17
9df337c3c2 Add Tspate tracker (#720) 2016-11-21 17:10:53 +01:00
flightlevel
d2f0e5ada7 MoreThanTv: Fix Times (#719)
Times are UTC, convert to local time
2016-11-21 19:46:53 +11:00
kaso17
d3aa897b1a Torrent Sector Crew: Fix rows selector for people with "Empfohlene Torrents in der Liste anzeigen" disabled. (#718) 2016-11-21 09:24:15 +01:00
kaso17
0abcf401bb Add UHDBits to README (#715) 2016-11-20 13:58:29 +01:00
kaso17
560d257f5b Remove BlueTigers tracker (#714)
https://twitter.com/hashtag/bluetigers
2016-11-20 13:50:57 +01:00
kaso17
1a619e698a Update readme (#713) 2016-11-20 13:22:59 +01:00
kaso17
52aea3de5a Add The Horror Charnel tracker (#712) 2016-11-20 13:09:25 +01:00
kaso17
8fa1268de2 Cardigann: Add support for After rows selector (#711) 2016-11-20 12:49:56 +01:00
kaso17
5a4c1282ef Cardigann: automatically solve simpleCaptchas (#710) 2016-11-20 11:24:29 +01:00
kaso17
3aecc53b5f Hebits: set comments Url (#709) 2016-11-20 10:22:17 +01:00
kaso17
328f652e1b Cardigann: make sure GUID get's set (#708) 2016-11-20 10:15:48 +01:00
kaso17
52a56f5088 TSC: fix ratio (#704) 2016-11-19 13:22:38 +01:00
kaso17
5e4c64bf68 TSC: Add ratio support (#703) 2016-11-19 13:18:22 +01:00
kaso17
930e9db67a Add Torrent Sector Crew tracker (#702) 2016-11-19 12:57:13 +01:00
kaso17
27627aa79e Cardigann: Implement form based login (#701) 2016-11-19 12:46:31 +01:00
kaso17
ddb94e3f92 ParseDateTimeGoLang: normalize spaces first (#700) 2016-11-19 12:39:22 +01:00
kaso17
f1f5b7028d Add TV-Vault tracker (#698) 2016-11-19 11:33:00 +01:00
kaso17
90959c1fc3 Best Friends: Fix parsing for users with waiting time (#696) 2016-11-17 18:57:34 +01:00
kaso17
3f79aa62d9 TorrentHeaven: Make captcha optional and fix login detection (#693) 2016-11-17 07:06:47 +01:00
kaso17
cd1d30fc4f TorrentHeaven: Use long title (#688) 2016-11-16 09:05:23 +01:00
kaso17
3093651f89 The New Retro: fix date parsing (#687) 2016-11-16 08:51:27 +01:00
kaso17
d969305cbe Cardigann: Add support for timeparse/dateparse filters (#686) 2016-11-16 08:45:32 +01:00
kaso17
22119dab16 Add The New Retro tracker (#685) 2016-11-15 19:37:13 +01:00
kaso17
23958ffba7 bB: add new attributes and login again if necessary (#684) 2016-11-15 17:50:22 +01:00
kaso17
d9673501fc Add HD4Free tracker (#683) 2016-11-15 09:17:55 +01:00
kaso17
f9341818da Merge branch 'master' of https://github.com/Jackett/Jackett.git 2016-11-15 08:32:56 +01:00
kaso17
22ab8aca3d DateTimeUtil: Improve FromUnknown parsing 2016-11-15 08:32:40 +01:00
242 changed files with 15523 additions and 1803 deletions

View File

@@ -2,7 +2,7 @@
This project is a new fork and is recruiting development help. If you are able to help out please contact us.
Jackett works as a proxy server: it translates queries from apps (Sonarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
Jackett works as a proxy server: it translates queries from apps ([Sonarr](https://github.com/Sonarr/Sonarr), [Radarr](https://github.com/Radarr/Radarr), [SickRage](https://sickrage.github.io/), [CouchPotato](https://couchpota.to/), [Mylar](https://github.com/evilhero/mylar), etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
Developer note: The software implements the [Torznab](https://github.com/Sonarr/Sonarr/wiki/Implementing-a-Torznab-indexer) (with [nZEDb](https://github.com/nZEDb/nZEDb/blob/dev/docs/newznab_api_specification.txt) category numbering) and [TorrentPotato](https://github.com/RuudBurger/CouchPotatoServer/wiki/Couchpotato-torrent-provider) APIs.
@@ -10,15 +10,19 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
#### Supported Systems
* Windows using .NET 4.5
* Linux and OSX using Mono 4 (v3 should work but you may experience crashes).
* Linux and OSX using Mono 4 (With v3 you'll experience crashes).
#### Supported Private Trackers
* 7tor
* Abnormal
* AlphaRatio
* AlphaReign
* Andraste
* AnimeBytes
* AnimeTorrents
* AOX
* Apollo (XANAX)
* Avistaz
* BakaBT
* bB
@@ -26,59 +30,113 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* BeyondHD
* Bit-City Reloaded
* BIT-HDTV
* BitHQ
* BitHUmen
* BitMeTV
* BitSoup
* BlueTigers
* Bitspyder
* Blu-bits
* BTN
* CHDBits
* CinemaZ
* DanishBits
* DataScene
* Demonoid
* DigitalHive
* EoT-Forum
* eStone
* Ethor.net (Thor's Land)
* FANO.IN
* FileList
* Freedom-HD
* Freshon
* FunFile
* FunkyTorrents
* Fuzer
* Ghost City
* GODS
* Gormogon
* Hardbay
* HD4Free
* HD-Space
* HD-Torrents
* HDClub
* HDSky
* Hebits
* New Real World
* Hyperay
* Hounddawgs
* House-of-Torrents
* ICE Torrent
* ILoveTorrents
* Immortalseed
* Infinity-T
* IPTorrents
* PassThePopcorn
* PirateTheNet
* LinkoManija
* M-Team - TP
* Magico
* Mononok<6F>-BT
* MoreThanTV
* MyAnonamouse
* myAmity
* MySpleen
* Nachtwerk
* NCore
* NetHD
* New Real World
* NextGen
* Norbits
* nostream
* notwhat.cd
* PassTheHeadphones
* PassThePopcorn
* PirateTheNet
* Pretome
* PrivateHD
* QcTorrent
* RapideTracker
* RevolutionTT
* Rockhard Lossless
* RuTracker
* SceneAccess
* SceneFZ
* SceneTime
* SDBits
* Secret Cinema
* Shareisland
* ShareSpaceDB
* Shazbat
* Shellife
* SpeedCD
* Superbits
* The Horror Charnel
* The New Retro
* The Shinning
* TehConnection
* TenYardTracker
* Torrent Network
* Torrent Sector Crew
* TorrentBD
* TorrentBytes
* TorrentDay
* TorrentHeaven
* Torrenting
* TorrentLeech
* Torrents.Md
* TorrentShack
* Torrent-Syndikat
* ToTheGlory
* TranceTraffic
* TransmitheNet
* TV Chaos UK
* TV-Vault
* u-Torrent
* UHDBits
* World-In-HD
* WorldOfP2P
* x264
* XSpeeds
* Xthor
* Xtreme Zone
#### Installation on Windows
@@ -100,6 +158,7 @@ Jackett can also be run from the command line if you would like to see log messa
#### Installation on Linux/OSX
1. Install [Mono 4](http://www.mono-project.com/download/) or better
* Follow the instructions on the mono website and install the `mono-devel` package.
* On Red Hat/CentOS the `mono-locale-extras` package is also required
2. Install libcurl:
* Debian/Ubunutu: `apt-get install libcurl-dev`
* Redhat/Fedora: `yum install libcurl-devel`
@@ -134,4 +193,4 @@ All contributions are welcome just send a pull request. Jackett's framework all
### Screenshots
![screenshot](https://i.imgur.com/SCGLzFq.png "screenshot")
![screenshot](https://i.imgur.com/0d1nl7g.png "screenshot")

View File

@@ -63,6 +63,9 @@ namespace Jackett.Console
[Option('d', "DataFolder", HelpText = "Specify the location of the data folder (Must be admin on Windows) eg. --DataFolder=\"D:\\Your Data\\Jackett\\\"")]
public string DataFolder { get; set; }
[Option(HelpText = "Don't restart after update")]
public bool NoRestart { get; set; }
[ParserState]
public IParserState LastParserState { get; set; }
}

View File

@@ -217,6 +217,8 @@ namespace JackettConsole
Engine.Server.SaveConfig();
}
}
Startup.NoRestart = options.NoRestart;
}
Engine.Server.Initalize();

View File

@@ -47,5 +47,10 @@ namespace JackettTest
{
throw new NotImplementedException();
}
public void SortIndexers()
{
throw new NotImplementedException();
}
}
}

View File

@@ -1,4 +1,6 @@
using Jackett.Utils.Clients;
using Jackett.Services;
using Jackett.Utils.Clients;
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,6 +14,13 @@ namespace JackettTest
private Dictionary<WebRequest, Func<WebRequest, WebClientByteResult>> byteCallbacks = new Dictionary<WebRequest, Func<WebRequest, WebClientByteResult>>();
private Dictionary<WebRequest, Func<WebRequest, WebClientStringResult>> stringCallbacks = new Dictionary<WebRequest, Func<WebRequest, WebClientStringResult>>();
public TestWebClient(IProcessService p, Logger l, IConfigurationService c)
: base(p: p,
l: l,
c: c)
{
}
public void RegisterByteCall(WebRequest req, Func<WebRequest, WebClientByteResult> f)
{
byteCallbacks.Add(req, f);
@@ -22,17 +31,17 @@ namespace JackettTest
stringCallbacks.Add(req, f);
}
public Task<WebClientByteResult> GetBytes(WebRequest request)
override public Task<WebClientByteResult> GetBytes(WebRequest request)
{
return Task.FromResult< WebClientByteResult>(byteCallbacks.Where(r => r.Key.Equals(request)).First().Value.Invoke(request));
}
public Task<WebClientStringResult> GetString(WebRequest request)
override public Task<WebClientStringResult> GetString(WebRequest request)
{
return Task.FromResult<WebClientStringResult>(stringCallbacks.Where(r => r.Key.Equals(request)).First().Value.Invoke(request));
}
public void Init()
override public void Init()
{
}

View File

@@ -9,6 +9,12 @@ using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/*
// no supported by appveyor, disabeling for now
#if __MonoCS__
using Mono.Unix.Native;
#endif
*/
namespace Jackett.Updater
{
@@ -23,7 +29,7 @@ namespace Jackett.Updater
{
Engine.SetupLogging(null, "updater.txt");
Engine.Logger.Info("Jackett Updater v" + GetCurrentVersion());
Engine.Logger.Info("Options " + string.Join(" ", args));
Engine.Logger.Info("Options \"" + string.Join("\" \"", args) + "\"");
try {
var options = new UpdaterConsoleOptions();
if (Parser.Default.ParseArguments(args, options))
@@ -32,7 +38,7 @@ namespace Jackett.Updater
}
else
{
Engine.Logger.Error("Failed to process update arguments!: " + string.Join(" ", args));
Engine.Logger.Error("Failed to process update arguments!");
Console.ReadKey();
}
}
@@ -49,6 +55,38 @@ namespace Jackett.Updater
return fvi.FileVersion;
}
private void KillPids(int[] pids)
{
foreach (var pid in pids)
{
try
{
var proc = Process.GetProcessById(pid);
Engine.Logger.Info("Killing process " + proc.Id);
proc.Kill();
var exited = proc.WaitForExit(5000);
if (!exited)
Engine.Logger.Info("Process " + pid.ToString() + " didn't exit within 5 seconds");
/*
// no supported by appveyor, disabeling for now
#if __MonoCS__
Engine.Logger.Info("Sending SIGKILL to process " + pid.ToString());
Syscall.kill(proc.Id, Signum.SIGKILL);
#endif
*/
}
catch (ArgumentException e)
{
Engine.Logger.Info("Process " + pid.ToString() + " is already dead");
}
catch (Exception e)
{
Engine.Logger.Info("Error killing process " + pid.ToString());
Engine.Logger.Info(e);
}
}
}
private void ProcessUpdate(UpdaterConsoleOptions options)
{
var updateLocation = GetUpdateLocation();
@@ -57,6 +95,13 @@ namespace Jackett.Updater
updateLocation += Path.DirectorySeparatorChar;
}
var pids = new int[] { };
if (options.KillPids != null)
{
var pidsStr = options.KillPids.Split(',').Where(pid => !string.IsNullOrWhiteSpace(pid)).ToArray();
pids = Array.ConvertAll(pidsStr, pid => int.Parse(pid));
}
var isWindows = System.Environment.OSVersion.Platform != PlatformID.Unix;
var trayRunning = false;
var trayProcesses = Process.GetProcessesByName("JackettTray");
@@ -75,10 +120,11 @@ namespace Jackett.Updater
catch { }
}
}
}
Engine.Logger.Info("Waiting for Jackett to close..");
Thread.Sleep(2000);
// on unix we don't have to wait (we can overwrite files which are in use)
// On unix we kill the PIDs after the update so e.g. systemd can automatically restart the process
KillPids(pids);
}
Engine.Logger.Info("Finding files in: " + updateLocation);
var files = Directory.GetFiles(updateLocation, "*.*", SearchOption.AllDirectories);
foreach(var file in files)
@@ -94,6 +140,12 @@ namespace Jackett.Updater
try {
Engine.Logger.Info("Copying " + fileName);
var dest = Path.Combine(options.Path, file.Substring(updateLocation.Length));
var destDir = Path.GetDirectoryName(dest);
if (!Directory.Exists(destDir))
{
Engine.Logger.Info("Creating directory " + destDir);
Directory.CreateDirectory(destDir);
}
File.Copy(file, dest, true);
}
catch(Exception e)
@@ -102,42 +154,69 @@ namespace Jackett.Updater
}
}
if (trayRunning)
{
var startInfo = new ProcessStartInfo()
{
Arguments = options.Args,
FileName = Path.Combine(options.Path, "JackettTray.exe"),
UseShellExecute = true
};
// delete old files
string[] oldDirs = new string[] { "Content/logos" };
Process.Start(startInfo);
foreach (var oldDir in oldDirs)
{
try
{
var deleteDir = Path.Combine(options.Path, oldDir);
if (Directory.Exists(deleteDir))
{
Engine.Logger.Info("Deleting directory " + deleteDir);
Directory.Delete(deleteDir, true);
}
}
catch (Exception e)
{
Engine.Logger.Error(e);
}
}
if(string.Equals(options.Type, "JackettService.exe", StringComparison.InvariantCultureIgnoreCase))
{
var serviceHelper = new ServiceConfigService(null, null);
if (serviceHelper.ServiceExists())
{
serviceHelper.Start();
}
} else
{
var startInfo = new ProcessStartInfo()
{
Arguments = options.Args,
FileName = Path.Combine(options.Path, "JackettConsole.exe"),
UseShellExecute = true
};
// kill pids after the update on UNIX
if (!isWindows)
KillPids(pids);
if (!isWindows)
if (options.NoRestart == false)
{
if (trayRunning)
{
startInfo.Arguments = startInfo.FileName + " " + startInfo.Arguments;
startInfo.FileName = "mono";
var startInfo = new ProcessStartInfo()
{
Arguments = options.Args,
FileName = Path.Combine(options.Path, "JackettTray.exe"),
UseShellExecute = true
};
Process.Start(startInfo);
}
Engine.Logger.Info("Starting Jackett: " + startInfo.FileName + " " + startInfo.Arguments);
Process.Start(startInfo);
if(string.Equals(options.Type, "JackettService.exe", StringComparison.InvariantCultureIgnoreCase))
{
var serviceHelper = new ServiceConfigService(null, null);
if (serviceHelper.ServiceExists())
{
serviceHelper.Start();
}
} else
{
var startInfo = new ProcessStartInfo()
{
Arguments = options.Args,
FileName = Path.Combine(options.Path, "JackettConsole.exe"),
UseShellExecute = true
};
if (!isWindows)
{
startInfo.Arguments = startInfo.FileName + " " + startInfo.Arguments;
startInfo.FileName = "mono";
}
Engine.Logger.Info("Starting Jackett: " + startInfo.FileName + " " + startInfo.Arguments);
Process.Start(startInfo);
}
}
}

View File

@@ -13,9 +13,15 @@ namespace Jackett.Updater
public string Path { get; set; }
[Option('t', "Type", HelpText = "Install type")]
public string Type { get; set; }
public string Type { get; set; }
[Option('a', "Args", HelpText = "Launch arguments")]
public string Args { get; set; }
[Option(HelpText = "Don't restart after update")]
public bool NoRestart { get; set; }
[Option(HelpText = "PIDs which will be killed before (Windows) or after (Unix) the update")]
public string KillPids { get; set; }
}
}

View File

@@ -20,69 +20,25 @@
display: none;
}
.card {
background-color: #f9f9f9;
border-radius: 6px;
box-shadow: 1px 1px 5px 2px #cdcdcd;
width: 270px;
display: inline-block;
vertical-align: top;
margin: 5px;
overflow: hidden;
position: relative;
}
#indexers {
text-align: center;
margin-top: 30px;
}
#unconfigured-indexers{
text-align: center;
.indexer-table {
text-align: left;
}
#unconfigured-indexers .card {
width: 200px;
position: relative;
.test-success {
color: #449d44;
}
.unconfigured-indexer {
height: 70px;
.test-error {
color: #c9302c;
}
.indexer {
height: 252px;
}
.add-indexer {
border: 0;
}
.indexer-logo {
padding-bottom: 5px;
}
.indexer-logo > .hidden-name {
position: absolute;
color: rgba(255, 255, 255, 0);
left: 0;
}
.indexer-logo img {
width: 100%;
border-bottom: 1px solid #FFF;
}
#unconfigured-indexers .indexer-logo img {
cursor: pointer;
}
.indexer-name > h3 {
margin-top: 13px;
text-align: center;
.test-inprogress {
color: #286090;
}
.indexer-buttons {
@@ -94,33 +50,7 @@
}
.indexer-button-test {
width: 60px;
}
.indexer-add-content {
color: gray;
text-align: center;
}
.indexer-add-content > .glyphicon {
font-size: 50px;
vertical-align: bottom;
}
.indexer-add-content > .light-text {
margin-top: 11px;
font-size: 18px;
margin-left: -5px;
}
.indexer-host {
padding-left: 5px;
padding-right: 5px;
}
.indexer-host > input {
font-size: 12px;
padding: 2px;
width: 60px;
}
.setup-item-inputstring {
@@ -297,3 +227,20 @@ pre {
display: none;
}
table td.fit{
white-space: nowrap;
width: 1%;
}
.label-imdb {
background-color: #d0ab44;
}
.tooltip-inner {
max-width: 500px !important;
}
.tooltip-inner img {
max-width: 250px;
height: auto;
}

View File

@@ -1,5 +1,9 @@
var basePath = '';
var indexers = [];
var configuredIndexers = [];
var unconfiguredIndexers = [];
$(document).ready(function () {
$.ajaxSetup({ cache: false });
window.jackettIsLocal = window.location.hostname === 'localhost' ||
@@ -47,54 +51,151 @@ function loadJackettSettings() {
function reloadIndexers() {
$('#indexers').hide();
$('#indexers > .indexer').remove();
$('#unconfigured-indexers').empty();
var jqxhr = $.get("get_indexers", function (data) {
displayIndexers(data.items);
indexers = data;
configuredIndexers = [];
unconfiguredIndexers = [];
for (var i = 0; i < data.items.length; i++) {
var item = data.items[i];
item.torznab_host = resolveUrl(basePath + "/torznab/" + item.id);
item.potato_host = resolveUrl(basePath + "/potato/" + item.id);
if (item.last_error)
item.state = "error";
else
item.state = "success";
var main_cats_list = [];
for (var catID in item.caps) {
var cat = item.caps[catID];
var mainCat = cat.split("/")[0];
main_cats_list.push(mainCat);
}
item.mains_cats = $.unique(main_cats_list).join(", ");
if (item.configured)
configuredIndexers.push(item);
else
unconfiguredIndexers.push(item);
}
displayConfiguredIndexersList(configuredIndexers);
displayUnconfiguredIndexersList(unconfiguredIndexers);
}).fail(function () {
doNotify("Error loading indexers, request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
});
}
function displayIndexers(items) {
var indexerTemplate = Handlebars.compile($("#configured-indexer").html());
var unconfiguredIndexerTemplate = Handlebars.compile($("#unconfigured-indexer").html());
function displayConfiguredIndexersList(indexers) {
var indexersTemplate = Handlebars.compile($("#configured-indexer-table").html());
var indexersTable = $(indexersTemplate({ indexers: indexers, total_configured_indexers: indexers.length }));
indexersTable.find('table').DataTable(
{
"pageLength": 100,
"lengthMenu": [[10, 20, 50, 100, 200, -1], [10, 20, 50, 100, 200, "All"]],
"order": [[0, "desc"]],
"columnDefs": [
{
"targets": 0,
"visible": true,
"searchable": true
},
{
"targets": 1,
"visible": true,
"searchable": false
}
]
});
$('#indexers').empty();
$('#indexers').append(indexersTable);
prepareTestButtons();
$('#indexers').fadeIn();
prepareSearchButtons();
prepareSetupButtons();
prepareDeleteButtons();
prepareCopyButtons();
}
function displayUnconfiguredIndexersList(indexers) {
var indexersTemplate = Handlebars.compile($("#unconfigured-indexer-table").html());
var indexersTable = $(indexersTemplate({ indexers: indexers, total_unconfigured_indexers: indexers.length }));
indexersTable.find('table').DataTable(
{
"pageLength": 100,
"lengthMenu": [[10, 20, 50, 100, 200, -1], [10, 20, 50, 100, 200, "All"]],
"order": [[0, "desc"]],
"columnDefs": [
{
"targets": 0,
"visible": true,
"searchable": true
},
{
"targets": 1,
"visible": true,
"searchable": true
},
{
"targets": 2,
"visible": true,
"searchable": true
},
{
"targets": 3,
"visible": true,
"searchable": false
}
]
});
$('#unconfigured-indexers-template').empty();
for (var i = 0; i < items.length; i++) {
var item = items[i];
item.torznab_host = resolveUrl(basePath + "/torznab/" + item.id);
item.potato_host = resolveUrl(basePath + "/potato/" + item.id);
if (item.configured)
$('#indexers').append(indexerTemplate(item));
else
$('#unconfigured-indexers-template').append($(unconfiguredIndexerTemplate(item)));
$('#unconfigured-indexers-template').append(indexersTable);
}
function copyToClipboard(text) {
// create hidden text element, if it doesn't already exist
var targetId = "_hiddenCopyText_";
// must use a temporary form element for the selection and copy
target = document.getElementById(targetId);
if (!target) {
var target = document.createElement("textarea");
target.style.position = "absolute";
target.style.left = "-9999px";
target.style.top = "0";
target.id = targetId;
document.body.appendChild(target);
}
target.textContent = text;
// select the content
var currentFocus = document.activeElement;
target.focus();
target.setSelectionRange(0, target.value.length);
// copy the selection
var succeed;
try {
succeed = document.execCommand("copy");
} catch (e) {
succeed = false;
}
// restore original focus
if (currentFocus && typeof currentFocus.focus === "function") {
currentFocus.focus();
}
var addIndexerButton = $($('#add-indexer').html());
addIndexerButton.appendTo($('#indexers'));
target.textContent = "";
addIndexerButton.click(function () {
$("#modals").empty();
var dialog = $($("#select-indexer").html());
dialog.find('#unconfigured-indexers').html($('#unconfigured-indexers-template').html());
$("#modals").append(dialog);
dialog.modal("show");
$('.indexer-setup').each(function (i, btn) {
var $btn = $(btn);
var id = $btn.data("id");
var link = $btn.data("link");
$btn.click(function () {
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function (e) {
displayIndexerSetup(id, link);
});
});
return succeed;
}
function prepareCopyButtons() {
$(".indexer-button-copy").each(function (i, btn) {
var $btn = $(btn);
var title = $btn[0].title;
$btn.click(function () {
copyToClipboard(title);
});
});
$('#indexers').fadeIn();
prepareSetupButtons();
prepareTestButtons();
prepareDeleteButtons();
}
function prepareDeleteButtons() {
@@ -118,6 +219,16 @@ function prepareDeleteButtons() {
});
}
function prepareSearchButtons() {
$('.indexer-button-search').each(function (i, btn) {
var $btn = $(btn);
var id = $btn.data("id");
$btn.click(function() {
showSearch(id);
});
});
}
function prepareSetupButtons() {
$('.indexer-setup').each(function (i, btn) {
var $btn = $(btn);
@@ -129,22 +240,55 @@ function prepareSetupButtons() {
});
}
function updateTestState(id, state, message)
{
var btn = $(".indexer-button-test[data-id=" + id + "]");
if (message) {
btn.tooltip("hide");
btn.data('bs.tooltip', false).tooltip({ title: message });
}
var icon = btn.find("span");
icon.removeClass("glyphicon-ok test-success glyphicon-alert test-error glyphicon-refresh spinner test-inprogres");
if (state == "success") {
icon.addClass("glyphicon-ok test-success");
} else if (state == "error") {
icon.addClass("glyphicon-alert test-error");
} else if (state == "inprogres") {
icon.addClass("glyphicon-refresh test-inprogres spinner");
}
}
function testIndexer(id, notifyResult) {
updateTestState(id, "inprogres", null);
if (notifyResult)
doNotify("Test started for " + id, "info", "glyphicon glyphicon-transfer");
var jqxhr = $.post("test_indexer", JSON.stringify({ indexer: id }), function (data) {
if (data.result == "error") {
updateTestState(id, "error", data.error);
if (notifyResult)
doNotify("Test failed for " + id + ": \n" + data.error, "danger", "glyphicon glyphicon-alert");
}
else {
updateTestState(id, "success", "Test successful");
if (notifyResult)
doNotify("Test successful for " + id, "success", "glyphicon glyphicon-ok");
}
}).fail(function () {
doNotify("Error testing indexer, request to Jackett server error", "danger", "glyphicon glyphicon-alert");
});
}
function prepareTestButtons() {
$(".indexer-button-test").each(function (i, btn) {
var $btn = $(btn);
var id = $btn.data("id");
var state = $btn.data("state");
$btn.tooltip();
updateTestState(id, state, null);
$btn.click(function () {
doNotify("Test started for " + id, "info", "glyphicon glyphicon-transfer");
var jqxhr = $.post("test_indexer", JSON.stringify({ indexer: id }), function (data) {
if (data.result == "error") {
doNotify("Test failed for " + id + ": \n" + data.error, "danger", "glyphicon glyphicon-alert");
}
else {
doNotify("Test successful for " + id, "success", "glyphicon glyphicon-ok");
}
}).fail(function () {
doNotify("Error testing indexer, request to Jackett server error", "danger", "glyphicon glyphicon-alert");
});
testIndexer(id, true);
});
});
}
@@ -157,7 +301,7 @@ function displayIndexerSetup(id, link) {
return;
}
populateSetupForm(id, data.name, data.config, data.caps, link);
populateSetupForm(id, data.name, data.config, data.caps, link, data.alternativesitelinks);
}).fail(function () {
doNotify("Request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
@@ -234,11 +378,18 @@ function populateConfigItems(configForm, config) {
}
}
function newConfigModal(title, config, caps, link) {
function newConfigModal(title, config, caps, link, alternativesitelinks) {
var configTemplate = Handlebars.compile($("#jackett-config-setup-modal").html());
var configForm = $(configTemplate({ title: title, caps: caps, link:link }));
$("#modals").append(configForm);
populateConfigItems(configForm, config);
if (alternativesitelinks.length >= 1) {
var AlternativeSiteLinksTemplate = Handlebars.compile($("#setup-item-alternativesitelinks").html());
var template = $(AlternativeSiteLinksTemplate({ "alternativesitelinks": alternativesitelinks }));
configForm.find("div[data-id='sitelink']").after(template);
}
return configForm;
}
@@ -283,8 +434,8 @@ function getConfigModalJson(configForm) {
return configJson;
}
function populateSetupForm(indexerId, name, config, caps, link) {
var configForm = newConfigModal(name, config, caps, link);
function populateSetupForm(indexerId, name, config, caps, link, alternativesitelinks) {
var configForm = newConfigModal(name, config, caps, link, alternativesitelinks);
var $goButton = configForm.find(".setup-indexer-go");
$goButton.click(function () {
var data = { indexer: indexerId, name: name };
@@ -348,11 +499,33 @@ function clearNotifications() {
function updateReleasesRow(row)
{
var labels = $(row).find("span.release-labels");
var TitleLink = $(row).find("td.Title > a");
var IMDBId = $(row).data("imdb");
var Banner = $(row).data("banner");
var Description = $(row).data("description");
var DownloadVolumeFactor = parseFloat($(row).find("td.DownloadVolumeFactor").html());
var UploadVolumeFactor = parseFloat($(row).find("td.UploadVolumeFactor").html());
var TitleTooltip = "";
if (Banner)
TitleTooltip += "<img src='" + Banner + "' /><br />";
if (Description)
TitleTooltip += Description;
if (TitleTooltip) {
TitleLink.data("toggle", "tooltip");
TitleLink.tooltip({
title: TitleTooltip,
html: true
});
}
labels.empty();
if (IMDBId) {
labels.append('\n<a href="http://www.imdb.com/title/tt' + IMDBId + '/" class="label label-imdb" alt="IMDB" title="IMDB">IMDB</a>');
}
if (!isNaN(DownloadVolumeFactor)) {
if (DownloadVolumeFactor == 0) {
labels.append('\n<span class="label label-success">FREELEECH</span>');
@@ -372,6 +545,140 @@ function updateReleasesRow(row)
}
}
function showSearch(selectedIndexer) {
$('#select-indexer-modal').remove();
var releaseTemplate = Handlebars.compile($("#jackett-search").html());
var releaseDialog = $(releaseTemplate({
indexers: configuredIndexers
}));
$("#modals").append(releaseDialog);
releaseDialog.on('shown.bs.modal', function () {
releaseDialog.find('#searchquery').focus();
});
var setCategories = function (tracker, items) {
var cats = {};
for (var i = 0; i < items.length; i++) {
if (items[i].configured === true && (items[i].id === tracker || tracker === '')) {
indexers["'" + items[i].id + "'"] = items[i].name;
for (var prop in items[i].caps) {
cats[prop] = items[i].caps[prop];
}
}
}
var select = $('#searchCategory');
select.html("<option value=''>-- All --</option>");
$.each(cats, function (value, key) {
select.append($("<option></option>")
.attr("value", value).text(key + ' (' + value + ')'));
});
};
$('#searchTracker').change(jQuery.proxy(function () {
var trackerId = $('#searchTracker').val();
setCategories(trackerId, this.items);
}, { items: configuredIndexers }));
document.getElementById("searchquery")
.addEventListener("keyup", function (event) {
event.preventDefault();
if (event.keyCode == 13) {
document.getElementById("jackett-search-perform").click();
}
});
$('#jackett-search-perform').click(function () {
if ($('#jackett-search-perform').text().trim() !== 'Search trackers') {
// We are searchin already
return;
}
var queryObj = {
Query: releaseDialog.find('#searchquery').val(),
Category: releaseDialog.find('#searchCategory').val(),
Tracker: releaseDialog.find('#searchTracker').val().replace("'", "").replace("'", ""),
};
$('#searchResults').empty();
$('#jackett-search-perform').html($('#spinner').html());
var jqxhr = $.post("search", queryObj, function (data) {
$('#jackett-search-perform').html('Search trackers');
var resultsTemplate = Handlebars.compile($("#jackett-search-results").html());
var results = $('#searchResults');
results.html($(resultsTemplate(data)));
results.find('tr.jackett-search-results-row').each(function () { updateReleasesRow(this); });
results.find('table').DataTable(
{
"pageLength": 20,
"lengthMenu": [[10, 20, 50, -1], [10, 20, 50, "All"]],
"order": [[0, "desc"]],
"columnDefs": [
{
"targets": 0,
"visible": false,
"searchable": false,
"type": 'date'
},
{
"targets": 1,
"visible": true,
"searchable": false,
"iDataSort": 0
},
{
"targets": 4,
"visible": false,
"searchable": false,
"type": 'num'
},
{
"targets": 5,
"visible": true,
"searchable": false,
"iDataSort": 4
}
],
initComplete: function () {
var count = 0;
this.api().columns().every(function () {
count++;
if (count === 3 || count === 8) {
var column = this;
var select = $('<select><option value=""></option></select>')
.appendTo($(column.footer()).empty())
.on('change', function () {
var val = $.fn.dataTable.util.escapeRegex(
$(this).val()
);
column
.search(val ? '^' + val + '$' : '', true, false)
.draw();
});
column.data().unique().sort().each(function (d, j) {
select.append('<option value="' + d + '">' + d + '</option>')
});
}
});
}
});
}).fail(function () {
$('#jackett-search-perform').html('Search trackers');
doNotify("Request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
});
});
var searchTracker = releaseDialog.find("#searchTracker");
if (selectedIndexer)
searchTracker.val(selectedIndexer);
searchTracker.trigger("change");
releaseDialog.modal("show");
}
function bindUIButtons() {
$('body').on('click', '.downloadlink', function (e, b) {
$(e.target).addClass('jackettdownloaded');
@@ -393,6 +700,32 @@ function bindUIButtons() {
return false;
});
$('#jackett-add-indexer').click(function () {
$("#modals").empty();
var dialog = $($("#select-indexer").html());
dialog.find('#unconfigured-indexers').html($('#unconfigured-indexers-template').html());
$("#modals").append(dialog);
dialog.modal("show");
$('.indexer-setup').each(function (i, btn) {
var $btn = $(btn);
var id = $btn.data("id");
var link = $btn.data("link");
$btn.click(function () {
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function (e) {
displayIndexerSetup(id, link);
});
});
});
});
$("#jackett-test-all").click(function () {
$(".indexer-button-test").each(function (i, btn) {
var $btn = $(btn);
var id = $btn.data("id");
testIndexer(id, false);
});
});
$("#jackett-show-releases").click(function () {
var jqxhr = $.get("GetCache", function (data) {
var releaseTemplate = Handlebars.compile($("#jackett-releases").html());
@@ -476,147 +809,7 @@ function bindUIButtons() {
});
$("#jackett-show-search").click(function () {
$('#select-indexer-modal').remove();
var jqxhr = $.get("get_indexers", function (data) {
var scope = {
items: data.items
};
var indexers = [];
indexers.push({ id: '', name: '-- All --' });
for (var i = 0; i < data.items.length; i++) {
if (data.items[i].configured === true) {
indexers.push(data.items[i]);
}
}
var releaseTemplate = Handlebars.compile($("#jackett-search").html());
var releaseDialog = $(releaseTemplate({ indexers: indexers }));
$("#modals").append(releaseDialog);
releaseDialog.modal("show");
releaseDialog.on('shown.bs.modal', function() {
releaseDialog.find('#searchquery').focus();
});
var setCategories = function (tracker, items) {
var cats = {};
for (var i = 0; i < items.length; i++) {
if (items[i].configured === true && (items[i].id === tracker || tracker === '')) {
indexers["'" + items[i].id + "'"] = items[i].name;
for (var prop in items[i].caps) {
cats[prop] = items[i].caps[prop];
}
}
}
var select = $('#searchCategory');
select.html("<option value=''>-- All --</option>");
$.each(cats, function (value, key) {
select.append($("<option></option>")
.attr("value", value).text(key + ' (' + value + ')'));
});
};
setCategories('', data.items);
$('#searchTracker').change(jQuery.proxy(function () {
var trackerId = $('#searchTracker').val();
setCategories(trackerId, this.items);
}, scope));
document.getElementById("searchquery")
.addEventListener("keyup", function (event) {
event.preventDefault();
if (event.keyCode == 13) {
document.getElementById("jackett-search-perform").click();
}
});
$('#jackett-search-perform').click(function () {
if ($('#jackett-search-perform').text().trim() !== 'Search trackers') {
// We are searchin already
return;
}
var queryObj = {
Query: releaseDialog.find('#searchquery').val(),
Category: releaseDialog.find('#searchCategory').val(),
Tracker: releaseDialog.find('#searchTracker').val().replace("'", "").replace("'", ""),
};
$('#searchResults').empty();
$('#jackett-search-perform').html($('#spinner').html());
var jqxhr = $.post("search", queryObj, function (data) {
$('#jackett-search-perform').html('Search trackers');
var resultsTemplate = Handlebars.compile($("#jackett-search-results").html());
var results = $('#searchResults');
results.html($(resultsTemplate(data)));
results.find('tr.jackett-search-results-row').each(function () { updateReleasesRow(this); });
results.find('table').DataTable(
{
"pageLength": 20,
"lengthMenu": [[10, 20, 50, -1], [10, 20, 50, "All"]],
"order": [[0, "desc"]],
"columnDefs": [
{
"targets": 0,
"visible": false,
"searchable": false,
"type": 'date'
},
{
"targets": 1,
"visible": true,
"searchable": false,
"iDataSort": 0
},
{
"targets": 4,
"visible": false,
"searchable": false,
"type": 'num'
},
{
"targets": 5,
"visible": true,
"searchable": false,
"iDataSort": 4
}
],
initComplete: function () {
var count = 0;
this.api().columns().every(function () {
count++;
if (count === 3 || count === 8) {
var column = this;
var select = $('<select><option value=""></option></select>')
.appendTo($(column.footer()).empty())
.on('change', function () {
var val = $.fn.dataTable.util.escapeRegex(
$(this).val()
);
column
.search(val ? '^' + val + '$' : '', true, false)
.draw();
});
column.data().unique().sort().each(function (d, j) {
select.append('<option value="' + d + '">' + d + '</option>')
});
}
});
}
});
}).fail(function () {
$('#jackett-search-perform').html('Search trackers');
doNotify("Request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
});
});
}).fail(function () {
doNotify("Error loading indexers, request to Jackett server failed", "danger", "glyphicon glyphicon-alert");
});
showSearch(null);
});
$("#view-jackett-logs").click(function () {

View File

@@ -32,11 +32,17 @@
</div>
<hr />
<div class="pull-right">
<button id="jackett-add-indexer" class="btn btn-success btn-sm">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add indexer
</button>
<button id="jackett-show-search" class="btn btn-success btn-sm">
<i class="fa fa-search"></i> Manual Search <span class="glyphicon glyphicon-ok-wrench" aria-hidden="true"></span>
<span class="glyphicon glyphicon-search" aria-hidden="true"></span> Manual Search
</button>
<button id="jackett-show-releases" class="btn btn-primary btn-sm">
<i class="fa fa-database"></i> View cached releases <span class="glyphicon glyphicon-ok-wrench" aria-hidden="true"></span>
<i class="fa fa-database"></i> View cached releases
</button>
<button id="jackett-test-all" class="btn btn-warning btn-sm">
<span class="glyphicon glyphicon-screenshot" aria-hidden="true"></span> Test All
</button>
</div>
<h3>Configured Indexers</h3>
@@ -159,7 +165,7 @@
</div>
</script>
<script id="setup-item-displayimage" type="text/x-handlebars-template">
<img class="setup-item-displayimage" src="{{{value}}}" />
<img class="setup-item-displayimage" src="{{{value}}}" alt="No image available" />
</script>
<script id="setup-item-displayinfo" type="text/x-handlebars-template">
<div class="setup-item-displayinfo alert alert-info" role="alert">{{{value}}}</div>
@@ -169,50 +175,93 @@
<input class="form-control" type="text" value="{{{value}}}" />
</div>
</script>
<script id="configured-indexer" type="text/x-handlebars-template">
<div class="configured-indexer indexer card">
<div class="indexer-logo">
<!-- Make section browser searchable -->
<span class="hidden-name">{{name}}</span>
<img alt="{{name}}" title="{{name}}" src="../logos/{{id}}.png" />
</div>
<div class="indexer-buttons">
<button class="btn btn-primary btn-sm indexer-setup" data-id="{{id}}" data-link="{{site_link}}">
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
</button>
<button class="btn btn-danger btn-sm indexer-button-delete" data-id="{{id}}">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
<a class="btn btn-info btn-sm" target="_blank" href="{{site_link}}">
<span class="glyphicon glyphicon-new-window" aria-hidden="true"></span>
</a>
<button class="btn btn-warning btn-sm indexer-button-test" data-id="{{id}}">
Test <span class="glyphicon glyphicon-screenshot" aria-hidden="true"></span>
</button>
</div>
<div class="indexer-host">
<b>Torznab Host:</b>
<input class="form-control" type="text" value="{{torznab_host}}" placeholder="Torznab Host" readonly="">
<b>CouchPotato Host:</b>
{{#if potatoenabled}}
<input class="form-control" type="text" value="{{potato_host}}" placeholder="Torznab Host" readonly="">
{{else}}
<input class="form-control" type="text" value="Not available" placeholder="Torznab Host" readonly="">
{{/if}}
</div>
<script id="setup-item-alternativesitelinks" type="text/x-handlebars-template">
<div class="setup-item-alternativesitelinks alert alert-info" role="alert">
This indexer has multiple known URLs which you can change above:
<ul>
{{#each alternativesitelinks}}
<li>{{this}}</li>
{{/each}}
</ul>
</div>
</script>
<script id="unconfigured-indexer" type="text/x-handlebars-template">
<div class="unconfigured-indexer card">
<div class="indexer-logo indexer-setup" data-id="{{id}}" data-link="{{site_link}}">
<!-- Make section browser searchable -->
<span class="hidden-name">{{name}}</span>
<img alt="{{name}}" title="{{name}}" src="../logos/{{id}}.png" />
</div>
</div>
<script id="configured-indexer-table" type="text/x-handlebars-template">
<table class="indexer-table configured-indexer-table dataTable compact cell-border hover stripe table table-responsive">
<thead>
<tr>
<th>Indexer</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{{#each indexers}}
<tr class="configured-indexer-row">
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a></td>
<td class="fit">
<div class="indexer-buttons">
<button title="{{torznab_host}}" type="button" class="indexer-button-copy btn btn-xs btn-info">Copy Torznab Feed</button>
<button title="{{potato_host}}" type="button" class="indexer-button-copy btn btn-xs btn-info{{#unless potatoenabled}} disabled{{/unless}}">Copy Potato Feed</button>
<button title="Search" class="btn btn-success btn-xs indexer-button-search" data-id="{{id}}">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</button>
<button title="Configure" class="btn btn-primary btn-xs indexer-setup" data-id="{{id}}" data-link="{{site_link}}">
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
</button>
<button title="Delete" class="btn btn-danger btn-xs indexer-button-delete" data-id="{{id}}">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
<button title="{{last_error}}" class="btn btn-warning btn-xs indexer-button-test" data-toggle="tooltip" data-id="{{id}}" data-state="{{state}}">
Test
<span class="glyphicon" aria-hidden="true"></span>
</button>
</div>
</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<tr>
<td colspan="2">Total configured indexers: {{total_configured_indexers}}</td>
</tr>
</tfoot>
</table>
</script>
<script id="unconfigured-indexer-table" type="text/x-handlebars-template">
<table class="indexer-table configured-indexer-table dataTable compact cell-border hover stripe table table-responsive">
<thead>
<tr>
<th>Indexer</th>
<th>Categories</th>
<th>Language</th>
<th></th>
</tr>
</thead>
<tbody>
{{#each indexers}}
<tr class="unconfigured-indexer-row">
<td><a target="_blank" href="{{site_link}}" title="{{description}}">{{name}}</a></td>
<td>{{mains_cats}}</td>
<td>{{language}}</td>
<td class="fit">
<div class="indexer-buttons">
<button title="Configure" class="btn btn-success btn-xs indexer-setup" data-id="{{id}}" data-link="{{site_link}}">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
</button>
</div>
</td>
</tr>
{{/each}}
</tbody>
<tfoot>
<tr>
<td colspan="4">Total unconfigured indexers: {{total_unconfigured_indexers}}</td>
</tr>
</tfoot>
</table>
</script>
<script id="jackett-releases" type="text/x-handlebars-template">
@@ -248,15 +297,15 @@
</thead>
<tbody>
{{#each releases}}
<tr class="jackett-releases-row">
<tr class="jackett-releases-row" data-imdb="{{Imdb}}" data-banner="{{BannerUrl}}" data-description="{{Description}}">
<td>{{PublishDate}}</td>
<td>{{FirstSeen}}</td>
<td>{{jacketTimespan PublishDate}}</td>
<td>{{jacketTimespan FirstSeen}}</td>
<td>{{Tracker}}</td>
<td><a href="{{Comments}}">{{Title}}</a> <span class="release-labels"></span></td>
<td class="Title"><a href="{{Comments}}">{{Title}}</a> <span class="release-labels"></span></td>
<td>{{Size}}</td>
<td>{{jacketSize Size}}</td>
<td class="fit">{{jacketSize Size}}</td>
<td>{{Files}}</td>
<td>{{CategoryDesc}}</td>
<td>{{Grabs}}</td>
@@ -319,6 +368,7 @@
<select name="category" id="searchCategory"></select>
<label>Tracker</label>
<select name="tracker" id="searchTracker">
<option value="">-- All --</option>
{{#each indexers}}
<option value="{{id}}">{{name}}</option>
{{/each}}
@@ -360,13 +410,13 @@
</thead>
<tbody>
{{#each Results}}
<tr class="jackett-search-results-row">
<tr class="jackett-search-results-row" data-imdb="{{Imdb}}" data-banner="{{BannerUrl}}" data-description="{{Description}}">
<td>{{PublishDate}}</td>
<td>{{jacketTimespan PublishDate}}</td>
<td>{{Tracker}}</td>
<td><a href="{{Comments}}">{{Title}}</a> <span class="release-labels"></span></td>
<td class="Title"><a href="{{Comments}}">{{Title}}</a> <span class="release-labels"></span></td>
<td>{{Size}}</td>
<td>{{jacketSize Size}}</td>
<td class="fit">{{jacketSize Size}}</td>
<td>{{Files}}</td>
<td>{{CategoryDesc}}</td>
<td>{{Grabs}}</td>
@@ -497,14 +547,7 @@
</div>
</div>
</script>
<script id="add-indexer" type="text/x-handlebars-template">
<button class="indexer card add-indexer" data-toggle="modal">
<div class="indexer-add-content">
<span class="glyphicon glyphicon glyphicon-plus" aria-hidden="true"></span>
<div class="light-text">Add</div>
</div>
</button>
</script>
<script id="spinner" type="text/x-handlebars-template">
<span class="spinner glyphicon glyphicon-refresh"></span>
</script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -161,6 +161,7 @@ namespace Jackett.Controllers
jsonReply["config"] = config.ToJson(null);
jsonReply["caps"] = indexer.TorznabCaps.CapsToJson();
jsonReply["name"] = indexer.DisplayName;
jsonReply["alternativesitelinks"] = JToken.FromObject(indexer.AlternativeSiteLinks);
jsonReply["result"] = "success";
}
catch (Exception ex)
@@ -232,6 +233,8 @@ namespace Jackett.Controllers
item["description"] = indexer.DisplayDescription;
item["configured"] = indexer.IsConfigured;
item["site_link"] = indexer.SiteLink;
item["language"] = indexer.Language;
item["last_error"] = indexer.LastError;
item["potatoenabled"] = indexer.TorznabCaps.Categories.Select(c => c.ID).Any(i => PotatoController.MOVIE_CATS.Contains(i));
var caps = new JObject();
@@ -256,19 +259,24 @@ namespace Jackett.Controllers
public async Task<IHttpActionResult> Test()
{
JToken jsonReply = new JObject();
IIndexer indexer = null;
try
{
var postData = await ReadPostDataJson();
string indexerString = (string)postData["indexer"];
indexer = indexerService.GetIndexer(indexerString);
await indexerService.TestIndexer(indexerString);
jsonReply["name"] = indexerService.GetIndexer(indexerString).DisplayName;
jsonReply["name"] = indexer.DisplayName;
jsonReply["result"] = "success";
indexer.LastError = null;
}
catch (Exception ex)
{
logger.Error(ex, "Exception in test_indexer");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
if (indexer != null)
indexer.LastError = ex.Message;
}
return Json(jsonReply);
}

View File

@@ -83,7 +83,9 @@ namespace Jackett.Controllers
if (string.IsNullOrWhiteSpace(request.search))
{
// We are searching by IMDB id so look up the name
var response = await webClient.GetString(new Utils.Clients.WebRequest("http://www.omdbapi.com/?type=movie&i=" + request.imdbid));
var omdbapiRequest = new Utils.Clients.WebRequest("http://www.omdbapi.com/?type=movie&i=" + request.imdbid);
omdbapiRequest.Encoding = Encoding.UTF8;
var response = await webClient.GetString(omdbapiRequest);
if (response.Status == HttpStatusCode.OK)
{
JObject result = JObject.Parse(response.Content);
@@ -140,11 +142,12 @@ namespace Jackett.Controllers
details_url = release.Comments.ToString(),
download_url = release.Link.ToString(),
imdb_id = release.Imdb.HasValue ? "tt" + release.Imdb : null,
freeleech = false,
freeleech = (release.DownloadVolumeFactor == 0 ? true : false),
type = "movie",
size = (long)release.Size / (1024 * 1024), // This is in MB
leechers = (int)release.Peers - (int)release.Seeders,
seeders = (int)release.Seeders
seeders = (int)release.Seeders,
publish_date = r.PublishDate == DateTime.MinValue ? null : release.PublishDate.ToUniversalTime().ToString("s")
});
}
}

View File

@@ -1,6 +1,7 @@
using AutoMapper;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using NLog;
using System;
using System.Collections.Generic;
@@ -12,7 +13,8 @@ using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Xml.Linq;
namespace Jackett.Controllers
{
[AllowAnonymous]
@@ -32,6 +34,24 @@ namespace Jackett.Controllers
cacheService = c;
}
public HttpResponseMessage GetErrorXML(int code, string description)
{
var xdoc = new XDocument(
new XDeclaration("1.0", "UTF-8", null),
new XElement("error",
new XAttribute("code", code.ToString()),
new XAttribute("description", description)
)
);
var xml = xdoc.Declaration.ToString() + Environment.NewLine + xdoc.ToString();
return new HttpResponseMessage()
{
Content = new StringContent(xml, Encoding.UTF8, "application/xml")
};
}
[HttpGet]
public async Task<HttpResponseMessage> Call(string indexerID)
{
@@ -42,7 +62,7 @@ namespace Jackett.Controllers
{
return new HttpResponseMessage()
{
Content = new StringContent(indexer.TorznabCaps.ToXml(), Encoding.UTF8, "application/rss+xml")
Content = new StringContent(indexer.TorznabCaps.ToXml(), Encoding.UTF8, "application/xml")
};
}
@@ -62,6 +82,33 @@ namespace Jackett.Controllers
{
logger.Warn(string.Format("Rejected a request to {0} which is unconfigured.", indexer.DisplayName));
return Request.CreateResponse(HttpStatusCode.Forbidden, "This indexer is not configured.");
}
if (torznabQuery.ImdbID != null)
{
if (torznabQuery.QueryType != "movie")
{
logger.Warn(string.Format("A non movie request with an imdbid was made from {0}.", Request.GetOwinContext().Request.RemoteIpAddress));
return GetErrorXML(201, "Incorrect parameter: only movie-search supports the imdbid parameter");
}
if (!string.IsNullOrEmpty(torznabQuery.SearchTerm))
{
logger.Warn(string.Format("A movie-search request from {0} was made contining q and imdbid.", Request.GetOwinContext().Request.RemoteIpAddress));
return GetErrorXML(201, "Incorrect parameter: please specify either imdbid or q");
}
if (ParseUtil.GetImdbID(torznabQuery.ImdbID) == null)
{
logger.Warn(string.Format("A movie-search request from {0} was made with an invalid imdbid.", Request.GetOwinContext().Request.RemoteIpAddress));
return GetErrorXML(201, "Incorrect parameter: invalid imdbid format");
}
if (!indexer.TorznabCaps.SupportsImdbSearch)
{
logger.Warn(string.Format("A movie-search request with imdbid from {0} was made but the indexer {1} doesn't support it.", Request.GetOwinContext().Request.RemoteIpAddress, indexer.DisplayName));
return GetErrorXML(203, "Function Not Available: imdbid is not supported by this indexer");
}
}
var releases = await indexer.PerformQuery(torznabQuery);

View File

@@ -24,14 +24,16 @@ namespace Jackett
public string Referer { get; private set; }
public HttpMethod Method { get; private set; }
public IEnumerable<KeyValuePair<string, string>> PostData { get; set; }
public Dictionary<string, string> Headers { get; set; }
public string RawPOSTDdata { get; set;}
public CurlRequest(HttpMethod method, string url, string cookies = null, string referer = null, string rawPOSTData = null)
public CurlRequest(HttpMethod method, string url, string cookies = null, string referer = null, Dictionary<string, string> headers = null, string rawPOSTData = null)
{
Method = method;
Url = url;
Url = url.Replace(" ", "+"); // avoids bad request to cloudflare for urls containing a space followed by H (" H")
Cookies = cookies;
Referer = referer;
Headers = headers;
RawPOSTDdata = rawPOSTData;
}
}
@@ -52,16 +54,16 @@ namespace Jackett
}
}
public static async Task<CurlResponse> GetAsync(string url, string cookies = null, string referer = null)
public static async Task<CurlResponse> GetAsync(string url, string cookies = null, string referer = null, Dictionary<string, string> headers = null)
{
var curlRequest = new CurlRequest(HttpMethod.Get, url, cookies, referer);
var curlRequest = new CurlRequest(HttpMethod.Get, url, cookies, referer, headers);
var result = await PerformCurlAsync(curlRequest);
return result;
}
public static async Task<CurlResponse> PostAsync(string url, IEnumerable<KeyValuePair<string, string>> formData, string cookies = null, string referer = null, string rawPostData =null)
public static async Task<CurlResponse> PostAsync(string url, IEnumerable<KeyValuePair<string, string>> formData, string cookies = null, string referer = null, Dictionary<string, string> headers = null, string rawPostData =null)
{
var curlRequest = new CurlRequest(HttpMethod.Post, url, cookies, referer);
var curlRequest = new CurlRequest(HttpMethod.Post, url, cookies, referer, headers);
curlRequest.PostData = formData;
curlRequest.RawPOSTDdata = rawPostData;
var result = await PerformCurlAsync(curlRequest);
@@ -90,7 +92,16 @@ namespace Jackett
easy.BufferSize = 64 * 1024;
easy.UserAgent = BrowserUtil.ChromeUserAgent;
easy.FollowLocation = false;
easy.ConnectTimeout = 20;
easy.ConnectTimeout = 20;
if(curlRequest.Headers != null)
{
CurlSlist curlHeaders = new CurlSlist();
foreach (var header in curlRequest.Headers)
{
curlHeaders.Append(header.Key + ": " + header.Value);
}
easy.SetOpt(CurlOption.HttpHeader, curlHeaders);
}
easy.WriteFunction = (byte[] buf, int size, int nmemb, object data) =>
{
@@ -151,7 +162,7 @@ namespace Jackett
if (easy.LastErrorCode != CurlCode.Ok)
{
var message = "Error " + easy.LastErrorCode.ToString() + " " + easy.LastErrorDescription;
var message = "Error " + easy.LastErrorCode.ToString() + " " + easy.LastErrorDescription + " " + easy.ErrorBuffer;
if (null != OnErrorMessage)
OnErrorMessage(message);
else
@@ -173,7 +184,7 @@ namespace Jackett
var headerParts = headerString.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
var headers = new List<string[]>();
var headerCount = 0;
HttpStatusCode status = HttpStatusCode.InternalServerError;
HttpStatusCode status = HttpStatusCode.NotImplemented;
var cookieBuilder = new StringBuilder();
var cookies = new List<Tuple<string, string>>();
foreach (var headerPart in headerParts)
@@ -216,6 +227,31 @@ namespace Jackett
cookieBuilder.AppendFormat("{0} ", cookieGroup.Last().Item2);
}
// add some debug output to track down the problem causing people getting InternalServerError results
if (status == HttpStatusCode.NotImplemented || status == HttpStatusCode.InternalServerError)
{
try
{
OnErrorMessage("got NotImplemented/InternalServerError");
OnErrorMessage("request.Method: " + curlRequest.Method);
OnErrorMessage("request.Url: " + curlRequest.Url);
OnErrorMessage("request.Cookies: " + curlRequest.Cookies);
OnErrorMessage("request.Referer: " + curlRequest.Referer);
OnErrorMessage("request.RawPOSTDdata: " + curlRequest.RawPOSTDdata);
OnErrorMessage("cookies: "+ cookieBuilder.ToString().Trim());
OnErrorMessage("headerString:\n" + headerString);
foreach (var headerPart in headerParts)
{
OnErrorMessage("headerParts: "+headerPart);
}
}
catch (Exception ex)
{
OnErrorMessage(string.Format("CurlHelper: error while handling NotImplemented/InternalServerError:\n{0}", ex));
}
}
var contentBytes = Combine(contentBuffers.ToArray());
var curlResponse = new CurlResponse(headers, contentBytes, status, cookieBuilder.ToString().Trim());
return curlResponse;

View File

@@ -0,0 +1,82 @@
---
site: alphareign
name: AlphaReign
description: "A DHT only tracker"
language: en-us
encoding: UTF-8
links:
- https://alphareign.se
caps:
categories:
Movies: Movies
Movies/HD: Movies/HD
Movies/SD: Movies/SD
TV: TV
TV/HD: TV/HD
TV/SD: TV/SD
Other: Other
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /login
method: form
form: form[action^="/login"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- path: /login
selector: div.auth-form > div > div.alert-danger
test:
path: settings
selector: a[href="/logout"]
ratio:
text: "∞"
search:
path: /
method: get
inputs:
query: "{{ .Keywords }}"
rows:
selector: .result
fields:
title:
attribute: data-name
details:
selector: a[href^="/torrent"]
attribute: href
download:
selector: a[href^="magnet:"]
attribute: href
date:
attribute: data-added
size:
attribute: data-size
seeders:
attribute: data-seeders
leechers:
attribute: data-leechers
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"
category:
case:
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"movie\") + a[class=\"label label-info\"]:contains(\"HD\")": "Movies/HD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"movie\") + a[class=\"label label-info\"]:contains(\"720p\")": "Movies/HD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"movie\") + a[class=\"label label-info\"]:contains(\"1080p\")": "Movies/HD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"movie\") + a[class=\"label label-info\"]:contains(\"SD\")": "Movies/SD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"movie\")": "Movies"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"show\") + a[class=\"label label-info\"]:contains(\"HD\")": "TV/HD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"show\") + a[class=\"label label-info\"]:contains(\"SD\")": "TV/SD"
"a[class=\"label label-primary\"]:contains(\"video\") + a[class=\"label label-success\"]:contains(\"show\")": "TV"
"*": "Other"

View File

@@ -0,0 +1,123 @@
---
site: aox
name: AOX
language: en-us
encoding: UTF-8
links:
- https://aox.to/
caps:
categories:
# Japanese
1: Movies # jMovies
2: TV # TV Shows
3: TV/Other # Variety Shows
# Korean
6: Movies # kMovies
4: TV # TV Shows
14: TV/Other # Variety Shows
# Chinese
8: Movies # cMovies
9: TV # TV Shows
13: TV/Other # Variety Shows
# Adult
13: XXX # Adult
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: index.php?page=login
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: body[onLoad^="makeAlert('"]
message:
selector: body[onLoad^="makeAlert('"]
attribute: onLoad
filters:
- name: replace
args: ["makeAlert('Error' , '", ""]
- name: replace
args: ["');", ""]
test:
path: index.php
download:
selector: a[href^="download.php?id="]
search:
path: index.php
inputs:
search: "{{ .Query.Keywords }}"
page: "torrents"
category: "{{range .Categories}}{{.}};{{end}}"
options: "0"
active: "0"
rows:
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
fields:
download:
selector: a[href^="index.php?page=downloadcheck&id="]
attribute: href
title:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
banner:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
attribute: onmouseover
filters:
- name: regexp
args: "src=(.*?) "
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
details:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
attribute: href
size:
selector: td:nth-child(12)
date:
selector: td:nth-child(7)
filters:
- name: append
args: " +01:00"
- name: dateparse
args: "02/01/2006 -07:00"
grabs:
selector: td:nth-child(10)
filters:
- name: replace
args: ["---", "0"]
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
img[alt="Full Star 100% Free"]: "0"
img[alt="Half Star 50% Free"]: "0.5"
img[alt="Empty Star 25% Free"]: "0.75"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: td:nth-child(2)
remove: a
description|append:
selector: td:nth-child(3) > img
attribute: title
filters:
- name: prepend
args: "<br>Language: "

View File

@@ -0,0 +1,94 @@
---
site: apollo
name: Apollo
description: "A music tracker"
language: en-us
encoding: UTF-8
links:
- https://apollo.rip
caps:
categories:
1: Audio # Music
2: PC # Applications
3: Books # E-Books
4: Audio/Audiobook # Audiobooks
5: Movies # E-Learning Videos
6: TV # Comedy
7: Books/Comics # Comics
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
keeplogged: 1
login: "Log in"
error:
- selector: form#loginform > span.warning
test:
path: torrents.php
ratio:
path: torrents.php
selector: li#stats_ratio > span
search:
path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Query.Keywords }}"
order_by: time
order_way: desc
action: basic
searchsubmit: 1
rows:
selector: table#torrent_table > tbody > tr.torrent
fields:
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
description:
selector: div.group_info
remove: span
title:
selector: div.group_info
remove: span, div.tags
category:
selector: td.cats_col
case:
div.cats_music: 1
div.cats_applications: 2
div.cats_ebooks: 3
div.cats_audiobooks: 4
div.cats_elearningvideos: 5
div.cats_comedy: 6
div.cats_comics: 7
comments:
selector: a[href^="torrents.php?id="]
attribute: href
files:
selector: td:nth-child(3)
date:
selector: td:nth-child(4)
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
downloadvolumefactor:
case:
":root div.alertbar:contains(\"freeleech\")": "0"
":root div.alertbar:contains(\"FREELEECH\")": "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,92 @@
---
site: bithq
name: BitHQ
language: en-us
encoding: windows-1252
links:
- http://www.bithq.org
caps:
categories:
7: Movies # Approved Film Series
81: TV/HD # BD-MKV
62: Audio # CD-R/OST
51: Movies/DVD # DVD-R/Animation
48: Movies/DVD # DVD-R/Asian Cinema
50: Movies/DVD # DVD-R/Documentaries
64: Movies/DVD # DVD-R/Foreign Films
55: Movies/DVD # DVD-R/Kids
49: Movies/DVD # DVD-R/Movies
52: Audio/Video # DVD-R/Music
53: TV # DVD-R/TV
70: Movies # Empire's 500
80: Movies # Global Lens | trigon-film
65: Other # Hi-Res Covers
66: Movies/HD # High Quality
57: Movies/SD # Low Quality
54: PC/0day # Software/DVD/BD
61: PC/0day # Software/System Utilities
69: TV/Sport # Sporting Events
68: Movies # The Criterion Collection
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: browse.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: td > table > tbody > tr:has(a[href^="details.php?id="])
fields:
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[href^="details.php?id="]
description:
selector: td:nth-child(2) > strong
details:
selector: a[href^="details.php?id="]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(6)
filters:
- name: regexp
args: ([\d,]+)
files:
selector: td:nth-child(3)
size:
selector: td:nth-child(5)
downloadvolumefactor:
case:
tr[bgcolor="#FFF6CB"]: "0"
img[alt^="Goodie.. Download for free!"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,132 @@
---
site: bithumen
name: BitHUmen
language: hu-hu
encoding: ISO-8859-2
links:
- https://bithumen.be/
caps:
categories:
23: Movies/SD # Film/Hun/SD
24: Movies/DVD # Film/Hun/DVD-R
25: Movies/HD # Film/Hun/720p
37: Movies/HD # Film/Hun/1080p
33: Movies/BluRay # Film/Hun/Blu-ray
30: XXX # XXX/SD
19: Movies/SD # Film/Eng/SD
20: Movies/DVD # Film/Eng/DVD-R
5: Movies/HD # Film/Eng/720p
39: Movies/HD # Film/Eng/1080p
40: Movies/BluRay # Film/Eng/Blu-ray
34: XXX # XXX/HD
7: TV/SD # Sorozat/Hun/SD
41: TV/HD # Sorozat/Hun/HD
26: TV/SD # Sorozat/Eng/SD
42: TV/HD # Sorozat/Eng/HD
28: Books # eBook/Hun
29: Books # eBook/Eng
9: Audio/MP3 # Mp3/Hun
35: Audio/Lossless # Lossless/Hun
1: PC/0day # Programok/ISO
4: PC/Games # Játékok/ISO
31: Console/PS4 # Játékok/PS
36: Console/Wii # Játékok/Wii
6: Audio/MP3 # Mp3/Eng
38: Audio/Lossless # Lossless/Eng
22: PC # Programok/egyéb
21: PC # Játékok/Rip/Dox
32: Console/Xbox360 # Játékok/Xbox360
27: Other # Klipek
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("bejelentkezés"))
test:
path: browse.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: table#torrenttable > tbody > tr:has(a[href^="details.php?id="])
filters:
- name: andmatch
fields:
download:
selector: a[href^="download.php/"]
attribute: href
title:
selector: a[href^="details.php?id="]
title|optional:
selector: a[href^="details.php?id="]
attribute: title
details:
selector: a[href^="details.php?id="]
attribute: href
imdb:
selector: a[href^="http://anonym.to/?http://www.imdb.com/title/"]
attribute: href
banner:
selector: a[onmouseover^="bithumen.UI.images.coverShow"]
attribute: onmouseover
filters:
- name: regexp
args: "\"(.*?)\""
category:
selector: a[href^="?cat="]
attribute: href
filters:
- name: querystring
args: cat
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
filters:
- name: regexp
args: /\s*([\d,]+)
grabs:
selector: td:nth-child(7)
files:
selector: td:nth-child(3)
size:
selector: td:nth-child(6) > u
downloadvolumefactor:
text: "1"
downloadvolumefactor|optional:
selector: td:nth-child(6) > nobr > font:contains(" × ")
filters:
- name: replace
args: ["×", ""]
uploadvolumefactor:
text: "1"
uploadvolumefactor|optional:
selector: td:nth-child(5) > nobr > font:contains(" × ")
filters:
- name: replace
args: ["×", ""]
date:
selector: td:nth-child(5)
remove: font
filters:
- name: replace
args: ["ma", "today"]
- name: replace
args: ["tegnap", "yesterday"]
description:
selector: td:nth-child(2) > div

View File

@@ -0,0 +1,132 @@
---
site: bitspyder
name: Bitspyder
language: en-us
encoding: windows-1252
links:
- http://bitspyder.net/
caps:
categories:
61: Books # 3D
69: Books # Anim|GFX
56: Books # Art
40: Audio/Audiobook # Audio Books
55: Books # Business
46: Books # Career
2: Books # CBTs
39: Books # Cert QA
63: Books # College
53: Books # Cooking
42: Books # Documentary
37: Books # e-Books
65: Books # Engineering
54: Books # Health-Fitness
64: Books # Kids
47: Books # Languages
49: Books # Linux CBTs
43: Books # Lynda.com
57: Books/Magazines # Magazines
71: Books # Magic
60: Books # Medical
44: Books # Misc Learning
51: Books # Music Learning
41: Books # Others
52: Books # Photography
35: Books # PPT 'n Docs
38: Books # Religion
68: Books # Self Growth
72: Books # Templates
58: Books # Total Training
45: Books # Trainsignal
59: Books # VTC
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: processid.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.msg_info > font > b
test:
path: /browse.php
search:
path: /browse.php
method: post
inputs:
search: "{{ .Query.Keywords }}"
incldead: "1"
rows:
selector: table > tbody > tr[class]
filters:
- name: andmatch
fields:
# there are two styles, we support both
title:
selector: a[href^="details.php?id="]
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details.php?id=", "download.php/"]
- name: replace
args: ["&hit=1", "/dummy.torrent"]
size:
selector: td.rowcol:nth-child(6):has(br), font:contains("Size:") + font
files:
selector: a[href*="&filelist=1"]
grabs:
selector: td.rowcol:nth-child(7):contains("times"), font:contains("Snatches:")
filters:
- name: regexp
args: ([\d\,]+)
seeders:
selector: td.rowcol:nth-last-child(3)
leechers:
selector: td.rowcol:nth-last-child(2)
date|optional|1:
selector: font[color="5F5F5F"]
filters:
- name: split
args: [" (", 0]
- name: replace
args: ["\xA0", " "]
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
date|optional|2:
selector: a[title^="Upploaded at"]
attribute: title
filters:
- name: replace
args: ["Upploaded at - ", ""]
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description|optional:
selector: font[color="#990000"]

View File

@@ -0,0 +1,147 @@
---
site: blubits
name: Blu-bits
description: "A HD tracker"
language: en-us
encoding: UTF-8
links:
- https://blu-bits.com/
caps:
categories:
# Movies
14: Movies/BluRay # Full Blu-ray
54: Movies/HD # HD-DVD
16: Movies/HD # Remux
55: Movies/HD # 2160p
15: Movies/HD # 1080p
19: Movies/HD # 1080i
18: Movies/HD # 720p
# Documentaries
21: Movies/BluRay # Full Blu-ray
39: Movies/HD # Remux
56: Movies/HD # 2160p
23: Movies/HD # 1080p
24: Movies/HD # 1080i
25: Movies/HD # 720p
# TV Series
27: TV/HD # Full Blu-ray
40: TV/HD # Remux
28: TV/HD # 1080p
29: TV/HD # 1080i
30: TV/HD # 720p
# HDTV
35: TV/HD # 1080i
36: TV/HD # 720p
# XXX
59: XXX # Full Blu-ray
46: XXX # 1080p
51: XXX # 720p
# Music
53: Audio/Video # Full Blu-ray
57: Audio/Video # Remux
45: Audio/Video # 1080p
58: Audio/Video # 720p
38: Audio/Lossless # Flac
41: TV/Sport # Sports
42: TV/Anime # Anime
44: PC # Windows Apps
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: index.php?page=login
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: table.lista > tbody > tr > td.lista > span[style="color:#FF0000;"]
test:
path: index.php
selector: ul#navlist
ratio:
path: index.php
selector: "ul#navlist > li:contains(\"Ratio: \")"
filters:
- name: split
args: ["\u00a0", 1]
- name: replace
args: ["---", "0"]
search:
path: index.php
inputs:
search: "{{ .Query.Keywords }}"
page: torrents
options: 0
active: 0
rows:
selector: div.b-content > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
fields:
download:
selector: a[href^="download.php?id="]
attribute: href
title:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: title
filters:
- name: replace
args: ["View details: ", ""]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
comments:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href
size:
selector: p
filters:
- name: replace
args: ["\u00a0", ""]
- name: regexp
args: "\\|\\s+Size:\\s+([\\w\\d\\.,]+ \\w\\w)\\s+\\|"
date:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: onmouseover
filters:
- name: regexp
args: "<center>Added:(.*?)</center>"
grabs:
selector: a[href^="index.php?page=torrent_history&id="]
filters:
- name: replace
args: ["---", "0"]
seeders:
selector: a[title="Click here to view peers details"]:nth-child(1)
leechers:
selector: a[title="Click here to view peers details"]:nth-child(2)
downloadvolumefactor:
case:
img[alt="gold"]: "0"
img[alt="silver"]: "0.5"
"*": "1"
uploadvolumefactor:
case:
img[alt="2x Upload Multiplier"]: "2"
img[alt="3x Upload Multiplier"]: "3"
img[alt="4x Upload Multiplier"]: "4"
img[alt="5x Upload Multiplier"]: "5"
img[alt="6x Upload Multiplier"]: "6"
img[alt="7x Upload Multiplier"]: "7"
img[alt="8x Upload Multiplier"]: "8"
img[alt="9x Upload Multiplier"]: "9"
img[alt="10x Upload Multiplier"]: "10"
"*": "1"

View File

@@ -0,0 +1,101 @@
---
site: chdbits
name: CHDBits
description: "A general tracker"
language: zh-cn
encoding: UTF-8
links:
- https://chdbits.co
caps:
categories:
401: Movies # Movies
404: TV/Documentary # Documentaries
405: TV/Anime # Animations
402: TV # TV Series
403: TV # TV Shows
406: Audio/Video # Music Videos
407: TV/Sport # Sports
409: Other # Misc
408: Audio # HQ Audio
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: /torrents.php
ratio:
path: /torrents.php
selector: table#info_block
filters:
- name: regexp
args: "Ratio:\\s(.*?)\\s\\s"
search:
path: /torrents.php
method: post
inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "1"
rows:
selector: table.torrents > tbody > tr:has(table.torrentname)
fields:
title:
selector: a[title][href^="details.php?id="]
attribute: title
category:
selector: a[href^="?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[title][href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(8)
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
date:
selector: td:nth-child(4) > span[title]
attribute: title
filters:
- name: append
args: " +08:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:
case:
img.pro_free: "0"
img.pro_free2up: "0"
img.pro_50pctdown: "0.5"
img.pro_50pctdown2up: "0.5"
img.pro_30pctdown: "0.3"
"*": "1"
uploadvolumefactor:
case:
img.pro_50pctdown2up: "2"
img.pro_free2up: "2"
img.pro_2up: "2"
"*": "1"
description:
selector: td:nth-child(2)
remove: a, img

View File

@@ -0,0 +1,118 @@
---
site: datascene
name: DataScene
language: ro-ro
encoding: windows-1252
links:
- http://datascene.net/
caps:
categories:
3: TV/Anime # Anime | Cartoon
15: PC/0day # Appz | Win
4: PC/0day # Appz | Linux
6: Books # E-Book
10: PC/Games # Games | PC Iso
9: PC/Games # Games | PC Rips
11: Console # Games | Pack
43: Console # Games | Console
29: Other # Images
2: Other # MiSC
5: PC/Phone-Other # Mobile
27: Movies # Movies | Pack
46: Movies/3D # Movies | 3D
26: Movies/SD # Movies | Cam
25: Movies # Movies | Documentary
24: Movies/DVD # Movies | DVD-R
32: Movies/DVD # Movies | DVD-RO
23: Movies/HD # Movies | HD
31: Movies/HD # Movies | HD-Ro
34: Movies/Foreign # Movies | Hindi
30: Movies/SD # Movies | Xvid
36: Movies/SD # Movies | Xvid-Ro
21: Audio/Video # Music | Video
19: Audio # Music | Mp3/Flac
18: Other # Other
42: Other # Premiera | DsT
14: TV/Sport # Sport
47: TV/SD # Tv | Episodes
28: TV/HD # Tv-HD | Episodes
13: Other # Tutoriale
12: XXX # XxX
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: /browse.php
ratio:
path: /browse.php
selector: font:contains("Ratio:") > span
search:
path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: tr:has(a.tname)
fields:
title:
selector: a.tname
attribute: title
details:
selector: a.tname
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="/download.php/"]
attribute: href
grabs:
selector: td:nth-child(7)
filters:
- name: regexp
args: (\d+)
size:
selector: td:nth-child(6)
date:
selector: td:nth-child(2) > right > div:has(font:contains("Uploaded"))
remove: div > font
filters:
- name: trim
args: ":"
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
banner:
selector: a.tname
attribute: onmouseover
filters:
- name: regexp
args: src=([^\s]+)
downloadvolumefactor:
case:
"img[src=\"pic/free.gif\"]": "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: td:nth-child(2) > right
remove: div

View File

@@ -0,0 +1,177 @@
---
site: eotforum
name: EoT-Forum
description: "A German gerneral tracker"
language: de-de
encoding: windows-1252
links:
- http://eot-forum.net
caps:
categories:
# Filme
14: Movies/SD # SD XviD
15: Movies/SD # SD x264
16: Movies/HD # HD
68: Movies/HD # UHD
17: Movies/3D # 3D
18: Movies/DVD # DVD-R
19: Movies # Pack
20: Movies # International
21: XXX # XXX
# Serien/TV
23: TV/SD # SD XviD
24: TV/SD # SD x264
25: TV/HD # HD
26: TV/SD # DVD-R
27: TV # Pack
28: TV # International
29: TV/Sport # Sport
# Dokus
31: TV/Documentary # SD XviD
32: TV/Documentary # SD x264
33: TV/Documentary # HD
34: TV/Documentary # 3D
35: TV/Documentary # Pack
67: TV/Documentary # DVD-R
36: TV/Documentary # International
# Audio
38: Audio # Charts
39: Audio/MP3 # MP3
40: Audio/Lossless # Flac
41: Audio # Pack
42: Audio/Video # MusikVideo
43: Audio/Audiobook # Hörbücher
# Spiele
45: PC/Games # Windows
46: PC/Mac # MacOS
47: Console/PS4 # Sony PS
48: Console/Xbox # Microsoft XBox
49: Console/NDS # Nintendo
50: PC/Games # Linux
51: Console # Andere
# Software
53: PC # Windows
54: PC/Mac # MacOS
55: PC # Linux
56: PC/Phone-Android # Android
57: PC/Phone-IOS # Apple IOS
58: PC/Phone-Other # Andere
# Sonstiges
60: Books # EBooks
61: Other # Bilder
62: TV/Anime # Anime
63: Other # MISC
64: XXX # XXX-Bilder/EBooks/Audio
# EOT-Specials
66: Other # Special
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: index.php?page=login
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
rememberme: "forever"
submit: "Login"
error:
- selector: td.lista[align="center"][colspan="2"] > span
test:
path: index.php
selector: img[alt="Ratio"]
ratio:
path: index.php
selector: img[alt="Ratio"] + font
search:
path: index.php
inputs:
page: "torrents"
search: "{{ .Query.Keywords }}"
options: "0"
active: "0"
gold: "0"
rows:
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
dateheaders:
selector: ":has(td.header > b)"
filters:
- name: replace
args: ["Torrents vom ", ""]
- name: replace
args: ["Januar", "January"]
- name: replace
args: ["Februar", "February"]
- name: replace
args: ["March", "März"]
- name: replace
args: ["Mai", "May"]
- name: replace
args: ["Juni", "June"]
- name: replace
args: ["Juli", "July"]
- name: replace
args: ["Oktober", "October"]
- name: replace
args: ["Dezember", "December"]
- name: dateparse
args: "02.January.2006"
fields:
download:
selector: a[href^="download.php?id="]
attribute: href
title:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: title
filters:
- name: replace
args: ["Details anzeigen: ", ""]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
comments:
selector: a[href*="#comments"]
attribute: href
size:
selector: td:nth-child(3)
grabs:
selector: td:nth-child(5) > font:nth-child(3)
filters:
- name: replace
args: ["---", "0"]
seeders:
selector: td:nth-child(5) > font:nth-child(1)
leechers:
selector: td:nth-child(5) > font:nth-child(2)
downloadvolumefactor:
case:
img[alt="gold"]: "0"
img[alt="silver"]: "0.5"
"*": "1"
uploadvolumefactor:
case:
img[alt="2x Upload Multiplier"]: "2"
img[alt="3x Upload Multiplier"]: "3"
img[alt="4x Upload Multiplier"]: "4"
img[alt="5x Upload Multiplier"]: "5"
img[alt="6x Upload Multiplier"]: "6"
img[alt="7x Upload Multiplier"]: "7"
img[alt="8x Upload Multiplier"]: "8"
img[alt="9x Upload Multiplier"]: "9"
img[alt="10x Upload Multiplier"]: "10"
"*": "1"

View File

@@ -0,0 +1,118 @@
---
site: estone
name: eStone
language: hu-hu
encoding: UTF-8
links:
- http://estone.cc/
caps:
categories:
24: Movies/SD # Film/XviD/Hun
38: Movies/SD # Film/XviD/Eng
51: Movies/SD # Film/SD/Hun
52: Movies/SD # Film/SD/Eng
25: Movies/DVD # Film/DVD/Hun
26: Movies/DVD # Film/DVD/Eng
42: Movies/HD # Film/HD/Hun
50: Movies/HD # Film/HD/Eng
36: TV # Sorozat/Hun
47: TV # Sorozat/Eng
41: Audio/MP3 # Mp3/Hun
40: Audio/MP3 # Mp3/Eng
35: PC/0day # Program
28: PC/Games # Játék/ISO
30: PC/Games # Játék/Rip
32: Console # Konzol
34: PC/Phone-Other # Mobil
44: Books # Könyv/Hun
33: Books # Könyv/Eng
31: Other # Képek
39: XXX # XXX/Film
49: XXX/Imageset # XXX/Kép
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login.php
method: post
inputs:
login_username: "{{ .Config.username }}"
login_password: "{{ .Config.password }}"
error:
- selector: script:contains("hiba(\"")
message:
selector: script:contains("hiba(\"")
filters:
- name: replace
args: ["hiba(\"", ""]
- name: replace
args: ["\");", ""]
test:
path: /letoltes.php
search:
path: /letoltes.php
method: get
inputs:
$raw: "{{range .Categories}}kat[]={{.}}&{{end}}"
kereses_nev: "{{ .Query.Keywords }}"
rows:
selector: body > div[id^="torrent_"]
fields:
title:
selector: a[title]
attribute: title
category:
selector: div#kategoria_torrent > a
attribute: href
filters:
- name: querystring
args: cat
details:
attribute: id
filters:
- name: replace
args: ["torrent_", "adatlap.php?id="]
download:
attribute: id
filters:
- name: replace
args: ["torrent_", "download.php?id="]
banner:
selector: img[onmouseover]
attribute: onmouseover
filters:
- name: regexp
args: borito\("(.*?) +?",
size:
selector: input[id^="meret_"]
attribute: value
grabs:
selector: div:nth-child(8) > div
seeders:
selector: div:nth-child(6) > div > a
leechers:
selector: div:nth-child(7) > div > a
date:
selector: div:nth-child(4)
filters:
- name: split
args: ["(", 0]
- name: append
args: "+01:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:
case:
img[src="pic/free.png"]: "0"
"*": "1"
uploadvolumefactor:
case:
img[src="pic/dupla_up.png"]: "2"
"*": "1"
description:
selector: div:nth-child(2)
remove: a

View File

@@ -0,0 +1,117 @@
---
site: ethor
name: Ethor.net (Thor's Land)
description: "A French gerneral tracker"
language: fr-fr
encoding: windows-1252
links:
- https://ethor.net/
caps:
categories:
22: PC # Applications/Divers
1: PC # Applications/PC ISO
44: PC # Applications/Portable
47: Movies/BluRay # Films/Bluray
20: Movies/DVD # Films/DVDr
42: Movies/HD # Films/HD Rip
19: Movies/SD # Films/SD Rip
5: Movies/SD # Films/VCD
4: PC/Games # Jeux/PC
41: Console # Jeux/Portable
34: Console/PS4 # Jeux/PS2-PS3
38: Console/Wii # Jeux/Wii-GC
40: Console/Xbox # Jeux/Xbox360
6: Audio # Musique
37: Audio/Video # Musique/Video
48: TV/HD # Série-Télé/Bluray
45: TV/SD # Série-Télé/DVDr
43: TV/HD # Série-Télé/HD Rip
7: TV/SD # Série-Télé/SD Rip
23: Books # E-Books
46: Other # Évé. sportif
36: Other # Kidz
25: Other # Misc
9: XXX # XXX
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login3.php
method: form
form: form[action="login3.php?takelogin=1"]
captcha:
type: image
image: img#validationimage
input: validationcode
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
secure_cookie: "0"
test:
path: browse.php
ratio:
path: browse.php
selector: span#ratioRatio
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
advcat: "0"
incldead: "1"
stype: "b"
dp: "0"
isUserClick: "0"
rows:
selector: p + table > tbody > tr:has(a[href^="/details.php"])
fields:
download:
selector: a[href^="/details.php"]:has(b)
attribute: href
filters:
- name: replace
args: ["/details.php", "/download.php"]
title:
selector: a[href^="/details.php"]:has(b)
category:
selector: a[href^="/browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
comments:
selector: a[href^="/details.php"]:has(b)
attribute: href
files:
selector: a[href*="#filelist"]
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
filters:
- name: regexp
args: "(\\d+)"
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
date:
selector: td:nth-child(5)
filters:
- name: append
args: " -05:00" # timezone offset
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
downloadvolumefactor:
case:
"img[title^=\"Freeleech: \"]": "0"
"img[title^=\"Half Freeleech: \"]": "0.5"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,129 @@
---
site: fanoin
name: FANO.IN
language: lv-lv
encoding: UTF-8
links:
- https://www.fano.in
caps:
categories:
20: Movies/SD # Movies/SD
6: TV/SD # TV/SD
7: PC/Games # Games/PC ISO
5: Audio # Music
47: Movies # Packs/Movies
44: Audio/Audiobook # A-Books
27: TV/Anime # Anime
17: Movies/Foreign # Movies/Rus
33: TV/Foreign # TV/Rus
12: PC/Games # Games/PC Rips
31: Audio/Lossless # Music/HQ
49: TV # Packs/TV
41: Books # E-Books
29: Books # Cartoons
24: Movies/Foreign # Movies/Lat
25: TV/Foreign # TV/Lat
34: Console/Xbox # Games/Xbox
19: Audio/Video # Music Videos
46: Console # Packs/Games
42: Other # Study
52: Movies/3D # 3D
37: Movies/HD # Movies/HD
35: TV/HD # TV/HD
43: Console/PS4 # Games/PS
38: PC/Phone-Other # Mobile
48: Audio # Packs/Music
36: Other # X-mas
53: Movies/SD # Movies/CAM
4: Movies/DVD # Movies/DVD-R
32: TV # TV/Facts
40: Console/Wii # Games/Wii
22: PC/0day # Appz/misc
50: XXX/Packs # Packs/XXX
9: XXX # XXX
45: XXX # XXX/HD
54: Movies # Movies/Retro
23: TV/Sport # TV/Sport
51: Console # Games/Misc
1: PC/0day # Appz/PC ISO
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: browse_old.php
ratio:
path: browse_old.php
selector: img[title="Reitings:"]+font
search:
path: browse_old.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: tr.browse_actions
filters:
- name: andmatch
fields:
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
selector: a[href^="browse_old.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details.php", "download.php"]
imdb:
selector: a[href^="http://www.imdb.com/title/"]
attribute: href
size:
selector: td:nth-child(5)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(6)
filters:
- name: regexp
args: (\d+)
date:
selector: td:nth-child(2) > small:nth-last-child(2)
filters:
- name: replace
args: ["Šodien", "Today"]
- name: replace
args: ["Vakar", "Yesterday"]
downloadvolumefactor:
case:
img[alt="Free"]: "0"
"*": "1"
uploadvolumefactor:
case:
img[alt="x2"]: "2"
"*": "1"
description:
selector: td:nth-child(2) > small:nth-last-child(1)
remove: a[href^="details.php?id="]

View File

@@ -0,0 +1,129 @@
---
site: freedomhd
name: Freedom-HD
language: fr-fr
encoding: UTF-8
links:
- http://freedom-paradise.eu/
caps:
categories:
# ANIMES
105: TV/Anime # 1080p
104: TV/Anime # 720p
90: TV/Anime # HDRIP-720p
93: TV/Anime # HDRIP1080p
131: TV/Anime # SD
120: TV/Anime # X265-1080p
119: TV/Anime # X265-720p
107: TV/Anime # 1080p
106: TV/Anime # 720p
94: TV/Anime # HDRIP1080p
91: TV/Anime # HDRIP720p
# EBOOK
124: Books # Livres et Magazines
# FILMS
97: Movies/HD # 1080p
103: Movies/3D # 3D
111: Movies/HD # 4K
96: Movies/HD # 720p
127: Movies/HD # BDrip
128: Movies/HD # BRrip
126: Movies/SD # DVDrip
89: Movies/HD # HDRIP-720p
92: Movies/HD # HDRIP1080p
112: Movies/SD # Team-Hush
129: Movies/HD # Team-Romkent
125: Movies/Other # WEBrip
110: Movies/HD # X265-1080p
109: Movies/HD # X265-720p
# MUSIQUES
114: Audio/Lossless # Flac
113: Audio/MP3 # MP3
132: Audio # Musiques-HQ
130: Audio/Video # video clip
# SERIE-sd
121: TV/SD # SD
# SERIES-HD
102: TV/HD # 1080p
101: TV/HD # 720p
100: TV/HD # HDrip1080p
99: TV/HD # HDrip720p
# SPECTACLES
118: TV/Sport # HDRIP1080p
117: TV/Sport # HDRIP720p
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: "yes"
returnto: "/"
error:
- selector: div.myFrame:has(font.error)
test:
path: torrents-search.php
search:
path: torrents-search.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "1"
rows:
selector: table.ttable_headinner > tbody > tr[class^="t-row"]
filters:
- name: andmatch
after: 1
fields:
download:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["torrents-details.php", "download.php"]
title:
selector: a[href^="torrents-details.php?id="]
attribute: title
category:
selector: a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
description:
selector: ul
banner:
selector: img.rounded-img
attribute: src
size:
selector: td:nth-child(3)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(4)
leechers:
selector: td:nth-child(5)
downloadvolumefactor:
case:
img[alt="freeleech"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,118 @@
---
site: funkytorrents
name: FunkyTorrents
language: en-us
encoding: UTF-8
links:
- http://funkytorrents.com
caps:
categories:
1: PC # (Apps)
2: Books # (eBooks)
3: Movies # (Movie)
33: Audio # (Music DVDs)
5: Audio/Video # (Music Vids)
4: Audio # (OST)
19: Audio # Alternative
28: Audio # Ambient
12: Audio # Classical
17: Audio # Dance
16: Audio # Drum 'n' Bass
20: Audio # Electronic
14: Audio # Emo
23: Audio # Experimental
34: Audio # Funk
18: Audio # Hardcore
13: Audio # House
31: Audio # IDM
21: Audio # Indie
26: Audio # Industrial
25: Audio # Jazz/Blues/Soul
37: Audio # Lo-Fi
6: Audio # Metal
22: Audio # Misc
7: Audio # Pop/RnB
29: Audio # Post-Rock
30: Audio # Psychedelic
8: Audio # Punk
9: Audio # Rap/Hip-Hop
35: Audio # Reggae
10: Audio # Rock
15: Audio # Ska
32: Audio # Techno
11: Audio # Trance
36: Audio # Trip-Hop
24: Audio # World/Ethnic
3010: Audio/MP3
3040: Audio/Lossless
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("failed"))
test:
path: browse.php
search:
path: /browse.php
inputs:
#$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
fields:
description|optional:
selector: td:nth-child(2) > font
title:
selector: td:nth-child(2)
remove: font
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
category|optional:
case:
a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040"
a[href="/browse.php?ext=1&format=MP3"]: "3010"
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php"]
attribute: href
files:
selector: td:nth-child(5)
size:
selector: td:nth-child(8)
seeders:
selector: td:nth-child(10)
leechers:
selector: td:nth-child(11)
date:
selector: td:nth-child(7)
filters:
- name: append
args: " +0000"
- name: dateparse
args: "2006-01-0215:04:05 -0700"
grabs:
selector: td:nth-child(9)
downloadvolumefactor:
case:
img[alt="Free Leech"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,161 @@
---
site: gods
name: GODS
language: de-de
encoding: windows-1252
links:
- https://gods.lu/
caps:
categories:
# Movie
132: Movies/BluRay # BluRay
146: Movies/HD # Remux
186: Movies/HD # UHD
189: Movies/HD # HD
190: Movies/SD # SD
20: Movies/DVD # DVD
131: Movies/3D # 3D
16: Movies # Packs
# Serien
187: TV/HD # Staffeln UHD
173: TV/HD # Staffeln HD
133: TV/SD # Staffeln SD
188: TV/HD # Folgen UHD
174: TV/HD # Folgen HD
7: TV/SD # Folgen SD
# Doku
152: TV/Documentary # HD
153: TV/Documentary # SD
# Spiele
4: PC/Games # Windows
29: Console/XBox360 # XBOX 360
126: Console/Wii # Wii
183: Console/Wii # Wii U
128: Console/PS3 # PS3
154: Console/Other # Andere
# Musik
6: Audio # Alben
139: Audio/Lossless # Lossless
177: Audio # Singles
157: Audio # Charts
192: Audio # Packs
161: Audio/Video # Video
22: PC/0day # Windows
129: PC/Mac # Mac OS
164: PC/0day # Linux
124: PC/Phone-Android # Android
165: PC/Phone-IOS # Apple iOS
167: PC/Phone-Other # Andere
# Sport
130: TV/Sport # HD
135: TV/Sport # SD
# International
170: Movies/Foreign # Filme HD
134: Movies/Foreign # Filme SD
171: TV/Foreign # Folgen HD
172: TV/Foreign # Folgen SD
# Sonstiges
28: TV/Anime # Anime
13: Books # e-Book
11: Audio/Audiobook # Hören
136: Other # Bilder
9: Other # Tutorial
178: Other # Anderes
modes:
search: [q]
tv-search: [q, season, ep]
settings:
- name: pin
type: text
label: Pin
- name: username
type: text
label: Username
- name: password
type: password
label: Password
login:
path: /login/
method: form
form: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
pin: "{{ .Config.pin }}"
test:
path: browse.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
intitle: "1"
incldead: "1"
team: "0"
orderby: "added"
sort: desc
rows:
selector: table.tableinborder > tbody > tr:has(a[href^="details.php"])
fields:
title:
selector: a[href^="details.php"]
banner:
selector: a[href^="details.php"] > span > img
attribute: src
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[href^="details.php"]
attribute: href
comments:
selector: a[href*="&tocomm="]
attribute: href
download:
selector: a[href^="download.php"]
attribute: href
files:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2)
grabs:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(3) > b:nth-child(1)
size:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)
filters:
- name: replace
args: [".", ""]
- name: replace
args: [",", "."]
seeders:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(3) > b:nth-child(1)
leechers:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(3) > b:nth-child(3)
date:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(6)
filters:
- name: replace
args: ["\xA0", " "]
- name: dateparse
args: "02.01.2006 15:04:05"
downloadvolumefactor:
case:
img[alt="onlyupload"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,192 @@
---
site: gormogon
name: Gormogon
language: en-us
encoding: UTF-8
links:
- http://www.gormogon.com
caps:
categories:
# Movies:
1: Movies/DVD # DVD-R
2: Movies # Action
14: Movies # Adventure
15: Movies # Animation
16: Movies # Biography
17: Movies # Comedy
18: Movies # Crime
19: Movies # Disney
92: Movies # Documentary
20: Movies # Drama
21: Movies # Family
22: Movies # Fantasy
23: Movies # Film Noir
97: Movies # History
24: Movies # Horror
25: Movies # Martial Arts
26: Movies # Musicals
27: Movies # Mystery
28: Movies # Romance
29: Movies # Sci-Fi
30: Movies # Thriller
31: Movies # War
32: Movies # Western
33: Movies # Other
# Classic TV:
34: TV # Action
35: TV # Adventure
36: TV # Animation
37: TV # Biography
38: TV # Comedy
39: TV # Crime
40: TV # Disney
41: TV # Documentary
42: TV # Drama
43: TV # Family
44: TV # Fantasy
45: TV # TV Noir
46: TV # Horror
47: TV # Martial Arts
49: TV # Musicals
50: TV # Mystery
51: TV # Romance
52: TV # Sci-Fi
48: TV # Shows
53: TV # Thriller
54: TV # War
55: TV # Western
56: TV # Other
90: TV # TV Movies
# Old Time Radio
57: Audio # Action
58: Audio # Adventure
59: Audio # Biography
60: Audio # Comedy
61: Audio # Crime
62: Audio # Documentary
63: Audio # Drama
64: Audio # Family
65: Audio # Fantasy
66: Audio # Radio Noir
67: Audio # Horror
68: Audio # Musicals
69: Audio # Mystery
70: Audio # Romance
71: Audio # Sci-Fi
72: Audio # Shows
73: Audio # Thriller
74: Audio # War
75: Audio # Western
76: Audio # Other
# Music:
77: Audio # Official Sountracks
78: Audio # Theme Tunes
79: Audio # Music 30s
80: Audio # Music 40s
81: Audio # Music 50s
85: Audio # Music 60s
86: Audio # Music 70s
87: Audio # Music '80 - '84
# Printed:
82: Books # Books
91: Books # Newspaper
83: Books # Scripts
84: Books # Posters
88: Books # Comics
89: Books # Magazines
# Software:
94: Other # Screensavers
95: PC # Programs
96: Other # Other
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: index.php?page=login&returnto=index.php
method: post
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: td.lista > span[style="color:#FF0000;"]
test:
path: index.php
selector: form[name="jump1"]
ratio:
path: index.php
selector: form[name="jump1"] > table > tbody > tr > td:contains("SR ")
filters:
- name: trim
args: ")"
- name: split
args: [" ", 1]
download:
selector: a[href^="download.php?id="]
search:
path: index.php
inputs:
search: "{{ .Query.Keywords }}"
category: "{{range .Categories}}{{.}};{{end}}"
page: torrents
active: 0
rows:
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
fields:
download:
selector: a[href^="index.php?page=downloadcheck&id="]
attribute: href
title:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
category:
selector: a[href^="index.php?page=torrents&category="]
attribute: href
filters:
- name: querystring
args: category
details:
selector: a[onmouseover][href^="index.php?page=torrent-details&id="]
attribute: href
size:
selector: td:nth-child(10)
date:
selector: td:nth-child(5)
filters:
- name: dateparse
args: "02/01/2006"
grabs:
selector: td:nth-child(8)
filters:
- name: replace
args: ["---", "0"]
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
downloadvolumefactor:
case:
img[alt="gold"]: "0"
img[alt="silver"]: "0.5"
"*": "1"
uploadvolumefactor:
case:
img[alt="2x Upload Multiplier"]: "2"
img[alt="3x Upload Multiplier"]: "3"
img[alt="4x Upload Multiplier"]: "4"
img[alt="5x Upload Multiplier"]: "5"
img[alt="6x Upload Multiplier"]: "6"
img[alt="7x Upload Multiplier"]: "7"
img[alt="8x Upload Multiplier"]: "8"
img[alt="9x Upload Multiplier"]: "9"
img[alt="10x Upload Multiplier"]: "10"
"*": "1"

View File

@@ -0,0 +1,97 @@
---
site: hdclub
name: HDClub
language: ru-ru
encoding: windows-1251
links:
- http://hdclub.org
caps:
categories:
70: Movies # Animation
71: Movies # Movie
81: Audio # HD Audio
78: TV/Documentary # Documentary
68: Audio/Video # Music Video
64: TV # TV Show
62: TV/Sport # Sport
82: Other # Demo
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: login.php
method: form
form: form[action="takelogin.php"]
captcha:
type: image
image: img#captcha
input: imagestring
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded > div.error
test:
path: browse.php
selector: td.main_bottom
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
dsearch: ""
stype: "or"
incldead: "1"
webdl: "0"
3d: "0"
rows:
selector: tbody#highlighted > tr
fields:
download:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace
args: ["details.php", "download.php"]
title:
selector: a[href^="details.php?id="]
details:
selector: a[href^="details.php?id="]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
date:
selector: div#frame > div#cleft > font
filters:
- name: append
args: " +02:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7) b
filters:
- name: regexp
args: ([\d,]+)
size:
selector: td:nth-child(7)
remove: a, br, b
downloadvolumefactor:
case:
img[src="pic/freedownload.gif"]: "0"
img[src="pic/silver.gif"]: "0.5"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

Some files were not shown because too many files have changed in this diff Show More