Compare commits

...

392 Commits

Author SHA1 Message Date
kaso17
e6a2646a98 BitMeTV: use and filter 2017-10-23 18:10:19 +02:00
kaso17
6dc12f0d3c Torznab: add audio-search cap 2017-10-23 18:02:53 +02:00
kaso17
0846ca40cd PTFiles: adjust rows selector
fix #1844
2017-10-23 17:47:58 +02:00
kaso17
dae55ad500 The Empire: fix download link
fix #1997
2017-10-23 17:08:35 +02:00
Andrew
5e361c2087 uhdbits: fix date (#2000) 2017-10-23 16:51:02 +02:00
Brian Hardisty
3d7ecd197b BeyondHD: Add new FraMeSToR 4K REMUX category (#2001) 2017-10-23 16:49:47 +02:00
Frederik Nielsen
c0524db98d Hounddawgs: Fix grabs/seeders/peers (#1993) 2017-10-23 08:03:37 +02:00
Garfield69
fa8021c048 metaltracker: source cosmetic alignment 2017-10-23 07:15:44 +13:00
Garfield69
246a761eb7 cpabien: add date 2017-10-23 07:15:04 +13:00
Garfield69
28260afdd9 nexttorrent: new domain fix #1996 2017-10-23 07:14:35 +13:00
Garfield69
4c42995ebc anirena: fix #1990
Add a few missing categories
handle TEST correctly
prevent row selector false hits
add date as now instead of 2017y ago
add category selector for results
2017-10-22 15:47:04 +13:00
Garfield69
bdc2843b40 metaltracker: add semi-private heavy metal music tracker #282
this definition is for the english version of the site
2017-10-22 08:44:22 +13:00
Ellmout
6e61f38644 Convert ArcheTorrent from C# to Definition file (#1987)
* Merge ArcheTorrent from C# to Definition files

* Merge ArcheTorrent from C# to Definition files (forgot csproj file)
2017-10-21 11:05:08 +02:00
Andrew
8ff186d716 torviet: fix including dead (#1989) 2017-10-21 11:03:51 +02:00
kaso17
c58b9d58a9 Xthor: enable tracker specific categories 2017-10-19 16:54:15 +02:00
kaso17
1603516666 CardigannIndexer: add support for music-search 2017-10-19 16:46:34 +02:00
kaso17
46e841fc13 SceneTime: update categories 2017-10-19 16:45:07 +02:00
kaso17
d4ff5d3022 cpasbien: update site links 2017-10-19 16:26:29 +02:00
kaso17
935416cf0d fix music-search supportedParams 2017-10-18 18:42:00 +02:00
kaso17
7ca75f51e3 enable album music search 2017-10-18 18:34:46 +02:00
kaso17
9b592259aa notwhat.cd: enable music-search 2017-10-18 18:31:27 +02:00
kaso17
281678892d Redacted: enable music-search 2017-10-18 18:31:14 +02:00
kaso17
9aace8ae16 Synthesiz3r: enable music-search 2017-10-18 18:31:02 +02:00
kaso17
adcfade7f2 Torznab: add support for music-search 2017-10-18 18:30:41 +02:00
Tobias Nordahl Kristensen
d0d51a907e Hounddawgs: Fix category 89 & 91 (#1981)
Both is DK Movies (HD&SD) and _not_ TV-content.
2017-10-18 12:25:06 +02:00
Max Maton
0a4e003bde Secret Cinama: Fix search (#1979)
* Fix Secret Cinama searching

* Update secretcinema.yml
2017-10-18 11:14:36 +02:00
kaso17
7230507f5a AnimeBytes: improve Audio category matching 2017-10-18 11:00:47 +02:00
kaso17
07744ab88f AnimeBytes: add Forbidden error handling 2017-10-18 10:46:38 +02:00
kaso17
a8f80ca60e Revert "HttpWebClient: Add certificate whitelist warnning"
This reverts commit b9d3592f3a.
2017-10-17 19:11:32 +02:00
kaso17
3011f22101 MoreThanTV: add season filtering 2017-10-17 19:10:53 +02:00
kaso17
f3098bd6d9 Blutopia: fix timezone parsing 2017-10-17 18:41:01 +02:00
kaso17
b9d3592f3a HttpWebClient: Add certificate whitelist warnning 2017-10-17 18:38:35 +02:00
kaso17
f299cf3ac3 Il Corsaro Nero: update certificate 2017-10-17 18:26:32 +02:00
kaso17
48118d5691 Blutopia: fix definition 2017-10-17 18:23:32 +02:00
kaso17
5d6b71b7a7 Cardigann: add Preprocessing Filters 2017-10-17 18:23:13 +02:00
kaso17
e5982b49a2 GkTorrent: update links 2017-10-17 13:09:02 +02:00
kaso17
bb80da9b19 AnimeBytes: fix parse error on empts tag list 2017-10-17 12:49:54 +02:00
kaso17
d027901257 ShowRSS: default to HTTPS 2017-10-17 12:30:04 +02:00
alimnette
8b8629ef19 T411v2: Fix Greys Anatomy search (#1962)
Fixes #1963
2017-10-17 12:22:10 +02:00
Alexander Chapliuk
3cdab54f5c Add LostFilm.tv indexer (#1975)
Fixes #1922
2017-10-17 12:19:03 +02:00
kaso17
d0342019bc FileList: update categories 2017-10-17 12:08:52 +02:00
kaso17
3c61cb6f06 Xtreme Zone: update paths 2017-10-17 11:56:22 +02:00
kaso17
3863008846 M-Team - TP: add support for adult torrents 2017-10-17 11:49:57 +02:00
kaso17
22ca2d9552 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-10-17 11:15:32 +02:00
kaso17
e6029c41a7 Manual search: strip leading zeroes from episode 2017-10-17 11:15:28 +02:00
kaso17
63cf687f02 Animebytes: add AddSynonyms and FilterSeasonEpisode options 2017-10-17 11:15:09 +02:00
Jelle
d30bde715c Added the aggregate indexer to be retrievable from IndexerManagerService.GetWebIndexer() (#1969) 2017-10-16 18:22:16 +02:00
Garfield69
12b9d6ca7d btbit: add the English version of this public. resolves #1934 2017-10-16 17:59:56 +13:00
alimnette
0933d913dc Update t411v2.yml (#1949)
Fix Grey's Anatomy results
2017-10-11 07:48:08 +02:00
Garfield69
8aa82a22f4 nexttorrent: moved domain to www.nextorrent.cc #1950 2017-10-11 13:00:33 +13:00
Garfield69
91817a10ff torrent9: moved domain ... again! #1950 2017-10-11 12:51:40 +13:00
Garfield69
8f10d27d0f docs: add DuckieTV to the list of apps that support connecting to Jackett 2017-10-10 15:23:41 +13:00
Garfield69
49a7c8df7a gktorrent: fix #1941
the dashboard test requires just the base path.
categories matching requires french keywords
the site does not supply a release date, so lets default to now,
otherwise we get ugly "2017y old" in dashboard results.
2017-10-09 13:36:09 +13:00
garfield69
34780f91be cpabien: switch to .org domain fix #1933 (#1937)
this avoids redirection by .cc domain
add .cc as legacylink
also add original .co as legacylink
2017-10-09 10:36:07 +13:00
garfield69
851a4d30e1 DanishBits: add Passkey info to hopefully prevent #1892 #1873 #1850 (#1925)
* DanishBits: add Passkey info to hopefully prevent #1892 #1873 #1850

**WARNING** this is a completely untested code change, as I don't have VS or a c# compiler.      
I simply made my best guess based on similar code I found in TorrentBytes.cs
Please review carefully, and hopefully I haven't left anything out ;-)
If you don't want me to make future changes like this without the required tools, then please let me know. Thanks.

* Update DanishBits.cs

* Update DanishBits.cs

* Update DanishBits.cs

* Update DanishBits.cs

* Update DanishBits.cs

* Update DanishBits.cs

* Update ConfigurationDataUserPasskey.cs

add display item instructions

* Update DanishBits.cs

switch to ConfigurationDataUserPasskey
and drop unused using statements

* Update CouchPotatoTracker.cs

add ConfigurationDataUserPasskey ConfigData1

* Update CouchPotatoTracker.cs

fix optional configData parm override

* revert

oops no, that wipes preloaded data :(

* Update CouchPotatoTracker.cs

add configurationDataUserPasskey as parameter
2017-10-06 10:36:04 +02:00
garfield69
2ab6d13493 Descriptions3 (#1923)
* AnimeTosho: add description

* worldwidetorrents: add description

* 2fast4you: add description

* 7tor: add description

* arabafenice: add description

* ast4u: add description

* b2s-share: add description

* bithumen: add description

* bitspyder: add description

* BrokenStones: add description

* cpasbien: add description

* CzTorrent: add description

* Deildu: add description

* diablotorrent: add description

* gigatorrents: add description

* gktorrent: add description

* gktorrent: amend description

* gods: add description

* greekteam: add description

* hdtorrentsit: add description

* ilcorsaronero: add description

* kickasstorrent-kathow: add description

* linkomanija: add description

* losslessclub: add description

* manicomioshare: add description

* nexttorrent: add description

* Norbits: amend description

* nyaa-pantsu: add description

* nyoo: add description

* PassThePopcorn: amend description

* PolishTracker: add description

* ptfiles: add description

* t411v2: add description

* tntvillage: add description

* TorrentNetwork: add description

* torrent9: add description

* TorrentDay: amend description

* torrentsmd: add description

* trancetraffic: add descrption

* trezzor: add description
2017-10-04 07:05:10 +02:00
kaso17
fd79b317ea Rarbg: adjust delay 2017-10-03 15:32:44 +02:00
kaso17
0e0d53fa00 IWebClient: fix DelayRequest 2017-10-03 15:32:34 +02:00
kaso17
034edbd32a DanishBits: fix download 2017-10-03 14:23:31 +02:00
kaso17
ecc438b21e Isohunt: remove (dead) 2017-10-03 14:04:29 +02:00
kaso17
d2d3dfbe77 MoreThanTV: improve search results 2017-10-03 13:03:25 +02:00
garfield69
addd6ae226 btdb: fix #1900 add support for Sonarr and Radarr (#1921)
the btdb site does not use categories and supplies magnets for all sorts of content.
So the btdb definition now always returns category `100001 Other` for all search results.
Added info in settings to provide instructions on setting up btdb on Sonarr and Radarr.
Tested on Jackett Dashboard, Sonarr and Radarr.
2017-10-03 12:53:48 +02:00
garfield69
5818548dbf kickasstorrent: fix #1852 (#1920)
fix so it passes the Sonarr test.
add description.
Tested on Jackett Dashboard and Sonarr
2017-10-03 12:50:46 +02:00
Wyall
38e039ac34 Update TransmitheNet.cs (#1919)
TTN -> NBL as it's called nebulance
2017-10-03 12:48:50 +02:00
EffeF
4c3f45fd8c hdtorrentsit: fix #1294 (#1918)
* Update hdtorrentsit.yml

* Update hdtorrentsit.yml
2017-10-03 12:48:31 +02:00
garfield69
1b7e8a9edf Descriptions2 (#1916)
* asiandvdclub: add description

* bb: amend description

* fanoin: add description

* freedomhd: add description

* fullmixmusic: add description

* gormogon: add description

* icetorrent: add description

* majomparade: add description

* mononokebt: add description

* PiXELHD: add description

* rodvd: add description

* tasmanit: add description

* thetorrents: add description

* torrenthr: add description

* utorrents: add description

* zamundanet: add description

* zelkaorg: add description

* ztracker: add description

* 1337x: add description

* BroadcastTheNet: add description

* torrenting: add description

* gfxpeers: add description

* torlock: add description

* aniRena: add description

* 1337x: amend description

* anidex: amend description

* aniRena: amend description

* btdb: add description

* Demonoid: add description

* eztv: add description

* idope: add description

* limetorrents: add description

* thepiratebay: add description

* nyaasi: add description

* magnetdl: add description

* RARBG: add description

* RuTracker: add description

* skytorrents: add description

* torrentdownloads: add description

* torrentz2: add description

* YTS: add description

* zooqle: add description
2017-10-03 12:47:02 +02:00
kaso17
af4df90832 fix typo 2017-10-01 15:01:24 +02:00
kaso17
c99fdfe641 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-10-01 14:27:37 +02:00
kaso17
211e80cb17 TV Chaos: update categories 2017-10-01 14:27:30 +02:00
garfield69
d687dfc3e1 hyperay: update link and add description (#1912)
hyperay switched domains in feb '17
source: opentrackers.org
2017-10-01 11:28:52 +02:00
garfield69
1ea5b21956 Display a description on Indexer Setup panel (#1911)
* custom.js: add description alert to Indexer Setup panel

* index.html: add description to Indexer Setup panel

* Update index.html
2017-10-01 11:28:10 +02:00
Matthew Banning
aff3af0214 RARBG: Adding 4k categories (#1910)
* Add 4k Movie and TV categories for RARBG

Currently it does not look like torrentapi.org indexes the 4k movie categories but I've added them anyway in case they get added in the future.
Also, torrentapi.org returns "Movies/TV-UHD-episodes" for RARBG's 4k TV category. This may be due to RARBG's top100 page.

* Update Rarbg.cs
2017-10-01 11:26:52 +02:00
garfield69
f9b2875470 add Descriptions (#1909)
* HDForever: add description

* superbits: add description

* czteam: add description

* xspeeds: amend description

* Synthesiz3r: add description

* TorrentVault: add description

* insanetracker: add description

* yggtorrent: add description

* ImmortalSeed: amend description

* polishsource: add description

* btnext: add description

* hon3yhd: add description

* hdhome: add description

* ultrahdclub: add description

* speedtorrentreloaded: add description

* hdme: add description

* magico: add description

* ourbits: add description

* audiobooktorrents: add description

* ultimategamerclub: add description

* dragonworldreloaded: add description

* dreamteam: add description

* Psytorrents: add description

* funkytorrents: add description

* rockhardlossless: add description

* bluebirdhd: add description

* Hardbay: add description

* shellife: add description

* aox: add description

* acidlounge: add description

* infinityt: add description

* jpopsuki: add description

* bithq: add description

* HD-Only: add description

* torrentccf: add description

* xtremezone: add description

* sktorrent: add description

* Torrentech: add description

* passionetorrent: add description

* kapaki: add description

* carpathians: add description

* estone: add description

* datascene: add description

* myspleen: add description

* torviet: add description

* backups: add description

* CGPeers: add description

* inperil: add description
2017-10-01 11:26:07 +02:00
garfield69
606c82921b add EliteHD (#1908)
* Create elitehd.yml

* docs: add EliteHD

* elitehd: add description
2017-10-01 11:25:22 +02:00
nenladar
4463fc0550 TorrentLeech: Add the new 4K category (#1899)
* Add the new 4K category for TorrentLeech

TorrentLeech renamed the existing 4k category and added a new "Real 4K UltraHD HDR" category. This PR adds the new category (but leaves the old one too).

* Update TorrentLeech.cs
2017-09-29 17:21:32 +02:00
garfield69
2bdb1ee0ff btdb: add default categories (#1886) 2017-09-23 14:02:49 +02:00
garfield69
2af27c0a87 zooqle: seeders and leechers can be missing. (#1885) 2017-09-23 14:02:35 +02:00
garfield69
db9fb73b4d anidex: fix #1817 settings' category id causing no results (#1880) 2017-09-22 08:06:22 +02:00
garfield69
aee64183fc rapidetracker: cleanup after removal. closes #1870 (#1874) 2017-09-22 08:04:52 +02:00
garfield69
9cabf72829 add BTDB public tracker. Closes #1564 (#1868)
* docs: add BTDB public tracker. Closes #1564

* Create btdb.yml
2017-09-22 08:04:41 +02:00
garfield69
ec7a2d049c zooqle: fix seeders and leechers (#1867) 2017-09-22 08:04:10 +02:00
garfield69
11ebe34f55 add MagnetDL public tracker. closes #1069 (#1865)
* docs: add MagnetDL public tracker. closes #1069

* Create magnetdl.yml

* magnetdl: ensure keywords are in lower case

* docs: oops, m before n
2017-09-22 08:03:55 +02:00
garfield69
db476951fe add World Wide Torrents public tracker. closes #1439 (#1863)
* Create worldwidetorrents.yml

* docs: add World Wide Torrents public tracker. Closes #1439

* worldwidetorrents: prevent errors.

the scripts were causing false hits for the row selector.

* docs: oops put wwt in correct section
2017-09-22 08:03:09 +02:00
garfield69
a49e0d5667 idope: add info to itorrents settings and default to enabled. (#1862) 2017-09-22 08:02:37 +02:00
halali
605c6bcada Trezzor: Convert to cardigan (#1860)
* Convert Trezzor to cardigan

* Change encoding
2017-09-22 08:02:03 +02:00
kaso17
9c2e5b4219 Hon3y HD: improve search query
fixes #1859
2017-09-20 13:17:09 +02:00
kaso17
2e1ce6f202 M-Team - TP: add support for IMDB tooltip handling 2017-09-20 11:39:15 +02:00
kaso17
650435aaef Cardigann: add support for info setting 2017-09-20 11:38:50 +02:00
kaso17
f2248200af Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-09-19 17:34:06 +02:00
kaso17
6a9777895c TenYardTracker: update default link
fixes #1846
2017-09-19 17:33:58 +02:00
kaso17
47a8c977d9 torznab: include proper torznab category attributes 2017-09-19 17:32:30 +02:00
garfield69
b138e243ee add Idope public tracker. closes #1386 (#1857)
* docs: add Idope public tracker

* Create idope.yml
2017-09-19 12:27:54 +02:00
kaso17
fbab796e76 Ethor.net: add login error detection 2017-09-19 11:38:06 +02:00
kaso17
8126fc3c85 DanishBits: use wildcard search 2017-09-19 11:32:12 +02:00
kaso17
27a7b2d711 TorrentVault: fix category selector
fixes #1853
2017-09-19 11:09:24 +02:00
kaso17
86ecacffcb log request exceptions 2017-09-19 11:02:00 +02:00
kaso17
8b5d3d0170 Bitspyder: fix grabs parsing for alternative style 2017-09-18 11:26:24 +02:00
kaso17
4c3cb9f295 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-09-17 16:38:32 +02:00
kaso17
c9f945a08e Torrent9: update site link 2017-09-17 16:38:25 +02:00
garfield69
46c6bd74a2 zooqle: add categories and fix a few bugs (#1834)
dummy commit, already applied via #1837
2017-09-17 16:35:03 +02:00
kaso17
61e2add89a 1337x: optional category and conditional date parsing 2017-09-17 16:32:05 +02:00
garfield69
24fe395cf0 add 1337x public tracker. Closes #1384 (#1837)
* zooqle: add categories and fix a few bugs

* docs: add 1337x public tracker

* create 1337x public tracker. closes #1384
2017-09-17 15:17:07 +02:00
Nottt
aab8968a14 Update README.md (#1841) 2017-09-17 15:05:42 +02:00
kaso17
de98438102 update readme 2017-09-17 15:02:03 +02:00
kaso17
108213f098 DanishBits: use couchpotato API 2017-09-15 18:57:43 +02:00
kaso17
861271ac04 TorznabQuery: allow % in search term 2017-09-15 18:54:33 +02:00
kaso17
b378f74202 zetorrents: remove 2017-09-15 17:08:33 +02:00
kaso17
866e1df174 Add GkTorrent tracker 2017-09-15 17:05:55 +02:00
kaso17
0bb231eeca Back-ups: minor changes 2017-09-15 08:20:57 +02:00
halali
fb5c82ff85 Add Back-ups and SkTorrent trackers (#1830)
* Fix Date and inprove seasson searching for CzTorrent

* Update title filter

* Add Back-ups and SkTorrent

* Update reabme

* Update backups.yml
2017-09-15 08:15:40 +02:00
garfield69
d9f57b4e13 Definitions: replace deprecated optional (#1827)
* bithumen: replace deprecated use of optional

* bitspyder: replace deprecated use of optional

* chdbits: replace deprecated use of optional

* diablotorrent: replace deprecated use of optional

* eztv: replace deprecated use of optional

* funkytorrents: replace deprecated use of optional

* hon3yhd: replace deprecated use of optional

* insanetracker: replace deprecated use of optional

* kapaki: replace deprecated use of optional

* limetorrents: replace deprecated use of optional

* linkomanija: replace deprecated use of optional

* losslessclub: replace deprecated use of optional

* magico: replace deprecated use of optional

* majomparade: replace deprecated use of optional

* ourbits: replace deprecated use of optional

* polishsource: replace deprecated use of optional

* rodvd: replace deprecated use of optional

* torrentccf: replace deprecated use of optional

* torrenthr: replace deprecated use of optional

* torrentproject: replace deprecated use of optional

* torrentz2: replace deprecated use of optional

* oops

* Update bitspyder.yml

* Update insanetracker.yml

* Update kapaki.yml

* Update magico.yml

* Update polishsource.yml

* Update torrenthr.yml

* Update polishsource.yml
2017-09-15 08:14:46 +02:00
garfield69
4676972493 add Zooqle tracker (#1826)
fix #1185
2017-09-15 08:01:10 +02:00
kaso17
1d3ac34011 add innerstacktrace on request exception 2017-09-14 15:01:01 +02:00
kaso17
634a860f5c DigitalHive: Captcha is optional now 2017-09-14 15:00:33 +02:00
kaso17
eb00665df1 Hounddawgs: fix bannerUri usage 2017-09-13 12:53:38 +02:00
kaso17
5e77d27021 ArcheTorrent: improve parsing 2017-09-13 12:50:21 +02:00
Malte Baden Hansen
8fec3ede4e Hounddawgs: fix wrong image path causing torrent parsing to fail. (#1808)
* Wrapped item parsing in try catch / one erranious torrent should not fuck up the entire parsing.
Changed Uri creation to use TryCreate, to harden against invalid image paths.

* Woops, can't use new C# features...
2017-09-13 12:06:44 +02:00
kaso17
ae6d5ccfc6 ResultsController: fix request exception handling 2017-09-13 12:01:07 +02:00
kaso17
e309d96c51 Hounddawgs: handle invalid BannerUrls 2017-09-13 11:56:05 +02:00
kaso17
2a3b42f83a BaseIndexer: include original stack trace in OnParseError exceptions 2017-09-13 11:49:24 +02:00
kaso17
4819a3c8ed Continue loading cardigann definition in case of an error 2017-09-13 11:33:17 +02:00
halali
34d091942a CzTorrent : Fix Date and improve season searching (#1812)
* Fix Date and inprove seasson searching for CzTorrent

* Update title filter
2017-09-13 11:19:01 +02:00
kaso17
ee2abe6751 TorrentVault: fix date format 2017-09-13 11:15:24 +02:00
kaso17
27f0448caf TorrentVault: add certificate 2017-09-13 11:14:26 +02:00
kaso17
6493037251 UpdateService: always print current/latest version 2017-09-13 10:35:51 +02:00
kaso17
0cd11e1882 Improve error handling if the tracker is down 2017-09-13 09:57:39 +02:00
kaso17
cfdafa01c9 Torlock: fix date parsing 2017-09-13 09:29:30 +02:00
kaso17
e3852bcb1b Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-09-13 09:13:58 +02:00
kaso17
e33e95c1b2 The Empire: update site link 2017-09-13 09:13:49 +02:00
garfield69
3d0e777d22 SceneAccess: remove (shutdown) (#1818)
* docs: delete sceneAccess

* Delete SceneAccess.cs

* cleanup for Indexers/SceneAccess.cs

* remove SceneAccess.cs

* revert, as SceneAccess is not a yml definition but a cs indexer
2017-09-13 09:00:54 +02:00
kaso17
aeb3d49c06 fix Definitions include 2017-09-11 15:16:16 +02:00
kaso17
c2cf5adeb2 PolishTracker: update for new reaper engine 2017-09-11 15:10:54 +02:00
kaso17
40ab7280ca add TorrentVault tracker 2017-09-11 12:39:22 +02:00
kaso17
0c37a191fd added Synthesiz3r tracker 2017-09-11 12:02:45 +02:00
kaso17
19547bc58f AnimeBytes: remove useless request 2017-09-11 11:39:47 +02:00
adamwinn
bcbe18214b Karagarga: Fix parsing (#1798) 2017-09-11 11:03:57 +02:00
Alan Gregory
eb60a6854c manicomioshare: Fixed "Unknown series" on sonarr (#1802)
* Fixed "Unknown series on sonarr"

* Changed whitespace to E
2017-09-11 11:03:22 +02:00
adamwinn
11406697be Secret Cinema: change definition to match new site (#1803) 2017-09-11 11:02:39 +02:00
kaso17
b2b576a72d SpeedCD: fix row selector 2017-09-11 10:50:23 +02:00
kaso17
e537e4976e Dream Team: fix definition 2017-09-11 10:33:18 +02:00
kaso17
490254d16b Revert "Dream Team: remove (dead)"
This reverts commit a5cc7d973f.
2017-09-11 10:26:11 +02:00
kaso17
a5cc7d973f Dream Team: remove (dead) 2017-09-09 14:36:47 +02:00
kaso17
3e000453a5 add error message 2017-09-08 19:05:10 +02:00
kaso17
8f090fabef UI: revert target blank change 2017-09-08 19:02:53 +02:00
kaso17
91eb4c37cb TNTVillage: remove diacritics 2017-09-08 19:01:36 +02:00
kaso17
da43f17558 Cardigann: add diacritics filter 2017-09-08 19:00:25 +02:00
kaso17
3b3c3b0947 EliteTracker: update categories 2017-09-08 18:04:28 +02:00
kaso17
06e386c253 readme: update CA certificates error 2017-09-08 17:47:50 +02:00
thebluepotato
a2ae2d3384 Enhance the service installation on MacOS (#1793)
* Make the script self-executing

* Update script with colors

Since it’s self-executing, at least the output is more visible

* Changes to README

* Update Jackett.Console.csproj

* Clarify README
2017-09-08 17:12:47 +02:00
thebluepotato
3532a73d59 UI: Change the type locks to labels (#1773)
* Changing the locks

* Changing the locks to labels

* Update index.html

update chagned param

* whitespaces
2017-09-08 09:06:06 +02:00
thebluepotato
b7daffea87 Enhance the macOS install script (#1786)
Fixes #1784
2017-09-08 09:04:41 +02:00
kaso17
e7b9f8c5ec HDTorrents: fix parsing 2017-09-05 18:37:25 +02:00
garfield69
9ada58a6e3 HDClub: remove (#1772)
* drop HDClub

* delete hdclub

* Delete hdclub.yml
2017-09-03 12:16:37 +02:00
kaso17
c8d974cf52 Add AST4u tracker 2017-09-03 10:03:38 +02:00
kaso17
c544de8fed Demonoid: add recaptcha support 2017-09-02 14:40:29 +02:00
kaso17
93ec102a86 7Tor: add automatic relogin 2017-09-01 18:17:14 +02:00
kaso17
92bda2b09b Anidex: fix definition 2017-09-01 18:08:47 +02:00
kaso17
1cd0358531 SceneTime: make category optional 2017-09-01 17:46:24 +02:00
kaso17
222fec2fd0 whitespace fixes 2017-09-01 17:32:20 +02:00
kaso17
3790cbb894 Add support for X-Forwarded-Proto/Front-End-Https headers 2017-09-01 17:28:56 +02:00
kaso17
05d5798046 Add root privileges notice 2017-08-31 17:48:49 +02:00
kaso17
9e9deb17c7 attempt to fix caching related issues 2017-08-31 12:21:59 +02:00
kaso17
2aedc4f335 IPTorrents: fix AlternativeSiteLinks 2017-08-31 12:14:31 +02:00
kaso17
dfa708e355 IPTorrents: update Alternative Site Links 2017-08-31 11:13:09 +02:00
kaso17
6d1997ef96 UI: Improve Alternative Site Link selection 2017-08-31 11:12:50 +02:00
kaso17
db479d8de8 fix AlternativeSiteLinks 2017-08-31 10:50:47 +02:00
kaso17
741e6407ce FullMixMusic: update URL 2017-08-31 10:50:12 +02:00
kaso17
141f3e57e5 Introduce LegacySiteLinks to automatically update to new SiteLinks 2017-08-30 18:46:36 +02:00
kaso17
00027a41c1 manual search: add multiselect support for tracker/category dropdowns 2017-08-30 17:40:32 +02:00
kaso17
e754d3da9f Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-30 13:52:37 +02:00
kaso17
bf54a2f171 manual search: fix selected indexer log output 2017-08-30 13:52:31 +02:00
garfield69
7b7d0082b6 Docs: refresh public, semi-private, private lists (#1754) 2017-08-30 11:54:56 +02:00
kaso17
3614b1b3da Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-30 11:54:06 +02:00
kaso17
39b0670a29 UI: adjust base path override placeholder 2017-08-30 11:52:27 +02:00
kaso17
1689c46c91 ServerConfiguration: add basePathOverride validation/normalization 2017-08-30 11:51:25 +02:00
kaso17
0143bdfe14 UI: fix updateServerConfig error handling 2017-08-30 11:50:11 +02:00
garfield69
93a9568a77 docs: T411v2 is now public as per #1740 (#1752) 2017-08-29 21:23:53 +02:00
Jonas Stendahl
40079b0365 SceneAccess: site is now permanently free-leech (#1749) 2017-08-29 18:50:25 +02:00
kaso17
168f04e786 SanitizedSearchTerm: allow + 2017-08-29 17:34:38 +02:00
kaso17
861a33f4af DataScene: fix free detection 2017-08-29 15:36:57 +02:00
kaso17
57c52d9eb2 2 Fast 4 You: fix whitespaces 2017-08-29 15:33:51 +02:00
kaso17
f574dedbe8 GigaTorrents: add search error detection 2017-08-29 15:33:19 +02:00
kaso17
a6d2ecffbb DataScene: fix definition 2017-08-29 15:33:00 +02:00
kaso17
300354ef13 update DataFolder description 2017-08-29 14:12:05 +02:00
kaso17
4a519226f5 2 Fast 4 You: remove Nouveau flag from titles 2017-08-29 11:56:41 +02:00
kaso17
6a4f6e3638 ReleaseInfo: ignore Origin during JSON serialization 2017-08-29 11:56:10 +02:00
kaso17
157b042c0a Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-29 10:53:39 +02:00
kaso17
9385218c9d Demonoid: ignore more ads 2017-08-29 10:53:32 +02:00
thebluepotato
7482e8d9c4 Make T411v2 public (#1740)
I'm 99% sure that since they've resurrected they're fully public (no login needed, no ratio, etc.) and since even Jackett isn't asking for login info, it should be reflected here.
2017-08-28 19:03:25 +02:00
kaso17
5501d282de Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-28 18:55:03 +02:00
kaso17
123bb4af5f add tracker and category to location.hash 2017-08-28 18:54:57 +02:00
halali
4d36dae634 Add CzTorrent tracker (#1739) 2017-08-28 17:32:16 +02:00
kaso17
eac11ab807 add SpeedTorrent Reloaded tracker 2017-08-28 15:49:44 +02:00
kaso17
b6892f1dc6 Dragon World (DTW): remove (dead) 2017-08-28 14:51:33 +02:00
thebluepotato
0695b8f84e Fix instructions for certificates on macOS (#1737)
* Fix instructions for certificates on macOS

* Remove an awful double space

* README cleanup

* Updated command
2017-08-28 14:37:47 +02:00
thebluepotato
04995f1a10 Fixes for 3 French trackers (#1736)
Non-critical fixes:
 - NextTorrent and Zetorrents: error in logs when no results were
returned from search
 - T411v2: improved selector to disregard VPN add in search results
2017-08-28 13:01:51 +02:00
kaso17
44d9b3ecc8 Norbits: fix download links 2017-08-28 12:51:04 +02:00
kaso17
a311509b7c Norbits: fix temp directory path generation 2017-08-28 12:50:42 +02:00
kaso17
0db4229bd4 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-28 11:42:37 +02:00
kaso17
441aad5a18 Demonoid: ignore ad lines 2017-08-28 11:42:28 +02:00
thebluepotato
d8d911abf8 Add a script to install Jackett as service on macOS (#1705)
* Add instructions tu run Jackett as service on macOS

* Changed restart logic

* Replace plist with install script

* Update README and add some more checks

* Fix README

* Move and rename script

* Include script inside project

* README corrections and cleanup

* Slight improvement of the script

Put `launchctl remove` earlier so it has the time to quit the service before testing if it's still running.
2017-08-28 11:05:41 +02:00
kaso17
7423e3f5bc add workaround for mono relative redirect bug 2017-08-28 11:01:45 +02:00
kaso17
48fea35645 Merge branch 'master' of https://github.com/Jackett/Jackett 2017-08-24 12:29:57 +02:00
kaso17
cef72f11d0 manual search: improve error handling (#1717)
* manual search: improve error handling

* add index changes
2017-08-24 12:28:41 +02:00
kaso17
ad3039b70f Best Friends: remove (dead) 2017-08-24 12:05:18 +02:00
kaso17
73d590cebd include stacktrace in error 2017-08-24 12:02:38 +02:00
kaso17
1d0790471f Karagarga: fix download attempt 2017-08-24 10:48:11 +02:00
kaso17
3b3048aa01 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-24 10:21:29 +02:00
kaso17
183fb56b0a Gazelle: improve isPersonalFreeleech handling 2017-08-24 10:21:20 +02:00
kaso17
466be31e6f Best Friends: remove (dead) 2017-08-24 10:13:41 +02:00
Khogniak
db42bc944b Fixed typo in regex 2017-08-23 11:39:34 +02:00
Khogniak
102e7338f9 Make regex case incesitive 2017-08-23 11:39:34 +02:00
Khogniak
01b30b0743 Added option to normalize release name 2017-08-23 11:39:34 +02:00
kaso17
947dbac485 SceneAccess: fix long titles 2017-08-23 11:37:54 +02:00
kaso17
0d29e85c80 Kapaki: fix error on no results 2017-08-22 19:26:56 +02:00
kaso17
89a28e2e95 myAmity: fix login detection 2017-08-22 19:17:47 +02:00
kaso17
66b2c20b42 ImmortalSeed: fix error on no results 2017-08-22 19:17:47 +02:00
kaso17
e6035bcaa5 Hardbay: fix error on no results 2017-08-22 19:17:47 +02:00
kaso17
68aac78360 EoT-Forum: update URL 2017-08-22 19:17:47 +02:00
kaso17
4b02141250 BTNext: fix error on no results 2017-08-22 19:17:47 +02:00
kaso17
8e1d321817 BroadcastTheNet: fix error on no results 2017-08-22 19:17:47 +02:00
kaso17
3354d37aa3 TorrentNetwork: fix typo 2017-08-22 17:46:58 +02:00
kaso17
7675214092 TorrentNetwork: fix indexer 2017-08-22 17:43:39 +02:00
kaso17
7af8e1916e Tasmanit: use wildcards for search 2017-08-22 13:34:21 +02:00
kaso17
6d4720e58f Hounddawgs: add support for alternative time format 2017-08-22 11:00:10 +02:00
kaso17
9928815777 fix cookie fallback login 2017-08-21 15:02:36 +02:00
kaso17
a7d65fedfb PotatoFeed: fix potatoenabled flag 2017-08-21 15:02:06 +02:00
kaso17
464b142130 Waffles: fix download 2017-08-21 14:07:44 +02:00
kaso17
e1bcdce019 Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-21 13:06:57 +02:00
kaso17
ced9bad4f8 BroadcastTheNet: various improvements 2017-08-21 13:06:44 +02:00
thebluepotato
c6140d7eef fix(indexers): updated browse page endpoint (#1696)
They changed the url for the latest torrents once again…
2017-08-21 11:17:17 +02:00
thebluepotato
97f4a9de5d fix(indexers): updated t411v2 definition (#1694) 2017-08-20 17:00:21 +02:00
thebluepotato
be1f6a43a7 fix(indexers): kat clone (#1693)
kat.how -> thekat.se
fixes #1607
2017-08-20 16:56:55 +02:00
thebluepotato
c8d96990d5 feat(indexers): added gaytorrent.ru (#1689)
* Add GayTorrent.ru tracker

🏳️‍🌈

* Small name fix

* Update category

* Category cleanup

* Add it to the list
2017-08-20 15:28:29 +02:00
thebluepotato
e9db6edce8 feat(indexers): added gay-torrents.net (#1690)
* Adding tracker Gay-Torrents.net

* Various fixes incl. testing and free leech detection
2017-08-20 15:26:39 +02:00
JigSawFr
eee7f2999f feat(gui): more explicit errors with link to open issue (automatic generated title) 2017-08-20 14:54:34 +02:00
JigSawFr
01e5ad792e fix(indexers): better error messages for Xthor 2017-08-20 14:06:37 +02:00
JigSawFr
aa02644e05 fix(gui): null pointer exception verification 2017-08-20 14:05:57 +02:00
JigSawFr
26dd740a53 fix(gui): return error message instead of generic while problems occured when updating an indexer 2017-08-20 13:11:46 +02:00
garfield69
952b6d7f95 readme correction: Torlock is public (#1688) 2017-08-20 13:09:24 +02:00
kaso17
e8742554c2 The Pirate Bay: remove \u000f from title 2017-08-18 19:01:18 +02:00
kaso17
7229da2fbb QcTorrent: removed (dead) 2017-08-18 18:28:39 +02:00
kaso17
39db77eb7c The-Torrents: include dead is working again 2017-08-18 18:25:57 +02:00
kaso17
d866758a0d The-Torrents: fix definition 2017-08-18 18:23:52 +02:00
kaso17
4d72d08e26 TranceTraffic: update certificate 2017-08-18 18:06:25 +02:00
kaso17
2e169a8c3a GhostCity: add auto re login 2017-08-18 18:00:50 +02:00
kaso17
978ce0827f Le Paradis Du Net: removed (dead) 2017-08-18 17:59:40 +02:00
kaso17
fe94e4833d PolishTracker: add expired certificate/search error detector 2017-08-18 11:42:27 +02:00
kaso17
592f04389f Secret Cinema: update default URL 2017-08-18 11:28:03 +02:00
kaso17
5992e6d701 SceneFZ: fix null pointer exception 2017-08-18 11:11:55 +02:00
kaso17
d44ebb7d43 Diablo Torrent: fix definition 2017-08-18 10:56:11 +02:00
Guizzoni
852142e9ae feat(indexers): added torlock tracker (#1681)
* Create torlock.yml

* Update README.md

* Update torlock.yml

added date
2017-08-18 02:38:57 +02:00
JigSaw
3ba52f15dd fix(indexers): rewritted scenefz from scratch (#1684) 2017-08-18 02:29:45 +02:00
kaso17
502a4dc763 New Real World: update URL and add relogin 2017-08-17 18:53:38 +02:00
kaso17
d336a761a7 myAmity: fix relogin detection 2017-08-17 18:32:16 +02:00
kaso17
9240f9d72b Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-08-17 18:01:11 +02:00
kaso17
cab91ff346 Demonoid: fix download links 2017-08-17 18:01:04 +02:00
JigSaw
2a327549f5 docs(readme): added bountysource shield 2017-08-17 14:25:54 +02:00
kaso17
5748881a29 torznab caps: exclude indexer specific categories for meta indexers 2017-08-17 09:57:58 +02:00
kaso17
69aa38c1ff AggregateIndexer: set result limits to 1000 2017-08-17 09:50:10 +02:00
kaso17
aa157cfcb9 torznab caps: add support for limits 2017-08-17 09:48:54 +02:00
kaso17
f963f8d173 caps: add server element 2017-08-17 09:22:04 +02:00
thebluepotato
1d75164aaf KickAssTorrent: Remove login (#1674)
* Add KAT definition without login

* Remove old definition with login

Bye bye lovely work
2017-08-16 12:41:55 +02:00
Guizzoni
f503f0543e Manicomio Share: improve search results (#1670)
* Fixes episode search in Manicomio Share

The tracker uses the pattern "name - s??e??" instead of "name s??e??" so we have to manually add a "-" in the query

* Better fix

Updated to a better fix!

* Fixed the input name

* Added a workaround to solve the year issue

* Fixed the re_replace order
2017-08-16 12:38:04 +02:00
Guizzoni
333f7297fa fix(indexers): B2S-Share search (#1671)
This fixes the search for episodes and movies in general
2017-08-16 12:31:57 +02:00
Guizzoni
3fdfc4a142 fix(indexers): Manicomio Share login method (#1669)
Removed cookie and added POST method.
2017-08-14 16:43:30 +02:00
JigSawFr
0ac58224f9 style(indexers): cleanup BTN tracker indexer 2017-08-14 16:23:40 +02:00
JigSaw
3d08fcb4b9 docs(readme): added discord chat server (#1668) 2017-08-14 12:02:22 +02:00
chibidev
c2f11306b1 Fixing SupportsCategories (or at least making it better)
I cannot wrap my head around why it has started to fail now as it was
faulty from the beginning... Anyway, SupportsCategories didn't really
take sub categories into account, which is bad.

- Potentially fixes #1654 and #1656
2017-08-14 10:38:51 +02:00
JigSaw
07a0c2c828 fix(indexers): fixed wihd, added ssl support and misc things (#1666)
* docs(config): add warning on wihd config to use classic view only

* refactor(wihd): refactor indexer, optimized dev mode, added freeleech and SSL

* fix(indexers): removed T411 orginal tracker

closed tracker by gov

* refactor(clean): removed old orphan config files

* docs(readme): updated for wihd
2017-08-14 02:10:50 +02:00
JigSaw
28eaa637df fix(indexers): Abn Indexer, Added 4K to Xthor (#1665)
* feat(xthor): added 4K category

* fix(abn): optimized abnormal indexer, fixed scraping for pending and dev mode
2017-08-14 00:15:11 +02:00
JigSaw
8707e6b2e9 fix(indexers): fixed and optimized xthor indexer
* feat(utils): added sha1 hash function and refactored md5 hash function

* fix(indexers): now use cross plateform path building for dev mode

* fix(indexers): fix output log of xthor for dev mode

* feat(release): added ToString method

* refactor(dev): optimized dev mode

* style(clean): cleanup code

* feat(indexer): added tmdb info to releases

* fix(cat): enabled categories on xthor
2017-08-13 20:49:03 +02:00
chibidev
7a8d83b693 Allow anonymous access to results - probably fixes #1654 2017-08-13 02:23:39 +02:00
chibidev
403c0ef7e4 Correct API path in JS client 2017-08-12 20:12:30 +02:00
chibidev
3374c14311 Fix download handling in AggregateIndexer 2017-08-12 11:12:02 +02:00
chibidev
9eade51d89 Increase Sonarr compatbility 2017-08-12 10:46:12 +02:00
David Torosyan
bc9e4a30cb Fix thepiratebay.xml for General Hospital (#1647)
* Fix thepiratebay.xml for General Hospital

* Add comment
2017-08-12 16:19:41 +10:00
flightlevel
0103c48c97 Fix settings update from UI (#1655)
https://github.com/Jackett/Jackett/issues/1654
2017-08-12 11:12:56 +10:00
chibidev
29ecf8a584 "Fix" ShowRSS category handling 2017-08-12 01:59:50 +02:00
chibidev
eec07bc5b8 Fix manual search - append apikey 2017-08-12 01:04:30 +02:00
chibidev
bf23878477 Manual search URL fix - hash will reset now 2017-08-12 01:04:07 +02:00
chibidev
043085e8f3 Fix torznab capability API 2017-08-12 00:30:43 +02:00
chibidev
39e612d60c Move debug data to appropriate log level 2017-08-11 23:55:55 +02:00
chibidev
6f8b1b749d Fix default torznab query 2017-08-11 23:55:40 +02:00
kaso17
439e9296f9 dummy commit 2017-08-11 19:10:48 +02:00
kaso17
1332b49370 UI: fix searchCategory dropdown 2017-08-11 18:55:47 +02:00
kaso17
33a7db5ec4 NextTorrent: update default URLs 2017-08-11 18:46:32 +02:00
kaso17
2075e914eb fix /api route names 2017-08-11 18:34:54 +02:00
kaso17
758ad91a55 add /api legacy routes 2017-08-11 18:27:45 +02:00
kaso17
e9b604d3c4 fix potato API 2017-08-11 18:13:22 +02:00
kaso17
51aa4f35bd AnimeBytes: stop emulating browser 2017-08-11 16:53:49 +02:00
kaso17
fc55882f16 IndexerManagerService: create own IWebClient instance for each indexer 2017-08-11 16:53:27 +02:00
kaso17
d03cbefa57 IWebClient: add EmulateBrowser flag 2017-08-11 16:52:58 +02:00
kaso17
e079c90535 Torrent Downloads: don't ask for user/password and fix empty search 2017-08-11 16:05:19 +02:00
kaso17
8591add0bf FileList: use full title if available 2017-08-11 15:57:55 +02:00
kaso17
fbbe4f9c45 FileList: don't use FL token DL link 2017-08-11 15:48:34 +02:00
kaso17
289c5cd24f encrypt original path in download links and move apikey to parameters 2017-08-11 15:14:40 +02:00
flightlevel
84a45737d3 Revert "Fixes #1606 " (#1649)
* Revert "Pretome: Attempted parsing fix (#1648)"

This reverts commit d083cf774a.

* Revert "t411 v2 (#1620)"

This reverts commit f2ce167bbf.

* Revert "Fixes #1606  (#1625)"

This reverts commit 4e04bbbcf4.
2017-08-11 22:29:15 +10:00
flightlevel
d083cf774a Pretome: Attempted parsing fix (#1648)
* Pretome: Attempted parsing fix
2017-08-11 21:54:44 +10:00
Francis Noel
f2ce167bbf t411 v2 (#1620)
* New nextorrent URL

Change url to : http://www.nextorrent.cx
Fix search url

* new cpasbien url

Change to : http://cpabien.cc

* Add zetorrents tracker

* t411 v2 + remove maniatorrent

* Update Jackett.Updater (remove maniatorrent)

* fix the formatting

Change TAB with SPACE
2017-08-11 21:45:49 +10:00
Benoît Sauvère
4e04bbbcf4 Fixes #1606 (#1625)
* Fixed the TorrentPotato requests with the indexers that does not support imdbid requests

* Fixed the "CanHandleQuery" which was not working if we make the request only with an imdbid (and a valid OMDB key)

* Fixed the "CanHandleQuery" which was not working if we make the request only with an imdbid (and a valid OMDB key)

* Removed PotatoController.cs
2017-08-11 21:41:50 +10:00
garfield69
7f5d00e89f torrents-search.php -> search-torrents.php (#1642)
KAT seem to have changed the name of the search php
2017-08-10 22:03:41 +10:00
flightlevel
f777114644 Pretome: Attempted parsing fix (#1644) 2017-08-10 22:01:41 +10:00
flightlevel
7c63a6b8f2 ArcheTorrent: Update categories (#1643)
Fixes https://github.com/Jackett/Jackett/issues/1614
2017-08-10 21:51:59 +10:00
aurelien
f0140999bf 2 Fixes (#1637)
* lower case for search term

* fix thanksyou call before download torrent file
2017-08-10 08:23:19 +02:00
Khogniak
6f0a249503 YGG config update (#1635)
* YGG config update

* Followed gprime44 on seeder/leecher selector #1634
2017-08-10 08:21:12 +02:00
mueslo
2e79500f50 Improve season query logic for bB (#1632)
* Tweak BB indexer

Remove explicit tracker URL
Add tracker-specific season query

* Query for "S##" and "Season #" simultaneously on bB

* Fix tabs/spaces

* Rewrite title from "Season #" to "S##"

* Fix bug

Fix bug where searching for whole shows would rewrite Season # to S00, since no season was specified.

* Add new categories mappings

So that e.g. headphones can correctly query bB for music
2017-08-10 08:19:27 +02:00
chibidev
720b5971d3 Feature/new api (#1584)
* Introducing API v2

There were multiple inconsistencies in the old API and I have been
toying with the idea to replace it. This will suck for everyone who was
building on top of the Jackett API, however as it was probably too
painful to do so I'd say no one really tried.

Now API v2.0 should be much more constistent as it uses DTObjects, and
instead of manually constructing a json response it is handled by the
ASP.NET web api. It is much more RESTful than it was, proper GET
endpoints are introduced, and updating resources are now done via POST -
it might be improved by introducing other type of REST methods.

I know this sucks as completely breaks backward compatibility, however
it'll probably make it easier to maintain and build on top of in the
long run.

* Use DELETE method to unconfigure an indexer

* Remove debugging format from NLog

* Fixing an null exception

* Properly implementing IExceptionFilter interface

* Enable adding public indexers without configuration

* Fix missing manual search results

* Basic modularization of the JS API

* Introduce API versioning

* Fix redirects to the dashboard

* Cleaning up a little bit

* Revamping Torznab and Potato as well

* Move preconditions to FilterAttributes and simplify logic

* Remove legacy filtering... will move to IResultFilter

* Minor adjustment on results interface

* Use Interpolated strings in ResultsController

* DTO-ify

* Remove fallback logic from potato results

* DTO everywhere!!!

* DTO-ify everything!

* I hope this is my last piece of modification to this PR

* Remove test variables...

* Left out a couple conflicts... It's late
2017-08-08 17:02:16 +02:00
chibidev
dba63857e4 Improve results and fix download link on AnimeTosho 2017-08-08 09:27:21 +02:00
danmed
b05ee653d3 Update skytorrents.yml (#1626) 2017-08-08 01:19:04 +02:00
chibidev
84df60368c Improve response time of metaindexers 2017-08-07 22:33:23 +02:00
chibidev
76102ac171 Fix exception in BaseNewznabIndexer in some cases... Might not catch all of them. 2017-08-06 20:44:22 +02:00
Francis Noel
3c6e77a2ca Fix issue : #1615 (#1619)
* New nextorrent URL

Change url to : http://www.nextorrent.cx
Fix search url

* new cpasbien url

Change to : http://cpabien.cc

* Add zetorrents tracker
2017-08-06 10:41:53 +10:00
flightlevel
f6272032a6 MoreThanTv: Improve Number parsing (#1618)
Fixes #1616
2017-08-05 11:20:50 +10:00
Florentin Le Moal
41fb5e89b4 Fixed little typo (#1609) 2017-08-05 10:46:03 +10:00
Indrek Ardel
42c9967844 Use local time for dates in TorrentBytes (#1586)
TorrentBytes allows changing timezone in settings, which makes listed dates to be more likely local time than UTC.
2017-08-05 10:45:38 +10:00
chibidev
e740e2434d Fix selector on World of P2P 2017-07-29 14:02:04 +02:00
chibidev
057df28d1b Fixing a null exception when searching AnimeTosho
AnimeTosho failed to populate the Origin field of the results when
searching thereby creating an issue upon creating the proxy link. This
was mainly because an IEnumerable can contain a deferred LINQ query as
well (e.g. in the case of AnimeTosho a Select) that will re-execute
every single time. So when iterating over IEnumerables we cannot really
pose any assumption on what we are dealing with, so either explicitly
force an execution (e.g. via ToList), or use LINQ queries as well. Since
the second is probably more performant, let's stick with that.
2017-07-29 13:20:10 +02:00
Indrek Ardel
6fbc4b6904 Use only one request on Torrentbytes to search (#1587)
To get a larger number of results, users should increase the number on the website, similar to how it's implemented for TorrentLeech. Since TorrentBytes can be slow at times, making one large request will not be that much slower from one small request, but will nearly half the time taken compared to two smaller requests.
2017-07-27 23:49:20 +02:00
chibidev
cab608f0ec Adding the ability to launch a search from with a URL
You can now pass a parameter to the dashboard which will immediately pop
the search box and start searching for the results.
This should be what #1345 and #1577 wants, or at least a basic version
of it.
2017-07-23 02:08:19 +02:00
Ben Houshmand
f5592d04e2 Added yts.ag as an indexer. (#1579) 2017-07-23 01:12:12 +02:00
chibidev
5138496436 Display the master branch build status rather than any branch 2017-07-21 17:57:41 +02:00
chibidev
bcc1e5ff6c Fix OMDB key handling (#1581) 2017-07-21 17:56:29 +02:00
chibidev
7eb57d8e9a Minor fixes for Anime Tosho 2017-07-21 00:32:57 +02:00
chibidev
929c12ccc6 Implementing Anime Tosho - introducing feed based indexers 2017-07-20 23:55:42 +02:00
chibidev
1ba1b91b8e Very basic range check for port number 2017-07-19 22:25:01 +02:00
chibidev
d90a2613fc #1573 - Handle Potato IMDB queries without fallback 2017-07-19 19:31:07 +02:00
chibidev
0d25ed2921 #1575 - Fix invalid URL handling 2017-07-19 19:24:32 +02:00
thebluepotato
a07bffa773 Update KAT definition for real login test, error handling and indexer testing logic (#1569)
* Update KAT definition for real login test

* Add error handling to KAT definition's login

* Even better error handling...

Sorry for the inelegant successive commits

* Add better test behaviour for KAT

Added some logic so tests return results. Previously did a search with an empty string which would return no results. NB : it does test with "torrents.php?search=%22%22" but that's not an issue, the parameter is ignored on that page.
2017-07-19 19:11:29 +02:00
chibidev
f0da6ce247 #1535 - Using a real User-Agent with AnimeBytes 2017-07-16 13:24:14 +02:00
Guizzoni
32d0a8d703 Add "Torrent Downloads" tracker (#1563)
* Add "Torrent Downloads" tracker

Add "Torrent Downloads" tracker as requested on "Issue #1559"

* Update README.md

Added "Torrent Downloads" to the list.

* Update torrentdownloads.yml
2017-07-16 13:16:09 +02:00
kaso17
6e2087d5dc attempt to fix blackhole dirs with reverse proxies 2017-07-14 08:18:36 +02:00
Guizzoni
82f330f4af Add B2S-Share tracker (#1562)
* New definition for indexer "B2S-Share"

I made a new definition for this indexer.
B2S-Share is a general Brazilian tracker.

This tracker does not support multiple category search, so i left it searching in all categories.

* Update README.md

Added B2S-Share to the private tracker list.
2017-07-14 07:43:47 +02:00
Khogniak
14f86107e1 YGG Fix: Removed stage settings. Added https. Added login headers (just in case). (#1561) 2017-07-14 07:42:40 +02:00
Guizzoni
845faf9066 Add Manicomio Share tracker (#1558)
* New definition for indexer "Manicomio Share"

I made a new definition for this indexer.
Manicomio Share is a general Brazilian tracker.

A few known issues:
1 - The tracker does not show the "release date" unless i click on another button with a "onclick="expand(584941,event)"". So i left it without date.
2 - I wasn't able to configure the "login: post" method, since there's no dedicated login page. I used Cookies instead.

* Add Manicomio Share to Private Tracker list

Add Manicomio Share to Private Tracker list

* Updated manicomioshare.yml

Updated line 229 in manicomioshare.yml so it's more flexible in case the URL changes. (Thanks kaso17)

* Tracker doesn't support multiple categories search

Tracker doesn't support multiple categories search, removed the "range .Categories" line
2017-07-14 07:42:04 +02:00
chibidev
7c2b801ee9 Feature/remove autofac from indexer manager (#1549)
* Line endings...

* Remove Autofac and all its shenanigans from IndexerManager

I'm starting my warpath against Autofac. For the next couple PRs I want
to focus on refactoring things rather than creating new things. This
includes introducing LINQ extensions wherever possible as well as
removing Autofac/Automapper dependencies in classes (or any other
dependency, there's a great chance that most of the classes that use
Jackett.Services wouldn't need so many of them). All this is order to
boost performance and eventually reach testability. Can't stop, won't
stop.

* Remove unnecessary extension

* Modify test project

* As per @kaso17, iterating through iterator types rather than allocating them manually

* Cleaning up a little

* Adjusting interface in tests
2017-07-14 07:39:52 +02:00
kaso17
f96dca5653 Merge branch 'master' of https://github.com/Jackett/Jackett 2017-07-13 07:20:09 +02:00
kaso17
0e4e9f4253 AnimeTorrents: use IWebClient 2017-07-13 07:19:04 +02:00
chibidev
dc38f8c041 Bugfix/fix nyoo indexer (#1547)
* Line endings...

* Adjusting selectors
2017-07-12 06:34:14 +02:00
chibidev
17f544be36 Bugfix/1532 1539 fix manual search circular reference (#1543)
* Line endings...

* Encoding Encoding in a reasonable way

Sadly Encoding contains a self-reference somewhere, which makes it
really hard for the json serializer to automatically encode it...
Probably there's no value in sending it over especially since no one is
using it, however just for the sake of the argument, let's just
serialize it in a reasonable way. Maybe someday there will be someone
expecting this. Or we clearly separate DTOs and models...

- Fixes Jackett/Jackett#1532
- Fixes Jackett/Jackett#1539

* Seriously... Please port this to dotnet Core so that I can use something other than @drunkvs on my MacBook

* Fix autofac registration after merge

* "Implement" new function of interface in test project
2017-07-11 22:32:56 +02:00
kaso17
fb59e84def Fix autofac exception 2017-07-11 22:17:56 +02:00
Francis Noel
de8e33e647 Add mania-Torrent tracker (#1534)
* Add mania-Torrent tracker* Update README
2017-07-11 22:00:29 +02:00
kaso17
cf1bbc603e Update BJShare.cs 2017-07-11 21:58:15 +02:00
Guizzoni
ecc60e59d8 Update BJShare.cs 2017-07-11 21:58:15 +02:00
Guizzoni
e7be6faf2f Update BJShare.cs
Updated so it properly replaces "HD" to "720p" since this is the tracker's default naming pattern for every 720p release.
2017-07-11 21:58:15 +02:00
chibidev
9e3076dde6 I have a feeling I'm breaking the world and bringing the apocalypse
It's quite hard to encapsulate something this large. This refactor
contains multiple attacks on the current architecture and is changing
things that were probably created quite a while back then. Luckily this
was done in increments so it mustn't be that impossible to recall what
has been done. I just need to relax my memory a little bit.

So the basic idea was quite simple. Let's distingush metas and normal
indexers a little bit more. Both of them were originating from
BaseIndexer, however very little of the functionality was actually
shared between them. Actually quite a few things made it even harder to
implement a different kind of indexer, especially for a newcomer for
both Jackett and C#.

Then in order to further reduce whatever was encapsulated in
any kind of, a couple things had to be changed. Like CardigannIndexer,
which probably had quite a mindshift change. IndexerManager and the
configuration management were also encapsulated and refactored, and now
I have a feeling that although the code could be improved, at least the
responsibilities of services and what they actually do is now clearer.

Anyhow, it would be safe to assume that I will not be able to go
step-by-step and define everything that has been changed. I'm sorry.
2017-07-11 21:53:46 +02:00
Khogniak
35103206cf Replace T411 (closed) with YggTorrent (new replacement) (#1536)
* Replaced old T411 with new YggTorrent

* Updated Readme

* Fix testing. Added dynamic path
2017-07-09 18:24:00 +02:00
kaso17
29cf00560f Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-07-08 15:23:40 +02:00
kaso17
9ef9302808 MoreThanTV: fix complete season searching 2017-07-08 15:23:36 +02:00
gprime44
616b436648 Add NextTorrent tracket (#1523)
* Create nexttorrent.yml

init

* Finish definition for next torrent

* Add nexttorrent tracker

* Update README.md
2017-07-08 14:01:21 +02:00
Francis Noel
702e975d57 Add cpasbien tracker (#1527)
* Add cpasbien tracker

* revert project inclusion

* Update README.md
2017-07-08 13:59:34 +02:00
kaso17
6c90016c0c RevolutionTT: ignore donation item 2017-07-08 13:54:37 +02:00
kaso17
90152a7eed The New Retro: fix login 2017-07-06 21:17:50 +02:00
kaso17
dabd95655b Torrent-Syndikat: add auto relogin 2017-07-06 21:16:53 +02:00
kaso17
4f938e3ea8 Add Zamunda.net/Zelka.org 2017-07-06 20:37:29 +02:00
kaso17
f21a721ddb FileList: add auto relogin 2017-07-06 20:31:07 +02:00
kaso17
7d65e60750 Add Zelka.org tracker
Thank you @eybox
2017-07-06 20:21:06 +02:00
kaso17
c87f1b3949 Add Zamunda.net tracker
Thank you @eybox
2017-07-06 20:20:39 +02:00
Luis Almanzar
08b471fd1e Fix title for elements with comments. (#1520)
* Fix title for elements with comments.

* Update nyaasi.yml
2017-07-06 19:38:38 +02:00
chibidev
4a0d2dcc57 Feature/metaindexer torrent download improvement (#1517)
* Line endings...

* Improve download handling of torrents in metas

Until now, downloads were handled by metas, however they had to "guess"
which indexer the result was originating from and resolve to that
indexer. While this has been working without an issue, it really
shouldn't be considered stable.

Therefore indexers now link themselves to the results they provide. In
order to keep my sanity and automate this as much as possible, I had to
slightly modify the interface (sorry, everyone).
2017-07-03 07:15:47 +02:00
chibidev
91eae526f9 Bugfix/1404 fix potato search (#1516)
* Line endings...

* Integrating OMDB into Potato results

Now PotatoController will actually produce results

* VS complains it could be simplified, yet AppVeyor cannot do anything with it...

* How come only Appveyor unveils this error? @drunkvs
2017-07-01 18:23:57 +02:00
chibidev
11fd2db5a5 Bugfix/cannot add cardigann indexers (#1511)
* Line endings...

* Fix invalid ID for cardigann indexers (refactoring regression - my bad)
2017-06-29 20:46:36 +02:00
chibidev
75e7ce81c2 Feature/omdb api integration (#1509)
* Line endings...

* Refactoring how MetaIndexers handle fallbacks

Originally this modification was part of a much larger refactoring,
however for the sake of reviewability I split it into smaller chunks.
Sadly it is still quite large.
I wanted to split it even more, however after a certain point there was
really no value in creating smaller chunks. The biggest part of this
modification would be still huge.

So all in all, there're 3 aspects of this modification
- It modifies BaseIndexer so that it now implements IIndexer (will be
very useful later on)
- Resolving most of the warnings currently in Jackett (the only ones
remaining are related to Autofac, however if I could I would just burn
Autofac altogether rather than fix the warnings. Will open discussion on
this.)
- Biggest part: refactoring how MetaIndexers handle fallbacks and how
they provide the final result set

MetaIndexers now accept any kind of fallback and filtering mechanism
that implements the necessary interface, so that in the future IMDB
fallback and filtering won't be the only one. I know there are not a lot
of unit tests around Jackett at the moment, however this renders the
class much more unittestable as well.

* Integrate OMDB API for the fallback option

* Safeguarding when no API key is specified

* Autofac started complaining... I don't understand...

* How did that not make the previous commit?
2017-06-29 07:53:25 +02:00
chibidev
345602926e Feature/cleaning up aggregate indexer fallback (#1507)
* Line endings...

* Refactoring how MetaIndexers handle fallbacks

Originally this modification was part of a much larger refactoring,
however for the sake of reviewability I split it into smaller chunks.
Sadly it is still quite large.
I wanted to split it even more, however after a certain point there was
really no value in creating smaller chunks. The biggest part of this
modification would be still huge.

So all in all, there're 3 aspects of this modification
- It modifies BaseIndexer so that it now implements IIndexer (will be
very useful later on)
- Resolving most of the warnings currently in Jackett (the only ones
remaining are related to Autofac, however if I could I would just burn
Autofac altogether rather than fix the warnings. Will open discussion on
this.)
- Biggest part: refactoring how MetaIndexers handle fallbacks and how
they provide the final result set

MetaIndexers now accept any kind of fallback and filtering mechanism
that implements the necessary interface, so that in the future IMDB
fallback and filtering won't be the only one. I know there are not a lot
of unit tests around Jackett at the moment, however this renders the
class much more unittestable as well.

* Autofac started complaining... I don't understand...
2017-06-28 07:31:38 +02:00
Rob Nadin
780ea4c631 KickAssTorrent: Fix date parsing (#1502) 2017-06-26 20:08:11 +02:00
chibidev
cf9d87a7d8 Bugfix/1471 aggregate exception when fallback (#1504)
* Line endings...

* Fixes an issue when the aggregate doesn't require fallback

Apparently operating on null with LINQ is not safe :)
- This fixes Jackett/Jackett#1471
2017-06-26 19:46:14 +02:00
kaso17
3f2d6f0cee Add support for non numeric episodes 2017-06-25 18:25:16 +02:00
kaso17
22cf450d07 TorrentDay: fix login 2017-06-25 18:15:12 +02:00
kaso17
8bd7233756 Rarbg: add support for unknown IMDB IDs 2017-06-25 17:37:33 +02:00
kaso17
2807a71e0e DataScene: update to new layout 2017-06-25 17:07:53 +02:00
kaso17
b60bcda109 Rockhard Lossless: update to new layout 2017-06-25 16:56:31 +02:00
kaso17
4d36165cdf Xtreme Zone: update to new layout 2017-06-25 16:42:17 +02:00
hed0nist
44de6e5459 fix incorrect naming rules (#1500)
put the date in the right place
2017-06-25 16:28:31 +02:00
D4rk56
d31c593d4b Domain change .top -> .cc (#1495) 2017-06-23 19:56:21 +02:00
David Dobmeier
0473029277 Resolved null pointer causing searches to fail on RevolutionTT (#1494) 2017-06-23 19:56:03 +02:00
adamwinn
3bef19cbfe Add Blutopia (#1489) 2017-06-23 19:54:09 +02:00
CW2aNmYM0ryJ
79fc4850ed NCore: Add 2factor support (#1465) 2017-06-13 14:00:41 +02:00
D4rk56
7cf24e906a Torrent9: Domain change .biz -> .top (#1462) 2017-06-08 20:49:02 +02:00
kaso17
9870d38cbb Il Corsaro Nero: workaround incomplete CA chain 2017-06-08 11:07:09 +02:00
kaso17
994604271b Merge branch 'master' of https://github.com/Jackett/Jackett.git 2017-06-08 10:34:59 +02:00
kaso17
81f2c7e91c Bit HDTV: adjust code to updated HTML 2017-06-08 10:34:53 +02:00
Mohammed Sohail
b0788e491e [Fix] Redirection errors (#1461)
- The Geeks uses SSL.
2017-06-08 10:32:21 +02:00
kaso17
0faed4e6b0 purge nachtwerk 2017-06-06 19:06:30 +02:00
kaso17
73a3a9aca9 TorrentProject: fix magnet filename encoding issues 2017-06-06 18:53:44 +02:00
kaso17
1dfe9db7da Cardigann: add validfilename and urlencode filters 2017-06-06 18:52:47 +02:00
kaso17
fa56b1d15f Anidex: rever category change 2017-06-06 18:37:47 +02:00
kaso17
b31c5d41ca Greek Team: update definition to handle new column 2017-06-06 18:30:16 +02:00
CodeMonkey
df22e39b4e Anirena: Provide both torrent and magnet download links (#1451)
* Anirena: Add setting for torrent vs magnet

* Switch to just showing both download options

- And remove the explicit setting.
2017-06-06 18:11:11 +02:00
kaso17
08d1e2cc07 remove nachtwerk 2017-06-05 14:22:35 +02:00
kaso17
569558aea5 Kapaki: add search error detection 2017-06-05 14:21:30 +02:00
kaso17
2ceb41324d fix mono 5 detection 2017-06-03 22:09:44 +02:00
kaso17
d95e55137a anidex: add support for custom categories 2017-06-03 21:55:45 +02:00
307 changed files with 15203 additions and 8222 deletions

136
README.md
View File

@@ -1,14 +1,16 @@
# Jackett
# Jackett
[![GitHub issues](https://img.shields.io/github/issues/Jackett/Jackett.svg?maxAge=60&style=flat-square)](https://github.com/Jackett/Jackett/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/Jackett/Jackett.svg?maxAge=60&style=flat-square)](https://github.com/Jackett/Jackett/pulls)
[![Build status](https://ci.appveyor.com/api/projects/status/gaybh5mvyx418nsp?svg=true)](https://ci.appveyor.com/project/camjac251/jackett)
[![Bountysource](https://img.shields.io/bountysource/team/jackett/activity.svg?style=flat-square)](https://www.bountysource.com/teams/jackett)
[![Build status](https://ci.appveyor.com/api/projects/status/gaybh5mvyx418nsp/branch/master?svg=true)](https://ci.appveyor.com/project/camjac251/jackett)
[![Github Releases](https://img.shields.io/github/downloads/Jackett/Jackett/total.svg?maxAge=60&style=flat-square)](https://github.com/Jackett/Jackett/releases/latest)
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/jackett.svg?maxAge=60&style=flat-square)](https://hub.docker.com/r/linuxserver/jackett/)
[![Discord](https://img.shields.io/badge/discord-chat-7289DA.svg?maxAge=60&style=flat-square)](https://discord.gg/J865QuA)
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](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.
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), [DuckieTV](https://github.com/SchizoDuckie/DuckieTV), 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.
@@ -16,33 +18,63 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
#### Supported Systems
* Windows using .NET 4.5
* Linux and OSX using Mono 4 (mono 3 is no longer supported).
* Linux and macOS using Mono 4 (mono 3 is no longer supported).
### Supported Public Trackers
* 1337x
* Anidex
* Anime Tosho
* AniRena
* btbit
* BTDB
* cpasbien
* EZTV
* GkTorrent
* Horrible Subs
* Idope
* Il Corsaro Nero <!-- maintained by bonny1992 -->
* Isohunt
* KickAssTorrent
* KickAssTorrent (kat.how clone)
* KickAssTorrent (thekat.se clone)
* LimeTorrents
* MagnetDL
* NextTorrent
* Nyaa.si
* Nyaa-Pantsu
* Nyoo
* RARBG
* ShowRSS
* Sky torrents
* T411 v2
* The Pirate Bay
* TNTVillage <!-- maintained by bonny1992 -->
* Tokyo Toshokan
* Torlock
* Torrent Downloads
* Torrent9
* TorrentProject
* Torrentz2
* World Wide Torrents
* YTS.ag
* Zooqle
### Supported Semi-Private Trackers
* 7tor
* CzTorrent
* Deildu
* Gay-Torrents.net
* LostFilm.tv
* Metal Tracker
* NetHD
* RuTracker
* SkTorrent
* TorrentBytes
* Xtreme Zone
* YggTorrent
* Ztracker
### Supported Private Trackers
* 2 Fast 4 You
* 3D Torrents
* 7tor
* Abnormal
* Acid-Lounge
* AlphaRatio
@@ -54,12 +86,14 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* ArabaFenice
* Arche Torrent
* AsianDVDClub
* AST4u
* Audiobook Torrents
* Awesome-HD
* Avistaz
* B2S-Share
* Back-ups
* BakaBT [![(invite needed)][inviteneeded]](#)
* bB
* Best Friends
* BeyondHD
* BIGTorrent
* Bit-City Reloaded
@@ -69,12 +103,15 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* BitMeTV
* BitSoup [![(invite needed)][inviteneeded]](#)
* Bitspyder
* BJ-Share
* Blu-bits
* BlueBird
* BroadcastTheNet [![(invite needed)][inviteneeded]](#)
* Blutopia
* BroadcastTheNet
* BrokenStones
* BTNext
* Carpathians
* CGPeers
* CHDBits
* Cinematik
* Cinemageddon
@@ -83,13 +120,13 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* CZTeam
* DanishBits
* DataScene
* Deildu
* Demonoid
* Diablo Torrent
* DigitalHive
* Dragon World (DTW)
* Dragonworld Reloaded
* Dream Team
* EliteHD [![(invite needed)][inviteneeded]](#)
* Elite-Tracker
* EoT-Forum
* eStone
* Ethor.net (Thor's Land)
@@ -100,23 +137,26 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* FunFile
* FunkyTorrents
* Fuzer
* GayTorrent.ru
* GFTracker
* GFXPeers
* Ghost City
* GigaTorrents [![(invite needed)][inviteneeded]](#)
* GigaTorrents
* GimmePeers <!-- maintained by jamesb2147 -->
* GODS [![(invite needed)][inviteneeded]](#)
* Gormogon
* Greek Team
* Hardbay
* HD-Forever
* HD-Only
* HD-Space
* HD-Torrents
* HD-Bits.com
* HD4Free
* HDBits
* HDChina
* HDClub
* HDHome
* HDME
* HDSky
* HDTorrents.it
* Hebits
@@ -134,23 +174,20 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* JPopsuki
* Kapaki
* Karagarga
* Le Paradis Du Net
* LinkoManija
* LosslessClub
* M-Team - TP
* Magico
* Majomparádé
* Majomparádé
* Manicomio Share
* Mononoké-BT
* MoreThanTV
* MyAnonamouse
* myAmity
* MySpleen
* Nachtwerk
* NCore
* Nebulance
* NetHD
* New Real World
* NextGen
* Norbits [![(invite needed)][inviteneeded]](#) <!-- added by DiseaseNO but no longer maintained? -->
* notwhat.cd
* Ourbits
@@ -164,13 +201,10 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* PrivateHD
* Psytorrents
* PTFiles
* QcTorrent
* Redacted (PassTheHeadphones)
* RevolutionTT
* Rockhard Lossless
* RoDVD
* RuTracker
* SceneAccess
* SceneFZ
* SceneTime
* SDBits
@@ -180,9 +214,11 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Shazbat
* Shellife
* SpeedCD
* SpeedTorrent Reloaded
* SportsCult
* SportHD
* Superbits
* Synthesiz3r
* Tasmanit
* The Empire
* The Geeks
@@ -198,18 +234,18 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* TenYardTracker
* Torrent Network
* Torrent Sector Crew
* Torrent411
* Torrent9
* TorrentBD
* TorrentBytes
* TorrentCCF [![(invite needed)][inviteneeded]](#)
* TorrentDay
* Torrentech
* TorrentHeaven
* TorrentHR
* Torrenting
* TorrentLeech
* Torrents.Md
* TorrentVault
* Torrent-Syndikat
* TorViet
* ToTheGlory
* TranceTraffic
* Trezzor
@@ -220,16 +256,16 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Ultimate Gamer Club
* ULTRAHDCLUB
* Waffles
* World-In-HD [![(invite needed)][inviteneeded]](#)
* World-In-HD
* WorldOfP2P
* x264
* XSpeeds
* Xthor
* Xtreme Zone
* Ztracker
* Zamunda.net
* Zelka.org
Trackers marked with [![(invite needed)][inviteneeded]](#) have no active maintainer and are missing features or are broken. If you have an invite for them please send it to kaso1717 -at- gmail.com to get them fixed/improved.
## Installation on Windows
We recommend you install Jackett as a Windows service using the supplied installer. You may also download the zipped version if you would like to configure everything manually.
@@ -245,7 +281,7 @@ To get started with using the installer for Jackett, follow the steps below:
When installed as a service the tray icon acts as a way to open/start/stop Jackett. If you opted to not install it as a service then Jackett will run its web server from the tray tool.
Jackett can also be run from the command line if you would like to see log messages (Ensure the server isn't already running from the tray/service). This can be done by using "JackettConsole.exe" (for Command Prompt), found in the Jackett data folder: "%ProgramData%\Jackett".
Jackett can also be run from the command line if you would like to see log messages (Ensure the server isn't already running from the tray/service). This can be done by using "JackettConsole.exe" (for Command Prompt), found in the Jackett data folder: "%ProgramData%\Jackett".
## Installation on Linux
1. Install [Mono 4](http://www.mono-project.com/download/#download-lin) or better (version 4.8 is recommended)
@@ -259,20 +295,30 @@ Jackett can also be run from the command line if you would like to see log messa
Detailed instructions for [Ubuntu 14.x](http://www.htpcguides.com/install-jackett-on-ubuntu-14-x-for-custom-torrents-in-sonarr/) and [Ubuntu 15.x](http://www.htpcguides.com/install-jackett-ubuntu-15-x-for-custom-torrents-in-sonarr/)
## Installation on OSX
1. Install [Mono 4](http://www.mono-project.com/download/#download-mac) or better (version 4.8 is recommended)
* Setup ssl support by running
```
https://curl.haxx.se/ca/cacert.pem
cert-sync --user ~/Downloads/cacert.pem
```
1. Download and extract the latest `Jackett.Binaries.Mono.tar.gz` release from the [releases page](https://github.com/Jackett/Jackett/releases) and run Jackett using mono with the command `mono --debug JackettConsole.exe`.
If you want to run it with a user without a /home directory you need to add `Environment=XDG_CONFIG_HOME=/path/to/folder` to your systemd file, this folder will be used to store your config files.
## Installation on macOS
### Prerequisites
Install [Mono 4](http://www.mono-project.com/download/#download-mac) or better (version 4.8 is recommended).
* Setup ssl support by running `curl -sS https://curl.haxx.se/ca/cacert.pem | cert-sync --user /dev/stdin`
### Install as service
1. Download and extract the latest `Jackett.Binaries.Mono.tar.gz` release from the [releases page](https://github.com/Jackett/Jackett/releases).
2. Open the extracted folder and double-click on `install_service_macos`.
3. If the installation was a success, you can close the Terminal window.
The service will start on each logon. You can always stop it by running `launchctl unload ~/Library/LaunchAgents/org.user.Jackett.plist` from Terminal. You can start it again it using `launchctl load ~/Library/LaunchAgents/org.user.Jackett.plist`.
Logs are stored as usual under `~/.config/Jackett/log.txt`.
### Run without installing as a service
Download and extract the latest `Jackett.Binaries.Mono.tar.gz` release from the [releases page](https://github.com/Jackett/Jackett/releases) and run Jackett using mono with the command `mono --debug JackettConsole.exe`.
## Installation using Docker
Detailed instructions are available at [LinuxServer.io Jackett Docker](https://hub.docker.com/r/linuxserver/jackett/). The Jackett Docker is highly recommended, especially if you are having Mono stability issues or having issues running Mono on your system eg. QNAP, Synology. Thanks to [LinuxServer.io](https://linuxserver.io)
## Installation on Synology
Jackett is available as beta package from [SynoCommuniy](https://synocommunity.com/)
Jackett is available as beta package from [SynoCommunity](https://synocommunity.com/)
## Troubleshooting
@@ -280,20 +326,18 @@ Jackett is available as beta package from [SynoCommuniy](https://synocommunity.c
You can pass various options when running via the command line, see --help for details.
* __Unable to connect to trackers with invalid SSL certificates__
* __Error "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."__
If you're using mono this is often caused by missing ca-certificates.
This is often caused by missing CA certificates.
Try reimporting the certificates in this case:
`wget -O - https://curl.haxx.se/ca/cacert.pem | cert-sync /dev/stdin`
As a option of last resort you can disable certificate validation using the `--IgnoreSslErrors true` option but it's not recommended to use it as it enables Man-in-the-middle attacks on your connections.
- On Linux (as user root): `wget -O - https://curl.haxx.se/ca/cacert.pem | cert-sync /dev/stdin`
- On macOS: `curl -sS https://curl.haxx.se/ca/cacert.pem | cert-sync --user /dev/stdin`
* __Enable logging__
You can get additional logging with the command line switches `-t -l` or by enabeling `Enhanced logging` via the web interface.
You can get additional logging with the command line switches `-t -l` or by enabling `Enhanced logging` via the web interface.
Please post logs if you are unable to resolve your issue with these switches ensuring to remove your username/password/cookies.
The logfiles (log.txt/updater.txt) are stored in `%ProgramData%\Jackett` on Windows and `~/.config/Jackett/` on Linux/OSX.
The logfiles (log.txt/updater.txt) are stored in `%ProgramData%\Jackett` on Windows and `~/.config/Jackett/` on Linux/macOS.
## Creating an issue
Please supply as much information about the problem you are experiencing as possible. Your issue has a much greater chance of being resolved if logs are supplied so that we can see what is going on. Creating an issue with '### isn't working' doesn't help anyone to fix the problem.

View File

@@ -94,8 +94,14 @@
<MonoDevelop>
<Properties>
<Policies>
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
<CSharpFormattingPolicy IndentSwitchBody="True" IndentBlocksInsideExpressions="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="DoNotCare" ArrayInitializerWrapping="DoNotChange" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" NewLineBeforeConstructorInitializerColon="NewLine" NewLineAfterConstructorInitializerColon="SameLine" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
<TextStylePolicy TabWidth="4" IndentWidth="4" RemoveTrailingWhitespace="True" NoTabsAfterNonTabs="False" EolMarker="Native" FileWidth="80" TabsToSpaces="True" scope="text/x-csharp">
<inheritsSet />
<inheritsScope />
</TextStylePolicy>
<CSharpFormattingPolicy IndentBlock="True" IndentBraces="False" IndentSwitchSection="False" IndentSwitchCaseSection="True" LabelPositioning="OneLess" NewLinesForBracesInTypes="True" NewLinesForBracesInMethods="True" NewLinesForBracesInProperties="False" NewLinesForBracesInAccessors="False" NewLinesForBracesInAnonymousMethods="False" NewLinesForBracesInControlBlocks="False" NewLinesForBracesInAnonymousTypes="False" NewLinesForBracesInObjectCollectionArrayInitializers="False" NewLinesForBracesInLambdaExpressionBody="False" NewLineForElse="False" NewLineForCatch="False" NewLineForFinally="False" NewLineForMembersInObjectInit="False" NewLineForMembersInAnonymousTypes="False" NewLineForClausesInQuery="False" SpacingAfterMethodDeclarationName="True" SpaceWithinMethodDeclarationParenthesis="False" SpaceBetweenEmptyMethodDeclarationParentheses="False" SpaceAfterMethodCallName="True" SpaceWithinMethodCallParentheses="False" SpaceBetweenEmptyMethodCallParentheses="False" SpaceAfterControlFlowStatementKeyword="True" SpaceWithinExpressionParentheses="False" SpaceWithinCastParentheses="False" SpaceWithinOtherParentheses="False" SpaceAfterCast="False" SpacesIgnoreAroundVariableDeclaration="False" SpaceBeforeOpenSquareBracket="True" SpaceBetweenEmptySquareBrackets="False" SpaceWithinSquareBrackets="False" SpaceAfterColonInBaseTypeDeclaration="True" SpaceAfterComma="True" SpaceAfterDot="False" SpaceAfterSemicolonsInForStatement="True" SpaceBeforeColonInBaseTypeDeclaration="True" SpaceBeforeComma="False" SpaceBeforeDot="False" SpaceBeforeSemicolonsInForStatement="False" SpacingAroundBinaryOperator="Single" WrappingPreserveSingleLine="True" WrappingKeepStatementsOnSingleLine="True" PlaceSystemDirectiveFirst="True" scope="text/x-csharp">
<inheritsSet />
<inheritsScope />
</CSharpFormattingPolicy>
</Policies>
</Properties>
</MonoDevelop>

View File

@@ -60,7 +60,7 @@ namespace Jackett.Console
[Option('n', "IgnoreSslErrors", HelpText = "[true/false] Ignores invalid SSL certificates")]
public bool? IgnoreSslErrors { get; set; }
[Option('d', "DataFolder", HelpText = "Specify the location of the data folder (Must be admin on Windows) eg. --DataFolder=\"D:\\Your Data\\Jackett\\\"")]
[Option('d', "DataFolder", HelpText = "Specify the location of the data folder (Must be admin on Windows) eg. --DataFolder=\"D:\\Your Data\\Jackett\\\". Don't use this on Unix (mono) systems. On Unix just adjust the HOME directory of the user to the datedir or set the XDG_CONFIG_HOME environment variable.")]
public string DataFolder { get; set; }
[Option(HelpText = "Don't restart after update")]

View File

@@ -153,6 +153,9 @@
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<Content Include="install_service_macos">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CurlSharp\CurlSharp.csproj">
@@ -182,4 +185,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

View File

@@ -0,0 +1,76 @@
#!/bin/bash
#Setting up colors
BOLDRED="$(printf '\033[1;31m')"
BOLDGREEN="$(printf '\033[1;32m')"
NC="$(printf '\033[0m')" # No Color
# Stop and unload the service if it's running
launchctl remove org.user.Jackett
# Move working directory to Jackett's
cd "$(dirname "$0")"
# Check if we're running from Jackett's directory
if [ ! -f ./JackettConsole.exe ]; then
echo "${BOLDRED}ERROR${NC}: Couldn't locate JackettConsole.exe. Is the script in the right directory?"
exit 1
fi
jackettdir="$(pwd)"
# Check if mono is installed
command -v mono >/dev/null 2>&1 || { echo >&2 "${BOLDRED}ERROR${NC}: Jackett requires Mono but it's not installed. Aborting."; exit 1; }
monodir="$(dirname $(command -v mono))"
# Check that no other service called Jackett is already running
if [[ $(launchctl list | grep org.user.Jackett) ]]; then
echo "${BOLDRED}ERROR${NC}: Jackett already seems to be running as a service. Please stop it before running this script again."
exit 1
fi
# Write the plist to LaunchAgents
cat >~/Library/LaunchAgents/org.user.Jackett.plist <<EOL
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:${monodir}</string>
</dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>org.user.Jackett</string>
<key>ProgramArguments</key>
<array>
<string>${monodir}/mono</string>
<string>--debug</string>
<string>JackettConsole.exe</string>
<string>--NoRestart</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>${jackettdir}</string>
</dict>
</plist>
EOL
# Run the agent
launchctl load ~/Library/LaunchAgents/org.user.Jackett.plist
# Check that it's running
if [[ $(launchctl list | grep org.user.Jackett) ]]; then
echo "${BOLDGREEN}Agent successfully installed and launched!${NC}"
else
cat << EOL
${BOLDRED}ERROR${NC}: Could not launch agent. The installation might have failed.
Please open an issue on https://github.com/Jackett/Jackett/issues and paste following information:
Mono directory: \`${monodir}\`
Jackett directory: \`${jackettdir}\`
EOL
fi

View File

@@ -28,7 +28,12 @@ namespace JackettTest
throw new NotImplementedException();
}
public void InitIndexers()
public IWebIndexer GetWebIndexer(string name)
{
throw new NotImplementedException();
}
public void InitIndexers(IEnumerable<string> path)
{
throw new NotImplementedException();
}
@@ -43,16 +48,6 @@ namespace JackettTest
throw new NotImplementedException();
}
public void InitCardigannIndexers(string path)
{
throw new NotImplementedException();
}
public void SortIndexers()
{
throw new NotImplementedException();
}
public void InitAggregateIndexer()
{
throw new NotImplementedException();

View File

@@ -76,7 +76,7 @@ namespace Jackett.Updater
#endif
*/
}
catch (ArgumentException e)
catch (ArgumentException)
{
Engine.Logger.Info("Process " + pid.ToString() + " is already dead");
}
@@ -185,7 +185,17 @@ namespace Jackett.Updater
"Definitions/rarbg.yml",
"Definitions/t411.yml",
"Definitions/hdbc.yml", // renamed to hdbitscom
"Definitions/maniatorrent.yml",
"Definitions/nyaa.yml",
"Definitions/nachtwerk.yml",
"Definitions/leparadisdunet.yml",
"Definitions/qctorrent.yml",
"Definitions/dragonworld.yml",
"Definitions/hdclub.yml",
"Definitions/polishtracker.yml",
"Definitions/zetorrents.yml",
"Definitions/rapidetracker.yml",
"Definitions/isohunt.yml",
};
foreach (var oldFIle in oldFiles)

View File

@@ -66,9 +66,9 @@ Global
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0
$0.TextStylePolicy = $1
$1.inheritsSet = VisualStudio
$1.inheritsScope = text/plain
$1.scope = text/x-csharp
$1.TabsToSpaces = True
$1.EolMarker = Unix
$0.CSharpFormattingPolicy = $2
$2.IndentSwitchBody = True
$2.IndentBlocksInsideExpressions = True
@@ -94,8 +94,27 @@ Global
$2.BeforeDelegateDeclarationParentheses = False
$2.NewParentheses = False
$2.SpacesBeforeBrackets = False
$2.inheritsSet = Mono
$2.inheritsScope = text/x-csharp
$2.scope = text/x-csharp
$2.IndentSwitchSection = True
$2.NewLinesForBracesInProperties = True
$2.NewLinesForBracesInAccessors = True
$2.NewLinesForBracesInAnonymousMethods = True
$2.NewLinesForBracesInControlBlocks = True
$2.NewLinesForBracesInAnonymousTypes = True
$2.NewLinesForBracesInObjectCollectionArrayInitializers = True
$2.NewLinesForBracesInLambdaExpressionBody = True
$2.NewLineForElse = True
$2.NewLineForCatch = True
$2.NewLineForFinally = True
$2.NewLineForMembersInObjectInit = True
$2.NewLineForMembersInAnonymousTypes = True
$2.NewLineForClausesInQuery = True
$2.SpacingAfterMethodDeclarationName = False
$2.SpaceAfterMethodCallName = False
$2.SpaceBeforeOpenSquareBracket = False
$0.TextStylePolicy = $3
$3.FileWidth = 80
$3.TabsToSpaces = True
$3.scope = text/plain
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1 @@
span.multiselect-native-select{position:relative}span.multiselect-native-select select{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px -1px -1px -3px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;left:50%;top:30px}.multiselect-container{position:absolute;list-style-type:none;margin:0;padding:0}.multiselect-container .input-group{margin:5px}.multiselect-container>li{padding:0}.multiselect-container>li>a.multiselect-all label{font-weight:700}.multiselect-container>li.multiselect-group label{margin:0;padding:3px 20px 3px 20px;height:100%;font-weight:700}.multiselect-container>li.multiselect-group-clickable label{cursor:pointer}.multiselect-container>li>a{padding:0}.multiselect-container>li>a>label{margin:0;height:100%;cursor:pointer;font-weight:400;padding:3px 20px 3px 40px}.multiselect-container>li>a>label.radio,.multiselect-container>li>a>label.checkbox{margin:0}.multiselect-container>li>a>label>input[type=checkbox]{margin-bottom:5px}.btn-group>.btn-group:nth-child(2)>.multiselect.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.form-inline .multiselect-container label.checkbox,.form-inline .multiselect-container label.radio{padding:3px 20px 3px 40px}.form-inline .multiselect-container li a label.checkbox input[type=checkbox],.form-inline .multiselect-container li a label.radio input[type=radio]{margin-left:-20px;margin-right:0}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,89 @@
var api = {
version: "2.0",
root: "/api",
key: "",
getApiPath: function(category, action) {
var path = this.root + "/v" + this.version + "/" + category;
if (action !== undefined)
path = path + "/" + action
return path;
},
getAllIndexers: function(callback) {
return $.get(this.getApiPath("indexers"), callback);
},
getServerConfig: function(callback) {
return $.get(this.getApiPath("server", "config"), callback);
},
getIndexerConfig: function(indexerId, callback) {
return $.get(this.getApiPath("indexers", indexerId + "/config"), callback);
},
updateIndexerConfig: function(indexerId, config, callback) {
return $.ajax({
url: this.getApiPath("indexers", indexerId + "/config"),
type: 'POST',
data: JSON.stringify(config),
dataType: 'json',
contentType: 'application/json',
cache: false,
success: callback
});
},
deleteIndexer: function(indexerId, callback) {
return $.ajax({
url: this.getApiPath("indexers", indexerId),
type: 'DELETE',
cache: false,
success: callback
});
},
testIndexer: function(indexerId, callback) {
return $.post(this.getApiPath("indexers", indexerId + "/test"), callback);
},
resultsForIndexer: function(indexerId, query, callback) {
return $.get(this.getApiPath("indexers", indexerId + "/results?apikey=" + this.key), query, callback);
},
getServerCache: function(callback) {
return $.get(this.getApiPath("indexers", "cache"), callback);
},
getServerLogs: function(callback) {
return $.get(this.getApiPath("server", "logs"), callback);
},
updateServerConfig: function(serverConfig, callback) {
return $.ajax({
url: this.getApiPath("server", "config"),
type: 'POST',
data: JSON.stringify(serverConfig),
dataType: 'json',
contentType: 'application/json',
cache: false,
success: callback
});
},
updateServer: function(callback) {
return $.post(this.getApiPath("server", "update"), callback);
},
updateAdminPassword: function(password, callback) {
return $.ajax({
url: this.getApiPath("server", "adminpassword"),
type: 'POST',
data: JSON.stringify(password),
dataType: 'json',
contentType: 'application/json',
cache: false,
success: callback
});
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,120 +0,0 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<script src="jquery-2.1.3.min.js"></script>
<script src="common.js"></script>
<style>
#formItemTemplateContainer {
display: none;
}
</style>
<title></title>
</head>
<body>
<script>
$(function () {
var urlParams = getUrlParams();
var jqxhr = $.post("get_config_form", JSON.stringify({ indexer: urlParams.indexer }), function (data) {
populateForm(data.config);
})
.fail(function () {
alert("error");
});
$("#loginButton").click(function () {
var data = { indexer: urlParams.indexer, config: {} };
$("#formItems").children().each(function (i, item) {
var $item = $(item);
var type = $item.data("type");
var id = $item.data("id");
var $valEl = $item.find(".formItemValue").children().first();
switch (type) {
case "inputstring":
data.config[id] = $valEl.val();
break;
case "inputbool":
data.config[id] = $valEl.val();
break;
case "inputselect":
data.config[id] = $valEl.val();
break;
}
});
var jqxhr = $.post("configure_indexer", JSON.stringify(data), function (data) {
if (data.result == "error") {
if (data.config) {
populateForm(data.config);
}
alert(data.error);
}
})
.fail(function () {
alert("error");
});
});
});
function populateForm(data) {
$("#formItems").empty();
for (var i = 0; i < data.length; i++) {
$("#formItems").append(createFormItem(data[i]));
}
}
function createFormItem(itemData) {
var $template = $("#formItemTemplate").clone();
$template.attr("id", "item" + itemData.id);
$template.data("id", itemData.id);
$template.data("type", itemData.type);
$template.attr("data-type", itemData.type);
$template.data("value", itemData.value);
$template.find(".formItemName").text(itemData.name);
$valueElement = $template.find(".formItemValue");
switch (itemData.type) {
case "inputstring":
$valueElement.append($("<input type='text'></input>").val(itemData.value));
break;
case "inputbool":
$valueElement.append($("<input type='checkbox'></input>").prop("checked", itemData.value));
break;
case "displayimage":
$valueElement.append($("<img src='" + itemData.value + "'>"));
break;
case "displayinfo":
$valueElement.append($("<span></span>").text(itemData.value));
break;
}
return $template;
}
</script>
<div id="formItems">
</div>
<button id="loginButton">Login</button>
<div id="formItemTemplateContainer">
<div id="formItemTemplate">
<div class="formItemName"></div>
<div class="formItemValue"></div>
</div>
</div>
</body>
</html>

View File

@@ -1,595 +0,0 @@
using Autofac;
using AutoMapper;
using Jackett.Indexers;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NLog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Results;
using System.Web.Security;
using System.Windows.Forms;
namespace Jackett.Controllers
{
[RoutePrefix("admin")]
[JackettAuthorized]
[JackettAPINoCache]
public class AdminController : ApiController
{
private IConfigurationService config;
private IIndexerManagerService indexerService;
private IServerService serverService;
private ISecuityService securityService;
private IProcessService processService;
private ICacheService cacheService;
private Logger logger;
private ILogCacheService logCache;
private IUpdateService updater;
public AdminController(IConfigurationService config, IIndexerManagerService i, IServerService ss, ISecuityService s, IProcessService p, ICacheService c, Logger l, ILogCacheService lc, IUpdateService u)
{
this.config = config;
indexerService = i;
serverService = ss;
securityService = s;
processService = p;
cacheService = c;
logger = l;
logCache = lc;
updater = u;
}
private async Task<JToken> ReadPostDataJson()
{
var content = await Request.Content.ReadAsStringAsync();
return JObject.Parse(content);
}
private HttpResponseMessage GetFile(string path)
{
var result = new HttpResponseMessage(HttpStatusCode.OK);
var mappedPath = Path.Combine(config.GetContentFolder(), path);
var stream = new FileStream(mappedPath, FileMode.Open, FileAccess.Read, FileShare.Read);
result.Content = new StreamContent(stream);
result.Content.Headers.ContentType = new MediaTypeHeaderValue(MimeMapping.GetMimeMapping(mappedPath));
return result;
}
[HttpGet]
[AllowAnonymous]
public RedirectResult Logout()
{
var ctx = Request.GetOwinContext();
var authManager = ctx.Authentication;
authManager.SignOut("ApplicationCookie");
return Redirect("Admin/Dashboard");
}
[HttpGet]
[HttpPost]
[AllowAnonymous]
public async Task<HttpResponseMessage> Dashboard()
{
if (Request.RequestUri.Query != null && Request.RequestUri.Query.Contains("logout"))
{
var file = GetFile("login.html");
securityService.Logout(file);
return file;
}
if (securityService.CheckAuthorised(Request))
{
return GetFile("index.html");
}
else
{
var formData = await Request.Content.ReadAsFormDataAsync();
if (formData != null && securityService.HashPassword(formData["password"]) == serverService.Config.AdminPassword)
{
var file = GetFile("index.html");
securityService.Login(file);
return file;
}
else
{
return GetFile("login.html");
}
}
}
[Route("set_admin_password")]
[HttpPost]
public async Task<IHttpActionResult> SetAdminPassword()
{
var jsonReply = new JObject();
try
{
var postData = await ReadPostDataJson();
var password = (string)postData["password"];
if (string.IsNullOrEmpty(password))
{
serverService.Config.AdminPassword = string.Empty;
}
else
{
serverService.Config.AdminPassword = securityService.HashPassword(password);
}
serverService.SaveConfig();
jsonReply["result"] = "success";
}
catch (Exception ex)
{
logger.Error(ex, "Exception in SetAdminPassword");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("get_config_form")]
[HttpPost]
public async Task<IHttpActionResult> GetConfigForm()
{
var jsonReply = new JObject();
try
{
var postData = await ReadPostDataJson();
var indexer = indexerService.GetIndexer((string)postData["indexer"]);
var config = await indexer.GetConfigurationForSetup();
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)
{
logger.Error(ex, "Exception in GetConfigForm");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("configure_indexer")]
[HttpPost]
public async Task<IHttpActionResult> Configure()
{
var jsonReply = new JObject();
IIndexer indexer = null;
try
{
var postData = await ReadPostDataJson();
string indexerString = (string)postData["indexer"];
indexer = indexerService.GetIndexer((string)postData["indexer"]);
jsonReply["name"] = indexer.DisplayName;
var configurationResult = await indexer.ApplyConfiguration(postData["config"]);
if (configurationResult == IndexerConfigurationStatus.RequiresTesting)
{
await indexerService.TestIndexer((string)postData["indexer"]);
}
else if (configurationResult == IndexerConfigurationStatus.Failed)
{
throw new Exception("Configuration Failed");
}
jsonReply["result"] = "success";
}
catch (Exception ex)
{
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
var baseIndexer = indexer as BaseIndexer;
if (null != baseIndexer)
baseIndexer.ResetBaseConfig();
if (ex is ExceptionWithConfigData)
{
jsonReply["config"] = ((ExceptionWithConfigData)ex).ConfigData.ToJson(null,false);
}
else
{
logger.Error(ex, "Exception in Configure");
}
}
return Json(jsonReply);
}
[Route("get_indexers")]
[HttpGet]
public IHttpActionResult Indexers()
{
var jsonReply = new JObject();
try
{
jsonReply["result"] = "success";
JArray items = new JArray();
foreach (var indexer in indexerService.GetAllIndexers())
{
var item = new JObject();
item["id"] = indexer.ID;
item["name"] = indexer.DisplayName;
item["description"] = indexer.DisplayDescription;
item["type"] = indexer.Type;
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();
foreach (var cap in indexer.TorznabCaps.Categories)
caps[cap.ID.ToString()] = cap.Name;
item["caps"] = caps;
items.Add(item);
}
jsonReply["items"] = items;
}
catch (Exception ex)
{
logger.Error(ex, "Exception in get_indexers");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("test_indexer")]
[HttpPost]
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"] = indexer.DisplayName;
jsonReply["result"] = "success";
indexer.LastError = null;
}
catch (Exception ex)
{
var msg = ex.Message;
if (ex.InnerException != null)
msg += ": " + ex.InnerException.Message;
logger.Error(ex, "Exception in test_indexer");
jsonReply["result"] = "error";
jsonReply["error"] = msg;
if (indexer != null)
indexer.LastError = msg;
}
return Json(jsonReply);
}
[Route("delete_indexer")]
[HttpPost]
public async Task<IHttpActionResult> Delete()
{
var jsonReply = new JObject();
try
{
var postData = await ReadPostDataJson();
string indexerString = (string)postData["indexer"];
indexerService.DeleteIndexer(indexerString);
}
catch (Exception ex)
{
logger.Error(ex, "Exception in delete_indexer");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("trigger_update")]
[HttpGet]
public IHttpActionResult TriggerUpdates()
{
var jsonReply = new JObject();
updater.CheckForUpdatesNow();
return Json(jsonReply);
}
[Route("get_jackett_config")]
[HttpGet]
public IHttpActionResult GetConfig()
{
var jsonReply = new JObject();
try
{
var cfg = new JObject();
cfg["notices"] = JToken.FromObject(serverService.notices);
cfg["port"] = serverService.Config.Port;
cfg["external"] = serverService.Config.AllowExternal;
cfg["api_key"] = serverService.Config.APIKey;
cfg["blackholedir"] = serverService.Config.BlackholeDir;
cfg["updatedisabled"] = serverService.Config.UpdateDisabled;
cfg["prerelease"] = serverService.Config.UpdatePrerelease;
cfg["password"] = string.IsNullOrEmpty(serverService.Config.AdminPassword) ? string.Empty : serverService.Config.AdminPassword.Substring(0, 10);
cfg["logging"] = Startup.TracingEnabled;
cfg["basepathoverride"] = serverService.Config.BasePathOverride;
jsonReply["config"] = cfg;
jsonReply["app_version"] = config.GetVersion();
jsonReply["result"] = "success";
}
catch (Exception ex)
{
logger.Error(ex, "Exception in get_jackett_config");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("set_config")]
[HttpPost]
public async Task<IHttpActionResult> SetConfig()
{
var originalPort = Engine.Server.Config.Port;
var originalAllowExternal = Engine.Server.Config.AllowExternal;
var jsonReply = new JObject();
try
{
var postData = await ReadPostDataJson();
int port = (int)postData["port"];
bool external = (bool)postData["external"];
string saveDir = (string)postData["blackholedir"];
bool updateDisabled = (bool)postData["updatedisabled"];
bool preRelease = (bool)postData["prerelease"];
bool logging = (bool)postData["logging"];
string basePathOverride = (string)postData["basepathoverride"];
Engine.Server.Config.UpdateDisabled = updateDisabled;
Engine.Server.Config.UpdatePrerelease = preRelease;
Engine.Server.Config.BasePathOverride = basePathOverride;
Startup.BasePath = Engine.Server.BasePath();
Engine.Server.SaveConfig();
Engine.SetLogLevel(logging ? LogLevel.Debug : LogLevel.Info);
Startup.TracingEnabled = logging;
if (port != Engine.Server.Config.Port || external != Engine.Server.Config.AllowExternal)
{
if (ServerUtil.RestrictedPorts.Contains(port))
{
jsonReply["result"] = "error";
jsonReply["error"] = "The port you have selected is restricted, try a different one.";
return Json(jsonReply);
}
// Save port to the config so it can be picked up by the if needed when running as admin below.
Engine.Server.Config.AllowExternal = external;
Engine.Server.Config.Port = port;
Engine.Server.SaveConfig();
// On Windows change the url reservations
if (System.Environment.OSVersion.Platform != PlatformID.Unix)
{
if (!ServerUtil.IsUserAdministrator())
{
try
{
processService.StartProcessAndLog(Application.ExecutablePath, "--ReserveUrls", true);
}
catch
{
Engine.Server.Config.Port = originalPort;
Engine.Server.Config.AllowExternal = originalAllowExternal;
Engine.Server.SaveConfig();
jsonReply["result"] = "error";
jsonReply["error"] = "Failed to acquire admin permissions to reserve the new port.";
return Json(jsonReply);
}
}
else
{
serverService.ReserveUrls(true);
}
}
(new Thread(() =>
{
Thread.Sleep(500);
serverService.Stop();
Engine.BuildContainer();
Engine.Server.Initalize();
Engine.Server.Start();
})).Start();
}
if (saveDir != Engine.Server.Config.BlackholeDir)
{
if (!string.IsNullOrEmpty(saveDir))
{
if (!Directory.Exists(saveDir))
{
throw new Exception("Blackhole directory does not exist");
}
}
Engine.Server.Config.BlackholeDir = saveDir;
Engine.Server.SaveConfig();
}
jsonReply["result"] = "success";
jsonReply["port"] = port;
jsonReply["external"] = external;
}
catch (Exception ex)
{
logger.Error(ex, "Exception in set_port");
jsonReply["result"] = "error";
jsonReply["error"] = ex.Message;
}
return Json(jsonReply);
}
[Route("GetCache")]
[HttpGet]
public List<TrackerCacheResult> GetCache()
{
var results = cacheService.GetCachedResults();
ConfigureCacheResults(results);
return results;
}
private void ConfigureCacheResults(List<TrackerCacheResult> results)
{
var serverUrl = string.Format("{0}://{1}:{2}{3}", Request.RequestUri.Scheme, Request.RequestUri.Host, Request.RequestUri.Port, serverService.BasePath());
foreach (var result in results)
{
var link = result.Link;
result.Link = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "dl", result.Title + ".torrent");
if (result.Link != null && result.Link.Scheme != "magnet" && !string.IsNullOrWhiteSpace(Engine.Server.Config.BlackholeDir))
result.BlackholeLink = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "bh", string.Empty);
}
}
[Route("GetLogs")]
[HttpGet]
public List<CachedLog> GetLogs()
{
return logCache.Logs;
}
[Route("Search")]
[HttpPost]
public ManualSearchResult Search([FromBody]AdminSearch value)
{
var results = new List<TrackerCacheResult>();
var stringQuery = new TorznabQuery();
var queryStr = value.Query;
if (queryStr != null)
{
var seasonMatch = Regex.Match(queryStr, @"S(\d{2,4})");
if (seasonMatch.Success)
{
stringQuery.Season = int.Parse(seasonMatch.Groups[1].Value);
queryStr = queryStr.Remove(seasonMatch.Index, seasonMatch.Length);
}
var episodeMatch = Regex.Match(queryStr, @"E(\d{2,4})");
if (episodeMatch.Success)
{
stringQuery.Episode = episodeMatch.Groups[1].Value;
queryStr = queryStr.Remove(episodeMatch.Index, episodeMatch.Length);
}
queryStr = queryStr.Trim();
}
stringQuery.SearchTerm = queryStr;
stringQuery.Categories = value.Category == 0 ? new int[0] : new int[1] { value.Category };
stringQuery.ExpandCatsToSubCats();
// try to build an IMDB Query
var imdbID = ParseUtil.GetFullImdbID(stringQuery.SanitizedSearchTerm);
TorznabQuery imdbQuery = null;
if (imdbID != null)
{
imdbQuery = new TorznabQuery()
{
ImdbID = imdbID,
Categories = stringQuery.Categories,
Season = stringQuery.Season,
Episode = stringQuery.Episode,
};
imdbQuery.ExpandCatsToSubCats();
}
var trackers = indexerService.GetAllIndexers().Where(t => t.IsConfigured).ToList();
if (!string.IsNullOrWhiteSpace(value.Tracker))
{
trackers = trackers.Where(t => t.ID == value.Tracker).ToList();
}
if (value.Category != 0)
{
trackers = trackers.Where(t => t.TorznabCaps.Categories.Select(c => c.ID).Contains(value.Category)).ToList();
}
Parallel.ForEach(trackers.ToList(), new ParallelOptions { MaxDegreeOfParallelism = 1000 }, indexer =>
{
try
{
var query = stringQuery;
// use imdb Query for trackers which support it
if (imdbQuery != null && indexer.TorznabCaps.SupportsImdbSearch)
query = imdbQuery;
var searchResults = indexer.PerformQuery(query).Result;
searchResults = indexer.CleanLinks(searchResults);
cacheService.CacheRssResults(indexer, searchResults);
searchResults = indexer.FilterResults(query, searchResults);
foreach (var result in searchResults)
{
var item = Mapper.Map<TrackerCacheResult>(result);
item.Tracker = indexer.DisplayName;
item.TrackerId = indexer.ID;
item.Peers = item.Peers - item.Seeders; // Use peers as leechers
lock (results)
{
results.Add(item);
}
}
}
catch (Exception e)
{
logger.Error(e, "An error occured during manual search on " + indexer.DisplayName + ": " + e.Message);
}
});
ConfigureCacheResults(results);
if (trackers.Count > 1)
{
results = results.OrderByDescending(d => d.PublishDate).ToList();
}
var manualResult = new ManualSearchResult()
{
Results = results,
Indexers = trackers.Select(t => t.DisplayName).ToList()
};
if (manualResult.Indexers.Count == 0)
manualResult.Indexers = new List<string>() { "None" };
logger.Info(string.Format("Manual search for \"{0}\" on {1} with {2} results.", stringQuery.GetQueryString(), string.Join(", ", manualResult.Indexers), manualResult.Results.Count));
return manualResult;
}
}
}

View File

@@ -1,4 +1,5 @@
using Jackett.Services;
using Jackett.Utils;
using Newtonsoft.Json.Linq;
using NLog;
using System;
@@ -22,34 +23,36 @@ namespace Jackett.Controllers
private Logger logger;
private IIndexerManagerService indexerService;
IServerService serverService;
IProtectionService protectionService;
public BlackholeController(IIndexerManagerService i, Logger l, IServerService s)
public BlackholeController(IIndexerManagerService i, Logger l, IServerService s, IProtectionService ps)
{
logger = l;
indexerService = i;
serverService = s;
protectionService = ps;
}
[HttpGet]
public async Task<IHttpActionResult> Blackhole(string indexerID, string path, string apikey)
public async Task<IHttpActionResult> Blackhole(string indexerID, string path, string jackett_apikey, string file)
{
var jsonReply = new JObject();
try
{
var indexer = indexerService.GetIndexer(indexerID);
var indexer = indexerService.GetWebIndexer(indexerID);
if (!indexer.IsConfigured)
{
logger.Warn(string.Format("Rejected a request to {0} which is unconfigured.", indexer.DisplayName));
throw new Exception("This indexer is not configured.");
}
if (serverService.Config.APIKey != apikey)
if (serverService.Config.APIKey != jackett_apikey)
throw new Exception("Incorrect API key");
var remoteFile = new Uri(Encoding.UTF8.GetString(HttpServerUtility.UrlTokenDecode(path)), UriKind.RelativeOrAbsolute);
remoteFile = indexer.UncleanLink(remoteFile);
path = Encoding.UTF8.GetString(HttpServerUtility.UrlTokenDecode(path));
path = protectionService.UnProtect(path);
var remoteFile = new Uri(path, UriKind.RelativeOrAbsolute);
var downloadBytes = await indexer.Download(remoteFile);
if (string.IsNullOrWhiteSpace(Engine.Server.Config.BlackholeDir))
@@ -62,7 +65,12 @@ namespace Jackett.Controllers
throw new Exception("Blackhole directory does not exist: " + Engine.Server.Config.BlackholeDir);
}
var fileName = DateTime.Now.Ticks + ".torrent";
var fileName = DateTime.Now.Ticks.ToString() + "-" + StringUtil.MakeValidFileName(indexer.DisplayName, '_', false);
if (string.IsNullOrWhiteSpace(file))
fileName += ".torrent";
else
fileName += "-"+StringUtil.MakeValidFileName(file, '_', false); // call MakeValidFileName() again to avoid any possibility of path traversal attacks
File.WriteAllBytes(Path.Combine(Engine.Server.Config.BlackholeDir, fileName), downloadBytes);
jsonReply["result"] = "success";
}

View File

@@ -11,6 +11,7 @@ using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using MonoTorrent.BEncoding;
using Jackett.Utils;
namespace Jackett.Controllers
{
@@ -21,20 +22,22 @@ namespace Jackett.Controllers
Logger logger;
IIndexerManagerService indexerService;
IServerService serverService;
IProtectionService protectionService;
public DownloadController(IIndexerManagerService i, Logger l, IServerService s)
public DownloadController(IIndexerManagerService i, Logger l, IServerService s, IProtectionService ps)
{
logger = l;
indexerService = i;
serverService = s;
protectionService = ps;
}
[HttpGet]
public async Task<HttpResponseMessage> Download(string indexerID, string path, string apikey, string file)
public async Task<HttpResponseMessage> Download(string indexerID, string path, string jackett_apikey, string file)
{
try
{
var indexer = indexerService.GetIndexer(indexerID);
var indexer = indexerService.GetWebIndexer(indexerID);
if (!indexer.IsConfigured)
{
@@ -43,31 +46,24 @@ namespace Jackett.Controllers
}
path = Encoding.UTF8.GetString(HttpServerUtility.UrlTokenDecode(path));
path = protectionService.UnProtect(path);
if (serverService.Config.APIKey != apikey)
if (serverService.Config.APIKey != jackett_apikey)
return new HttpResponseMessage(HttpStatusCode.Unauthorized);
var target = new Uri(path, UriKind.RelativeOrAbsolute);
target = indexer.UncleanLink(target);
var downloadBytes = await indexer.Download(target);
// This will fix torrents where the keys are not sorted, and thereby not supported by Sonarr.
var torrentDictionary = BEncodedDictionary.DecodeTorrent(downloadBytes);
downloadBytes = torrentDictionary.Encode();
char[] invalidChars = System.IO.Path.GetInvalidFileNameChars();
for(int i=0;i<file.Count();i++)
if(invalidChars.Contains(file[i])) {
file = file.Remove(i, 1).Insert(i, " ");
}
var result = new HttpResponseMessage(HttpStatusCode.OK);
result.Content = new ByteArrayContent(downloadBytes);
result.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-bittorrent");
result.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment")
{
FileName = file
FileName = StringUtil.MakeValidFileName(file, '_', false) // call MakeValidFileName again to avoid any kind of injection attack
};
return result;
}

View File

@@ -0,0 +1,173 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using AutoMapper;
using Jackett.Indexers;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NLog;
namespace Jackett.Controllers.V20
{
public interface IIndexerController
{
IIndexerManagerService IndexerService { get; }
IIndexer CurrentIndexer { get; set; }
}
public class RequiresIndexerAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(HttpActionContext actionContext)
{
base.OnActionExecuting(actionContext);
var controller = actionContext.ControllerContext.Controller;
if (!(controller is IIndexerController))
return;
var indexerController = controller as IIndexerController;
var parameters = actionContext.RequestContext.RouteData.Values;
if (!parameters.ContainsKey("indexerId"))
{
indexerController.CurrentIndexer = null;
return;
}
var indexerId = parameters["indexerId"] as string;
if (indexerId.IsNullOrEmptyOrWhitespace())
return;
var indexerService = indexerController.IndexerService;
var indexer = indexerService.GetIndexer(indexerId);
indexerController.CurrentIndexer = indexer;
}
}
[RoutePrefix("api/v2.0/indexers")]
[JackettAuthorized]
[JackettAPINoCache]
public class IndexerApiController : ApiController, IIndexerController
{
public IIndexerManagerService IndexerService { get; private set; }
public IIndexer CurrentIndexer { get; set; }
public IndexerApiController(IIndexerManagerService indexerManagerService, IServerService ss, ICacheService c, Logger logger)
{
IndexerService = indexerManagerService;
serverService = ss;
cacheService = c;
this.logger = logger;
}
[HttpGet]
[RequiresIndexer]
public async Task<IHttpActionResult> Config()
{
var config = await CurrentIndexer.GetConfigurationForSetup();
return Ok(config.ToJson(null));
}
[HttpPost]
[ActionName("Config")]
[RequiresIndexer]
public async Task UpdateConfig([FromBody]Models.DTO.ConfigItem[] config)
{
try
{
// HACK
var jsonString = JsonConvert.SerializeObject(config);
var json = JToken.Parse(jsonString);
var configurationResult = await CurrentIndexer.ApplyConfiguration(json);
if (configurationResult == IndexerConfigurationStatus.RequiresTesting)
await IndexerService.TestIndexer(CurrentIndexer.ID);
}
catch
{
var baseIndexer = CurrentIndexer as BaseIndexer;
if (null != baseIndexer)
baseIndexer.ResetBaseConfig();
throw;
}
}
[HttpGet]
[Route("")]
public IEnumerable<Models.DTO.Indexer> Indexers()
{
var dto = IndexerService.GetAllIndexers().Select(i => new Models.DTO.Indexer(i));
return dto;
}
[HttpPost]
[RequiresIndexer]
public async Task Test()
{
JToken jsonReply = new JObject();
try
{
await IndexerService.TestIndexer(CurrentIndexer.ID);
CurrentIndexer.LastError = null;
}
catch (Exception ex)
{
var msg = ex.Message;
if (ex.InnerException != null)
msg += ": " + ex.InnerException.Message;
if (CurrentIndexer != null)
CurrentIndexer.LastError = msg;
throw;
}
}
[HttpDelete]
[RequiresIndexer]
[Route("{indexerId}")]
public void Delete()
{
IndexerService.DeleteIndexer(CurrentIndexer.ID);
}
// TODO
// This should go to ServerConfigurationController
[Route("Cache")]
[HttpGet]
public List<TrackerCacheResult> Cache()
{
var results = cacheService.GetCachedResults();
ConfigureCacheResults(results);
return results;
}
private void ConfigureCacheResults(IEnumerable<TrackerCacheResult> results)
{
var serverUrl = serverService.GetServerUrl(Request);
foreach (var result in results)
{
var link = result.Link;
var file = StringUtil.MakeValidFileName(result.Title, '_', false) + ".torrent";
result.Link = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "dl", file);
if (result.Link != null && result.Link.Scheme != "magnet" && !string.IsNullOrWhiteSpace(Engine.Server.Config.BlackholeDir))
result.BlackholeLink = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "bh", file);
}
}
private Logger logger;
private IServerService serverService;
private ICacheService cacheService;
}
}

View File

@@ -1,173 +0,0 @@
using AutoMapper;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using Jackett.Utils.Clients;
using Newtonsoft.Json.Linq;
using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace Jackett.Controllers
{
[AllowAnonymous]
[JackettAPINoCache]
public class PotatoController : ApiController
{
private IIndexerManagerService indexerService;
private Logger logger;
private IServerService serverService;
private ICacheService cacheService;
private IWebClient webClient;
public static int[] MOVIE_CATS
{
get
{
var torznabQuery = new TorznabQuery()
{
Categories = new int[1] { TorznabCatType.Movies.ID },
};
torznabQuery.ExpandCatsToSubCats();
return torznabQuery.Categories;
}
}
public PotatoController(IIndexerManagerService i, Logger l, IServerService s, ICacheService c, IWebClient w)
{
indexerService = i;
logger = l;
serverService = s;
cacheService = c;
webClient = w;
}
[HttpGet]
public async Task<HttpResponseMessage> Call(string indexerID, [FromUri]TorrentPotatoRequest request)
{
var indexer = indexerService.GetIndexer(indexerID);
var allowBadApiDueToDebug = false;
#if DEBUG
allowBadApiDueToDebug = Debugger.IsAttached;
#endif
if (!allowBadApiDueToDebug && !string.Equals(request.passkey, serverService.Config.APIKey, StringComparison.InvariantCultureIgnoreCase))
{
logger.Warn(string.Format("A request from {0} was made with an incorrect API key.", Request.GetOwinContext().Request.RemoteIpAddress));
return Request.CreateResponse(HttpStatusCode.Forbidden, "Incorrect API key");
}
if (!indexer.IsConfigured)
{
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 (!indexer.TorznabCaps.Categories.Select(c => c.ID).Any(i => MOVIE_CATS.Contains(i))){
logger.Warn(string.Format("Rejected a request to {0} which does not support searching for movies.", indexer.DisplayName));
return Request.CreateResponse(HttpStatusCode.Forbidden, "This indexer does not support movies.");
}
var year = 0;
if (string.IsNullOrWhiteSpace(request.search))
{
// We are searching by IMDB id so look up the name
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);
if (result["Title"] != null)
{
request.search = result["Title"].ToString();
year = ParseUtil.CoerceInt(result["Year"].ToString());
}
}
}
var torznabQuery = new TorznabQuery()
{
ApiKey = request.passkey,
Categories = MOVIE_CATS,
SearchTerm = request.search,
ImdbID = request.imdbid,
QueryType = "TorrentPotato"
};
IEnumerable<ReleaseInfo> releases = new List<ReleaseInfo>();
if (!string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm))
{
releases = await indexer.PerformQuery(torznabQuery);
releases = indexer.CleanLinks(releases);
}
// Cache non query results
if (string.IsNullOrEmpty(torznabQuery.SanitizedSearchTerm))
{
cacheService.CacheRssResults(indexer, releases);
}
releases = indexer.FilterResults(torznabQuery, releases);
var serverUrl = string.Format("{0}://{1}:{2}{3}", Request.RequestUri.Scheme, Request.RequestUri.Host, Request.RequestUri.Port, serverService.BasePath());
var potatoResponse = new TorrentPotatoResponse();
releases = TorznabUtil.FilterResultsToTitle(releases, torznabQuery.SanitizedSearchTerm, year);
releases = TorznabUtil.FilterResultsToImdb(releases, request.imdbid);
foreach (var r in releases)
{
var release = Mapper.Map<ReleaseInfo>(r);
release.Link = serverService.ConvertToProxyLink(release.Link, serverUrl, indexerID, "dl", release.Title + ".torrent");
// Only accept torrent links, magnet is not supported
// This seems to be no longer the case, allowing magnet URIs for now
if (release.Link != null || release.MagnetUri != null)
{
potatoResponse.results.Add(new TorrentPotatoResponseItem()
{
release_name = release.Title + "[" + indexer.DisplayName + "]", // Suffix the indexer so we can see which tracker we are using in CPS as it just says torrentpotato >.>
torrent_id = release.Guid.ToString(),
details_url = release.Comments.ToString(),
download_url = (release.Link != null ? release.Link.ToString() : release.MagnetUri.ToString()),
imdb_id = release.Imdb.HasValue ? "tt" + release.Imdb : null,
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,
publish_date = r.PublishDate == DateTime.MinValue ? null : release.PublishDate.ToUniversalTime().ToString("s")
});
}
}
// Log info
if (string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm))
{
logger.Info(string.Format("Found {0} torrentpotato releases from {1}", releases.Count(), indexer.DisplayName));
}
else
{
logger.Info(string.Format("Found {0} torrentpotato releases from {1} for: {2}", releases.Count(), indexer.DisplayName, torznabQuery.GetQueryString()));
}
// Force the return as Json
return new HttpResponseMessage()
{
Content = new JsonContent(potatoResponse)
};
}
}
}

View File

@@ -0,0 +1,422 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using System.Xml.Linq;
using Jackett.Indexers;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using Jackett.Utils.Clients;
using Newtonsoft.Json;
using NLog;
using Jackett.Models.DTO;
namespace Jackett.Controllers.V20
{
public class RequiresApiKeyAttribute : AuthorizationFilterAttribute
{
public override void OnAuthorization(HttpActionContext actionContext)
{
var validApiKey = Engine.Server.Config.APIKey;
var queryParams = actionContext.Request.GetQueryNameValuePairs();
var queryApiKey = queryParams.Where(x => x.Key == "apikey" || x.Key == "passkey").Select(x => x.Value).FirstOrDefault();
#if DEBUG
if (Debugger.IsAttached)
return;
#endif
if (queryApiKey != validApiKey)
actionContext.Response = actionContext.Request.CreateResponse(HttpStatusCode.Unauthorized);
}
}
public class RequiresConfiguredIndexerAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(HttpActionContext actionContext)
{
var controller = actionContext.ControllerContext.Controller;
if (!(controller is IIndexerController))
return;
var indexerController = controller as IIndexerController;
var parameters = actionContext.RequestContext.RouteData.Values;
if (!parameters.ContainsKey("indexerId"))
{
indexerController.CurrentIndexer = null;
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized, "Invalid parameter");
return;
}
var indexerId = parameters["indexerId"] as string;
if (indexerId.IsNullOrEmptyOrWhitespace())
{
indexerController.CurrentIndexer = null;
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized, "Invalid parameter");
return;
}
var indexerService = indexerController.IndexerService;
var indexer = indexerService.GetIndexer(indexerId);
if (indexer == null)
{
indexerController.CurrentIndexer = null;
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized, "Invalid parameter");
return;
}
if (!indexer.IsConfigured)
{
indexerController.CurrentIndexer = null;
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.Unauthorized, "Indexer is not configured");
return;
}
indexerController.CurrentIndexer = indexer;
}
}
public class RequiresValidQueryAttribute : RequiresConfiguredIndexerAttribute
{
public override void OnActionExecuting(HttpActionContext actionContext)
{
base.OnActionExecuting(actionContext);
if (actionContext.Response != null)
return;
var controller = actionContext.ControllerContext.Controller;
if (!(controller is IResultController))
return;
var resultController = controller as IResultController;
var query = actionContext.ActionArguments.First().Value;
var queryType = query.GetType();
var converter = queryType.GetMethod("ToTorznabQuery", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public);
if (converter == null)
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.BadRequest, "");
var converted = converter.Invoke(null, new object[] { query });
var torznabQuery = converted as TorznabQuery;
resultController.CurrentQuery = torznabQuery;
if (queryType == typeof(ApiSearch)) // Skip CanHandleQuery() check for manual search (CurrentIndexer isn't used during manul search)
return;
if (!resultController.CurrentIndexer.CanHandleQuery(resultController.CurrentQuery))
actionContext.Response = actionContext.Request.CreateErrorResponse(HttpStatusCode.BadRequest, $"{resultController.CurrentIndexer.ID} does not support the requested query.");
}
}
public class JsonResponseAttribute : ActionFilterAttribute
{
public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
{
base.OnActionExecuted(actionExecutedContext);
if (actionExecutedContext.Exception != null)
throw new Exception("Error while executing request", actionExecutedContext.Exception);
var content = actionExecutedContext.Response.Content as ObjectContent;
actionExecutedContext.Response.Content = new JsonContent(content.Value);
}
}
public interface IResultController : IIndexerController
{
TorznabQuery CurrentQuery { get; set; }
}
[AllowAnonymous]
[JackettAPINoCache]
[RoutePrefix("api/v2.0/indexers")]
[RequiresApiKey]
[RequiresValidQuery]
public class ResultsController : ApiController, IResultController
{
public IIndexerManagerService IndexerService { get; private set; }
public IIndexer CurrentIndexer { get; set; }
public TorznabQuery CurrentQuery { get; set; }
public ResultsController(IIndexerManagerService indexerManagerService, IServerService ss, ICacheService c, Logger logger)
{
IndexerService = indexerManagerService;
serverService = ss;
cacheService = c;
this.logger = logger;
}
[HttpGet]
public async Task<Models.DTO.ManualSearchResult> Results([FromUri]Models.DTO.ApiSearch request)
{
var manualResult = new ManualSearchResult();
var trackers = IndexerService.GetAllIndexers().Where(t => t.IsConfigured);
if (request.Tracker != null)
trackers = trackers.Where(t => request.Tracker.Contains(t.ID));
trackers = trackers.Where(t => t.CanHandleQuery(CurrentQuery));
var tasks = trackers.ToList().Select(t => t.ResultsForQuery(CurrentQuery)).ToList();
try
{
var aggregateTask = Task.WhenAll(tasks);
await aggregateTask;
}
catch (AggregateException aex)
{
foreach (var ex in aex.InnerExceptions)
{
logger.Error(ex);
}
}
catch (Exception ex)
{
logger.Error(ex);
}
manualResult.Indexers = tasks.Select(t =>
{
var resultIndexer = new ManualSearchResultIndexer();
IIndexer indexer = null;
if (t.Status == TaskStatus.RanToCompletion)
{
resultIndexer.Status = ManualSearchResultIndexerStatus.OK;
resultIndexer.Results = t.Result.Releases.Count();
resultIndexer.Error = null;
indexer = t.Result.Indexer;
}
else if (t.Exception.InnerException is IndexerException)
{
resultIndexer.Status = ManualSearchResultIndexerStatus.Error;
resultIndexer.Results = 0;
resultIndexer.Error = ((IndexerException)t.Exception.InnerException).ToString();
indexer = ((IndexerException)t.Exception.InnerException).Indexer;
}
else
{
resultIndexer.Status = ManualSearchResultIndexerStatus.Unknown;
resultIndexer.Results = 0;
resultIndexer.Error = null;
}
if (indexer != null)
{
resultIndexer.ID = indexer.ID;
resultIndexer.Name = indexer.DisplayName;
}
return resultIndexer;
}).ToList();
manualResult.Results = tasks.Where(t => t.Status == TaskStatus.RanToCompletion).Where(t => t.Result.Releases.Count() > 0).SelectMany(t =>
{
var searchResults = t.Result.Releases;
var indexer = t.Result.Indexer;
cacheService.CacheRssResults(indexer, searchResults);
return searchResults.Select(result =>
{
var item = AutoMapper.Mapper.Map<TrackerCacheResult>(result);
item.Tracker = indexer.DisplayName;
item.TrackerId = indexer.ID;
item.Peers = item.Peers - item.Seeders; // Use peers as leechers
return item;
});
}).OrderByDescending(d => d.PublishDate).ToList();
ConfigureCacheResults(manualResult.Results);
logger.Info(string.Format("Manual search for \"{0}\" on {1} with {2} results.", CurrentQuery.SanitizedSearchTerm, string.Join(", ", manualResult.Indexers.Select(i => i.ID)), manualResult.Results.Count()));
return manualResult;
}
[HttpGet]
public async Task<IHttpActionResult> Torznab([FromUri]Models.DTO.TorznabRequest request)
{
if (string.Equals(CurrentQuery.QueryType, "caps", StringComparison.InvariantCultureIgnoreCase))
{
return ResponseMessage(new HttpResponseMessage()
{
Content = new StringContent(CurrentIndexer.TorznabCaps.ToXml(), Encoding.UTF8, "application/xml")
});
}
if (CurrentQuery.ImdbID != null)
{
if (CurrentQuery.QueryType != "movie")
{
logger.Warn($"A non movie request with an imdbid was made from {Request.GetOwinContext().Request.RemoteIpAddress}.");
return GetErrorXML(201, "Incorrect parameter: only movie-search supports the imdbid parameter");
}
if (!string.IsNullOrEmpty(CurrentQuery.SearchTerm))
{
logger.Warn($"A movie-search request from {Request.GetOwinContext().Request.RemoteIpAddress} was made contining q and imdbid.");
return GetErrorXML(201, "Incorrect parameter: please specify either imdbid or q");
}
CurrentQuery.ImdbID = ParseUtil.GetFullImdbID(CurrentQuery.ImdbID); // normalize ImdbID
if (CurrentQuery.ImdbID == null)
{
logger.Warn($"A movie-search request from {Request.GetOwinContext().Request.RemoteIpAddress} was made with an invalid imdbid.");
return GetErrorXML(201, "Incorrect parameter: invalid imdbid format");
}
if (!CurrentIndexer.TorznabCaps.SupportsImdbSearch)
{
logger.Warn($"A movie-search request with imdbid from {Request.GetOwinContext().Request.RemoteIpAddress} was made but the indexer {CurrentIndexer.DisplayName} doesn't support it.");
return GetErrorXML(203, "Function Not Available: imdbid is not supported by this indexer");
}
}
var result = await CurrentIndexer.ResultsForQuery(CurrentQuery);
// Some trackers do not support multiple category filtering so filter the releases that match manually.
int? newItemCount = null;
// Cache non query results
if (string.IsNullOrEmpty(CurrentQuery.SanitizedSearchTerm))
{
newItemCount = cacheService.GetNewItemCount(CurrentIndexer, result.Releases);
cacheService.CacheRssResults(CurrentIndexer, result.Releases);
}
// Log info
var logBuilder = new StringBuilder();
if (newItemCount != null)
{
logBuilder.AppendFormat("Found {0} ({1} new) releases from {2}", result.Releases.Count(), newItemCount, CurrentIndexer.DisplayName);
}
else
{
logBuilder.AppendFormat("Found {0} releases from {1}", result.Releases.Count(), CurrentIndexer.DisplayName);
}
if (!string.IsNullOrWhiteSpace(CurrentQuery.SanitizedSearchTerm))
{
logBuilder.AppendFormat(" for: {0}", CurrentQuery.GetQueryString());
}
logger.Info(logBuilder.ToString());
var serverUrl = serverService.GetServerUrl(Request);
var resultPage = new ResultPage(new ChannelInfo
{
Title = CurrentIndexer.DisplayName,
Description = CurrentIndexer.DisplayDescription,
Link = new Uri(CurrentIndexer.SiteLink),
ImageUrl = new Uri(serverUrl + "logos/" + CurrentIndexer.ID + ".png"),
ImageTitle = CurrentIndexer.DisplayName,
ImageLink = new Uri(CurrentIndexer.SiteLink),
ImageDescription = CurrentIndexer.DisplayName
});
var proxiedReleases = result.Releases.Select(r => AutoMapper.Mapper.Map<ReleaseInfo>(r)).Select(r =>
{
r.Link = serverService.ConvertToProxyLink(r.Link, serverUrl, r.Origin.ID, "dl", r.Title + ".torrent");
return r;
});
resultPage.Releases = proxiedReleases.ToList();
var xml = resultPage.ToXml(new Uri(serverUrl));
// Force the return as XML
return ResponseMessage(new HttpResponseMessage()
{
Content = new StringContent(xml, Encoding.UTF8, "application/rss+xml")
});
}
public IHttpActionResult 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 ResponseMessage(new HttpResponseMessage()
{
Content = new StringContent(xml, Encoding.UTF8, "application/xml")
});
}
[HttpGet]
[JsonResponse]
public async Task<Models.DTO.TorrentPotatoResponse> Potato([FromUri]Models.DTO.TorrentPotatoRequest request)
{
var result = await CurrentIndexer.ResultsForQuery(CurrentQuery);
// Cache non query results
if (string.IsNullOrEmpty(CurrentQuery.SanitizedSearchTerm))
cacheService.CacheRssResults(CurrentIndexer, result.Releases);
// Log info
if (string.IsNullOrWhiteSpace(CurrentQuery.SanitizedSearchTerm))
logger.Info($"Found {result.Releases.Count()} torrentpotato releases from {CurrentIndexer.DisplayName}");
else
logger.Info($"Found {result.Releases.Count()} torrentpotato releases from {CurrentIndexer.DisplayName} for: {CurrentQuery.GetQueryString()}");
var serverUrl = serverService.GetServerUrl(Request);
var potatoReleases = result.Releases.Where(r => r.Link != null || r.MagnetUri != null).Select(r =>
{
var release = AutoMapper.Mapper.Map<ReleaseInfo>(r);
release.Link = serverService.ConvertToProxyLink(release.Link, serverUrl, CurrentIndexer.ID, "dl", release.Title + ".torrent");
var item = new Models.DTO.TorrentPotatoResponseItem()
{
release_name = release.Title + "[" + CurrentIndexer.DisplayName + "]", // Suffix the indexer so we can see which tracker we are using in CPS as it just says torrentpotato >.>
torrent_id = release.Guid.ToString(),
details_url = release.Comments.ToString(),
download_url = (release.Link != null ? release.Link.ToString() : release.MagnetUri.ToString()),
imdb_id = release.Imdb.HasValue ? "tt" + release.Imdb : null,
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,
publish_date = r.PublishDate == DateTime.MinValue ? null : release.PublishDate.ToUniversalTime().ToString("s")
};
return item;
});
var potatoResponse = new Models.DTO.TorrentPotatoResponse()
{
results = potatoReleases.ToList()
};
return potatoResponse;
}
private void ConfigureCacheResults(IEnumerable<TrackerCacheResult> results)
{
var serverUrl = serverService.GetServerUrl(Request);
foreach (var result in results)
{
var link = result.Link;
var file = StringUtil.MakeValidFileName(result.Title, '_', false) + ".torrent";
result.Link = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "dl", file);
if (result.Link != null && result.Link.Scheme != "magnet" && !string.IsNullOrWhiteSpace(Engine.Server.Config.BlackholeDir))
result.BlackholeLink = serverService.ConvertToProxyLink(link, serverUrl, result.TrackerId, "bh", file);
}
}
private Logger logger;
private IServerService serverService;
private ICacheService cacheService;
}
}

View File

@@ -0,0 +1,176 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Web.Http;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using NLog;
namespace Jackett.Controllers.V20
{
[RoutePrefix("api/v2.0/server")]
[JackettAuthorized]
[JackettAPINoCache]
public class ServerConfigurationController : ApiController
{
public ServerConfigurationController(IConfigurationService c, IServerService s, IProcessService p, IIndexerManagerService i, ISecuityService ss, IUpdateService u, ILogCacheService lc, Logger l)
{
config = c;
serverService = s;
processService = p;
indexerService = i;
securityService = ss;
updater = u;
logCache = lc;
logger = l;
}
[HttpPost]
public void AdminPassword([FromBody]string password)
{
var oldPassword = serverService.Config.AdminPassword;
if (string.IsNullOrEmpty(password))
password = string.Empty;
if (oldPassword != password)
{
serverService.Config.AdminPassword = securityService.HashPassword(password);
serverService.SaveConfig();
}
}
[HttpPost]
public void Update()
{
updater.CheckForUpdatesNow();
}
[HttpGet]
public Models.DTO.ServerConfig Config()
{
var dto = new Models.DTO.ServerConfig(serverService.notices, serverService.Config, config.GetVersion());
return dto;
}
[ActionName("Config")]
[HttpPost]
public void UpdateConfig([FromBody]Models.DTO.ServerConfig config)
{
var originalPort = Engine.Server.Config.Port;
var originalAllowExternal = Engine.Server.Config.AllowExternal;
int port = config.port;
bool external = config.external;
string saveDir = config.blackholedir;
bool updateDisabled = config.updatedisabled;
bool preRelease = config.prerelease;
bool logging = config.logging;
string basePathOverride = config.basepathoverride;
if (basePathOverride != null)
{
basePathOverride = basePathOverride.TrimEnd('/');
if (!string.IsNullOrWhiteSpace(basePathOverride) && !basePathOverride.StartsWith("/"))
throw new Exception("The Base Path Override must start with a /");
}
string omdbApiKey = config.omdbkey;
Engine.Server.Config.UpdateDisabled = updateDisabled;
Engine.Server.Config.UpdatePrerelease = preRelease;
Engine.Server.Config.BasePathOverride = basePathOverride;
Startup.BasePath = Engine.Server.BasePath();
Engine.Server.SaveConfig();
Engine.SetLogLevel(logging ? LogLevel.Debug : LogLevel.Info);
Startup.TracingEnabled = logging;
if (omdbApiKey != Engine.Server.Config.OmdbApiKey)
{
Engine.Server.Config.OmdbApiKey = omdbApiKey;
Engine.Server.SaveConfig();
// HACK
indexerService.InitAggregateIndexer();
}
if (port != Engine.Server.Config.Port || external != Engine.Server.Config.AllowExternal)
{
if (ServerUtil.RestrictedPorts.Contains(port))
throw new Exception("The port you have selected is restricted, try a different one.");
if (port < 1 || port > 65535)
throw new Exception("The port you have selected is invalid, it must be below 65535.");
// Save port to the config so it can be picked up by the if needed when running as admin below.
Engine.Server.Config.AllowExternal = external;
Engine.Server.Config.Port = port;
Engine.Server.SaveConfig();
// On Windows change the url reservations
if (System.Environment.OSVersion.Platform != PlatformID.Unix)
{
if (!ServerUtil.IsUserAdministrator())
{
try
{
processService.StartProcessAndLog(System.Windows.Forms.Application.ExecutablePath, "--ReserveUrls", true);
}
catch
{
Engine.Server.Config.Port = originalPort;
Engine.Server.Config.AllowExternal = originalAllowExternal;
Engine.Server.SaveConfig();
throw new Exception("Failed to acquire admin permissions to reserve the new port.");
}
}
else
{
serverService.ReserveUrls(true);
}
}
(new Thread(() =>
{
Thread.Sleep(500);
serverService.Stop();
Engine.BuildContainer();
Engine.Server.Initalize();
Engine.Server.Start();
})).Start();
}
if (saveDir != Engine.Server.Config.BlackholeDir)
{
if (!string.IsNullOrEmpty(saveDir))
{
if (!Directory.Exists(saveDir))
{
throw new Exception("Blackhole directory does not exist");
}
}
Engine.Server.Config.BlackholeDir = saveDir;
Engine.Server.SaveConfig();
}
}
[HttpGet]
public List<CachedLog> Logs()
{
return logCache.Logs;
}
private IConfigurationService config;
private IServerService serverService;
private IProcessService processService;
private IIndexerManagerService indexerService;
private ISecuityService securityService;
private IUpdateService updater;
private ILogCacheService logCache;
private Logger logger;
}
}

View File

@@ -1,180 +0,0 @@
using AutoMapper;
using Jackett.Models;
using Jackett.Services;
using Jackett.Utils;
using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Xml.Linq;
namespace Jackett.Controllers
{
[AllowAnonymous]
[JackettAPINoCache]
public class TorznabController : ApiController
{
private IIndexerManagerService indexerService;
private Logger logger;
private IServerService serverService;
private ICacheService cacheService;
public TorznabController(IIndexerManagerService i, Logger l, IServerService s, ICacheService c)
{
indexerService = i;
logger = l;
serverService = s;
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)
{
var indexer = indexerService.GetIndexer(indexerID);
var torznabQuery = TorznabQuery.FromHttpQuery(HttpUtility.ParseQueryString(Request.RequestUri.Query));
if (string.Equals(torznabQuery.QueryType, "caps", StringComparison.InvariantCultureIgnoreCase))
{
return new HttpResponseMessage()
{
Content = new StringContent(indexer.TorznabCaps.ToXml(), Encoding.UTF8, "application/xml")
};
}
torznabQuery.ExpandCatsToSubCats();
var allowBadApiDueToDebug = false;
#if DEBUG
allowBadApiDueToDebug = Debugger.IsAttached;
#endif
if (!allowBadApiDueToDebug && !string.Equals(torznabQuery.ApiKey, serverService.Config.APIKey, StringComparison.InvariantCultureIgnoreCase))
{
logger.Warn(string.Format("A request from {0} was made with an incorrect API key.", Request.GetOwinContext().Request.RemoteIpAddress));
return Request.CreateResponse(HttpStatusCode.Forbidden, "Incorrect API key");
}
if (!indexer.IsConfigured)
{
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");
}
torznabQuery.ImdbID = ParseUtil.GetFullImdbID(torznabQuery.ImdbID); // normalize ImdbID
if (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);
releases = indexer.CleanLinks(releases);
// Some trackers do not keep their clocks up to date and can be ~20 minutes out!
foreach (var release in releases.Where(r => r.PublishDate > DateTime.Now))
{
release.PublishDate = DateTime.Now;
}
// Some trackers do not support multiple category filtering so filter the releases that match manually.
var filteredReleases = releases = indexer.FilterResults(torznabQuery, releases);
int? newItemCount = null;
// Cache non query results
if (string.IsNullOrEmpty(torznabQuery.SanitizedSearchTerm))
{
newItemCount = cacheService.GetNewItemCount(indexer, filteredReleases);
cacheService.CacheRssResults(indexer, releases);
}
// Log info
var logBuilder = new StringBuilder();
if (newItemCount != null) {
logBuilder.AppendFormat(string.Format("Found {0} ({1} new) releases from {2}", releases.Count(), newItemCount, indexer.DisplayName));
}
else {
logBuilder.AppendFormat(string.Format("Found {0} releases from {1}", releases.Count(), indexer.DisplayName));
}
if (!string.IsNullOrWhiteSpace(torznabQuery.SanitizedSearchTerm)) {
logBuilder.AppendFormat(" for: {0}", torznabQuery.GetQueryString());
}
logger.Info(logBuilder.ToString());
var serverUrl = string.Format("{0}://{1}:{2}{3}", Request.RequestUri.Scheme, Request.RequestUri.Host, Request.RequestUri.Port, serverService.BasePath());
var resultPage = new ResultPage(new ChannelInfo
{
Title = indexer.DisplayName,
Description = indexer.DisplayDescription,
Link = new Uri(indexer.SiteLink),
ImageUrl = new Uri(serverUrl + "logos/" + indexer.ID + ".png"),
ImageTitle = indexer.DisplayName,
ImageLink = new Uri(indexer.SiteLink),
ImageDescription = indexer.DisplayName
});
foreach(var result in releases)
{
var clone = Mapper.Map<ReleaseInfo>(result);
clone.Link = serverService.ConvertToProxyLink(clone.Link, serverUrl, indexerID, "dl", result.Title + ".torrent");
resultPage.Releases.Add(clone);
}
var xml = resultPage.ToXml(new Uri(serverUrl));
// Force the return as XML
return new HttpResponseMessage()
{
Content = new StringContent(xml, Encoding.UTF8, "application/rss+xml")
};
}
}
}

View File

@@ -0,0 +1,89 @@
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Jackett.Services;
using Jackett.Utils;
using NLog;
namespace Jackett.Controllers
{
[RoutePrefix("UI")]
[JackettAuthorized]
[JackettAPINoCache]
public class WebUIController : ApiController
{
public WebUIController(IConfigurationService config, IServerService ss, ISecuityService s, Logger l)
{
this.config = config;
serverService = ss;
securityService = s;
logger = l;
}
private HttpResponseMessage GetFile(string path)
{
var result = new HttpResponseMessage(HttpStatusCode.OK);
var mappedPath = Path.Combine(config.GetContentFolder(), path);
var stream = new FileStream(mappedPath, FileMode.Open, FileAccess.Read, FileShare.Read);
result.Content = new StreamContent(stream);
result.Content.Headers.ContentType = new MediaTypeHeaderValue(MimeMapping.GetMimeMapping(mappedPath));
return result;
}
[HttpGet]
[AllowAnonymous]
public IHttpActionResult Logout()
{
var ctx = Request.GetOwinContext();
var authManager = ctx.Authentication;
authManager.SignOut("ApplicationCookie");
return Redirect("UI/Dashboard");
}
[HttpGet]
[HttpPost]
[AllowAnonymous]
public async Task<HttpResponseMessage> Dashboard()
{
if (Request.RequestUri.Query != null && Request.RequestUri.Query.Contains("logout"))
{
var file = GetFile("login.html");
securityService.Logout(file);
return file;
}
if (securityService.CheckAuthorised(Request))
{
return GetFile("index.html");
}
else
{
var formData = await Request.Content.ReadAsFormDataAsync();
if (formData != null && securityService.HashPassword(formData["password"]) == serverService.Config.AdminPassword)
{
var file = GetFile("index.html");
securityService.Login(file);
return file;
}
else
{
return GetFile("login.html");
}
}
}
private IConfigurationService config;
private IServerService serverService;
private ISecuityService securityService;
private Logger logger;
}
}

View File

@@ -0,0 +1,182 @@
---
site: 1337x
name: 1337x
description: "1337X is a Public torrent site that offers verified torrent downloads"
language: en-us
type: public
encoding: UTF-8
links:
- https://1337x.to
caps:
categorymappings:
#Audio
- {id: 22, cat: Audio/MP3, desc: "Music/MP3"}
- {id: 23, cat: Audio/Lossless, desc: "Music/Lossless"}
- {id: 24, cat: Audio, desc: "Music/DVD"}
- {id: 25, cat: Audio/Video, desc: "Music/Video"}
- {id: 26, cat: Audio, desc: "Music/Radio"}
- {id: 27, cat: Audio/Other, desc: "Music/Other"}
- {id: 52, cat: Audio/Audiobook, desc: "Other/Audiobook"}
- {id: 53, cat: Audio, desc: "Music/Album"}
- {id: 58, cat: Audio, desc: "Music/Box set"}
- {id: 59, cat: Audio, desc: "Music/Discography"}
- {id: 60, cat: Audio, desc: "Music/Single"}
- {id: 68, cat: Audio, desc: "Music/Concerts"}
- {id: 69, cat: Audio, desc: "Music/AAC"}
#Movies
- {id: 1, cat: Movies/DVD, desc: "Movies/DVD"}
- {id: 2, cat: Movies/SD, desc: "Movies/Divx/Xvid"}
- {id: 3, cat: Movies, desc: "Movies/SVCD/VCD"}
- {id: 4, cat: Movies/Foreign, desc: "Movies/Dubs/Dual Audio"}
- {id: 9, cat: Movies, desc: "Documentaries/Documentary"}
- {id: 42, cat: Movies/HD, desc: "Movies/HD"}
- {id: 54, cat: Movies, desc: "Movies/h.264/x264"}
- {id: 55, cat: Movies, desc: "Movies/Mp4"}
- {id: 66, cat: Movies/3D, desc: "Movies/3D"}
- {id: 70, cat: Movies, desc: "Movies/HEVC/x265"}
- {id: 73, cat: Movies, desc: "Movies/Bollywood"}
#TV
- {id: 5, cat: TV, desc: "TV/DVD"}
- {id: 6, cat: TV/SD, desc: "TV/Divx/Xvid"}
- {id: 7, cat: TV, desc: "TV/SVCD/VCD"}
- {id: 28, cat: TV/Anime, desc: "Anime/Anime"}
- {id: 41, cat: TV/HD, desc: "TV/HD"}
- {id: 71, cat: TV, desc: "TV/HEVC/x265"}
#Apps
- {id: 18, cat: PC, desc: "Apps/PC Software"}
- {id: 19, cat: PC/Mac, desc: "Apps/Mac"}
- {id: 20, cat: PC, desc: "Apps/Linux"}
- {id: 21, cat: PC, desc: "Apps/Other"}
- {id: 56, cat: PC/Phone-Android, desc: "Apps/Android"}
- {id: 57, cat: PC/Phone-IOS, desc: "Apps/iOS"}
#Games
- {id: 10, cat: PC/Games, desc: "Games/PC Game"}
- {id: 11, cat: Console, desc: "Games/PS2"}
- {id: 12, cat: Console/PSP, desc: "Games/PSP"}
- {id: 13, cat: Console/Xbox, desc: "Games/Xbox"}
- {id: 14, cat: Console/Xbox 360, desc: "Games/Xbox360"}
- {id: 15, cat: Console, desc: "Games/PS1"}
- {id: 16, cat: Console/Other, desc: "Games/Dreamcast"}
- {id: 17, cat: PC/Phone-Other, desc: "Games/Other"}
- {id: 43, cat: Console/PS3, desc: "Games/PS3"}
- {id: 44, cat: Console/Wii, desc: "Games/Wii"}
- {id: 45, cat: Console/NDS, desc: "Games/DS"}
- {id: 46, cat: Console, desc: "Games/GameCube"}
- {id: 72, cat: Console/3DS, desc: "Games/3DS"}
#XXX
- {id: 48, cat: XXX/DVD, desc: "XXX/Video"}
- {id: 49, cat: XXX/Imageset, desc: "XXX/Picture"}
- {id: 50, cat: XXX, desc: "XXX/Magazine"}
- {id: 51, cat: XXX, desc: "XXX/Hentai"}
- {id: 67, cat: XXX, desc: "XXX/Games"}
#Other
- {id: 33, cat: Other, desc: "Other/Emulation"}
- {id: 34, cat: Books, desc: "Other/Tutorial"}
- {id: 35, cat: Other, desc: "Other/Sounds"}
- {id: 36, cat: Books/Ebook, desc: "Other/E-books"}
- {id: 37, cat: Other, desc: "Other/Images"}
- {id: 38, cat: Other, desc: "Other/Mobile Phone"}
- {id: 39, cat: Books/Comics, desc: "Other/Comics"}
- {id: 40, cat: Other/Misc, desc: "Other/Other"}
- {id: 47, cat: Other, desc: "Other/Nulled Script"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
download:
# the .torrent url is on the on the details page
selector: ul li a[href^="http://itorrents.org/"]
# it appears that Jackett Definitions do not currently support fetching magnets from the details page :-(
# magnet:
# the magnet url is on the on the details page
# selector: ul li a[href^="magnet:?"]
search:
# present trending results if there are no search parms supplied
path: "{{if .Keywords}}/search/{{ .Keywords}}/1/{{else}}/trending{{end}}"
rows:
selector: tr:has(a[href^="/torrent/"])
fields:
title:
selector: td[class^="coll-1"] a[href^="/torrent/"]
category:
optional: true
selector: td[class^="coll-1"] a[href^="/sub/"]
attribute: href
filters:
# extract the third part
- name: split
args: ["/", 2]
details:
selector: td[class^="coll-1"] a[href^="/torrent/"]
attribute: href
download:
# .torrent link is on the details page
selector: td[class^="coll-1"] a[href^="/torrent/"]
attribute: href
# magnet:
# magnet URI is on the details page
# selector: td[class^="coll-1"] a[href^="/torrent/"]
# attribute: href
# dates come in three flavours:
date:
# (within this year) 7am Sep. 14th
optional: true
selector: td[class^="coll-date"]:not(:contains(":")):not(:contains("'"))
filters:
- name: replace
args: ["st", ""]
- name: replace
args: ["nd", ""]
- name: replace
args: ["rd", ""]
- name: replace
args: ["th", ""]
- name: dateparse
args: "3pm Jan. 2"
date:
# (more than a year ago) Apr. 18th '11
optional: true
selector: td[class^="coll-date"]:contains("'")
filters:
- name: replace
args: ["'", ""]
- name: replace
args: ["st", ""]
- name: replace
args: ["nd", ""]
- name: replace
args: ["rd", ""]
- name: replace
args: ["th", ""]
- name: dateparse
args: "Jan. 2 06"
date:
# # (today) 12:25am
optional: true
selector: td[class^="coll-date"]:contains(":")
filters:
- name: dateparse
args: "3:04pm"
size:
selector: td[class^="coll-4"]
seeders:
selector: td[class^="coll-2"]
leechers:
selector: td[class^="coll-3"]
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: 2fast4you
name: 2 Fast 4 You
description: "2 Fast 4 You is a FRENCH Private site for TV / MOVIES / GENERAL"
language: fr-fr
type: private
encoding: UTF-8
@@ -112,6 +113,9 @@
args: ["torrents-details.php", "download.php"]
title:
selector: a[href^="torrents-details.php?id="]
filters:
- name: replace
args: [" - (Nouveau!)", ""]
category:
selector: a[href^="torrents.php?cat="]
attribute: href
@@ -136,4 +140,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: acidlounge
name: Acid-Lounge
description: "Acid Lounge (A-L) is a Private Torrent Tracker for 0DAY / GENERAL"
language: en-us
type: private
encoding: UTF-8

View File

@@ -1,7 +1,7 @@
---
---
site: anidex
name: Anidex
description: "Anidex is a torrent tracker and indexer, primarily for English fansub groups of anime"
description: "Anidex is a Public torrent tracker and indexer, primarily for English fansub groups of anime"
language: en-us
encoding: UTF-8
type: public
@@ -9,8 +9,23 @@
- https://anidex.info/
caps:
categories:
1: TV/Anime # Anime
categorymappings:
- {id: 1, cat: TV/Anime, desc: "Anime - Sub"}
- {id: 2, cat: TV/Anime, desc: "Anime - Raw"}
- {id: 3, cat: TV/Anime, desc: "Anime - Dub"}
- {id: 4, cat: TV/Anime, desc: "LA - Sub"}
- {id: 5, cat: TV/Anime, desc: "LA - Raw"}
- {id: 6, cat: TV/Anime, desc: "Light Novel"}
- {id: 7, cat: TV/Anime, desc: "Manga - TLed"}
- {id: 8, cat: TV/Anime, desc: "Manga - Raw"}
- {id: 9, cat: TV/Anime, desc: "♫ - Lossy"}
- {id: 10, cat: TV/Anime, desc: "♫ - Lossless"}
- {id: 11, cat: TV/Anime, desc: "♫ - Video"}
- {id: 12, cat: TV/Anime, desc: "Games"}
- {id: 13, cat: TV/Anime, desc: "Applications"}
- {id: 14, cat: TV/Anime, desc: "Pictures"}
- {id: 15, cat: TV/Anime, desc: "Adult Video"}
- {id: 16, cat: TV/Anime, desc: "Other"}
modes:
search: [q]
tv-search: [q, season, ep]
@@ -19,24 +34,22 @@
- name: cat-id
type: text
label: Category Id
- name: lang-id
type: text
label: Language Id
- name: info
type: info
label: Category Id Note
default: "You can filter your searches by using any of the following category numbers (comma delimited):<br>1 :Anime - Sub<br>2 :Anime - Raw<br>3 :Anime - Dub<br>4 :LA - Sub<br>5 :LA - Raw<br>6 :Light Novel<br>7 :Manga - TLed<br>8 :Manga - Raw<br>9 :♫ - Lossy<br>10 :♫ - Lossless<br>11 :♫ - Video<br>12 :Games<br>13 :Applications<br>14 :Pictures<br>15 :Adult Video<br>16 :Other"
search:
path: "ajax/page.ajax.php"
headers:
x-requested-with: ["XMLHttpRequest"]
inputs:
page: "torrents"
filename: "{{ .Query.Keywords }}"
category: "{{ .Config.cat-id }}"
lang_id: "{{ .Config.lang-id }}"
path: "?{{if .Config.cat-id}}id={{.Config.cat-id }}&{{else}}{{end}}q={{if .Keywords}}{{.Keywords}}{{else}}{{end}}"
rows:
selector: div.table-responsive > table > tbody > tr
fields:
category:
text: "1"
selector: a[href^="/?id="]
attribute: href
filters:
- name: querystring
args: id
title:
selector: td:nth-child(3) > a.torrent > span.span-1440
details:
@@ -45,6 +58,9 @@
download:
selector: td:nth-child(5) > a
attribute: href
magnet:
selector: a[href^="magnet:?"]
attribute: href
size:
selector: td:nth-child(7)
date:
@@ -59,3 +75,9 @@
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
grabs:
selector: td:nth-child(11)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: aniRena
name: AniRena
description: "AniRena is a Public torrent tracker for the latest anime and Japanese related torrents"
language: en-us
type: public
encoding: UTF-8
@@ -12,34 +13,41 @@
caps:
categorymappings:
# Anime
- {id: 1, cat: TV/Anime, desc: "Raw Animes"}
- {id: 2, cat: TV/Anime, desc: "Anime"}
- {id: 3, cat: TV/Anime, desc: "Hentai"}
- {id: 4, cat: TV/Anime, desc: "Drama"}
- {id: 9, cat: TV/Anime, desc: "Anime Music Videos"}
- {id: 10, cat: TV/Anime, desc: "Non-English"}
- {id: 1, cat: TV/Anime, desc: "Raw Animes"}
# Audio
- {id: 8, cat: Audio, desc: "Audio"}
# Literature
- {id: 7, cat: Books, desc: "Manga"}
# Software
- {id: 5, cat: PC/ISO, desc: "DVD/ISO"}
- {id: 6, cat: PC, desc: "Hentai-Game"}
# Literature
- {id: 7, cat: Books, desc: "Manga"}
# Audio
- {id: 8, cat: Audio, desc: "Audio"}
# Other
- {id: 11, cat: Other, desc: "Other"}
modes:
search: [q]
tv-search: [q, season, ep]
search:
path: "/"
inputs:
s: "{{ .Query.Keywords }}"
path: "/{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
rows:
selector: table tbody tr
selector: table tbody tr:has(td.torrents_small_type_data1)
fields:
title:
selector: .torrents_small_info_data1 div
download:
selector: .torrents_small_info_data2 a[title="Download Torrent"]
attribute: href
magnet:
selector: .torrents_small_info_data2 a[title="Magnet Link"]
attribute: href
date:
text: now
size:
selector: .torrents_small_size_data1
seeders:
@@ -48,3 +56,22 @@
selector: .torrents_small_leechers_data1 b big
grabs:
selector: .torrents_small_downloads_data1
category:
selector: .torrents_small_type_data1 img
attribute: src
case:
"[src=\"./styles/tracker/imageset/cat_raw_small.png\"]": "1"
"[src=\"./styles/tracker/imageset/cat_anime_small.png\"]": "2"
"[src=\"./styles/tracker/imageset/cat_hentai_small.png\"]": "3"
"[src=\"./styles/tracker/imageset/cat_drama_small.png\"]": "4"
"[src=\"./styles/tracker/imageset/cat_dvd_small.png\"]": "5"
"[src=\"./styles/tracker/imageset/cat_hgame2_small.png\"]": "6"
"[src=\"./styles/tracker/imageset/cat_manga_small.png\"]": "7"
"[src=\"./styles/tracker/imageset/cat_music_small.png\"]": "8"
"[src=\"./styles/tracker/imageset/cat_musicvid_small.png\"]": "9"
"[src=\"./styles/tracker/imageset/cat_noneng_small.png\"]": "10"
"[src=\"./styles/tracker/imageset/cat_other_small.png\"]": "11"
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: aox
name: AOX
description: "AOX (Chippu) is a Private Torrent Tracker for ASIAN MOVIES / TV"
language: en-us
type: private
encoding: UTF-8
@@ -121,4 +122,4 @@
- name: prepend
args: "<br>Language: "

View File

@@ -1,6 +1,7 @@
---
site: arabafenice
name: ArabaFenice
description: "Araba Fenice (Phoenix) is an ITALIAN Private site for TV / MOVIES / GENERAL"
language: it-it
type: private
encoding: UTF-8

View File

@@ -0,0 +1,135 @@
---
site: archetorrent
name: ArcheTorrent
description: "ArcheTorrent is a FRENCH Private Torrent Tracker"
language: fr-fr
type: private
encoding: UTF-8
links:
- https://archetorrent.com
caps:
categorymappings:
- {id: 18, cat: PC, desc: "Applications: PC"}
- {id: 19, cat: PC/Mac, desc: "Applications: Mac"}
- {id: 54, cat: PC, desc: "Applications: linux"}
- {id: 56, cat: XXX/Other, desc: "Autres: ebook xxx"}
- {id: 36, cat: Books, desc: "Autres: E-Books"}
- {id: 37, cat: Other, desc: "Autres: Images"}
- {id: 38, cat: PC/Phone-Other, desc: "Autres: Telephone-mobile"}
- {id: 47, cat: Movies, desc: "Films: Animé"}
- {id: 1, cat: Movies/DVD, desc: "Films: DVD"}
- {id: 2, cat: Movies/SD, desc: "Films: Dvdrip"}
- {id: 68, cat: Movies, desc: "Films: TAT Releases"}
- {id: 70, cat: Movies/HD, desc: "Films: UHD 4K"}
- {id: 69, cat: Movies, desc: "Films: Retro"}
- {id: 3, cat: Movies/HD, desc: "Films: HD1080"}
- {id: 42, cat: Movies/HD, desc: "Films: HD720"}
- {id: 4, cat: Movies, desc: "Films: Cam/Ts"}
- {id: 22, cat: Movies/BluRay, desc: "Films: bluray"}
- {id: 23, cat: Movies/3D, desc: "Films: 3D"}
- {id: 24, cat: Movies/Foreign, desc: "Films: VOSTFR"}
- {id: 25, cat: XXX, desc: "Films: Adulte"}
- {id: 48, cat: TV/Documentary, desc: "Films: Documentaire"}
- {id: 49, cat: Movies/Other, desc: "Films: Spectacle"}
- {id: 51, cat: Movies/SD, desc: "Films: R5"}
- {id: 52, cat: Movies/SD, desc: "Films: bdrip"}
- {id: 53, cat: Movies/SD, desc: "Films: brrip"}
- {id: 55, cat: Movies/DVD, desc: "Films: dvd-pack"}
- {id: 57, cat: Movies, desc: "Films: manga"}
- {id: 59, cat: Movies/WEBDL, desc: "Films: Webrip"}
- {id: 63, cat: Movies/SD, desc: "Films: M-HD"}
- {id: 10, cat: PC/Games, desc: "Jeux: PC"}
- {id: 11, cat: Console/Other, desc: "Jeux: PS2"}
- {id: 43, cat: Console/PS3, desc: "Jeux: PS3"}
- {id: 12, cat: Console/PSP, desc: "Jeux: PSP"}
- {id: 14, cat: Console/Xbox 360, desc: "Jeux: Xbox360"}
- {id: 44, cat: Console/Wii, desc: "Jeux: Wii"}
- {id: 45, cat: Console/NDS, desc: "Jeux: DS"}
- {id: 27, cat: Audio/Video, desc: "Musique: Clip Video"}
- {id: 62, cat: TV/SD, desc: "Serie tv: TV BDRip"}
- {id: 5, cat: TV/SD, desc: "Serie tv: Dvdrip"}
- {id: 41, cat: TV/HD, desc: "Serie tv: Hd"}
- {id: 60, cat: TV/SD, desc: "Serie tv: pack série tv"}
- {id: 64, cat: TV/FOREIGN, desc: "Serie tv: vostfr"}
- {id: 65, cat: TV/HD, desc: "Serie tv: Série tv 720P"}
- {id: 66, cat: TV/HD, desc: "Serie tv: Série tv 1080P"}
- {id: 67, cat: TV/HD, desc: "Serie tv: Série tv PackHD"}
- {id: 73, cat: TV/Anime, desc: "Serie tv: Anime "}
- {id: 72, cat: TV/Sport, desc: "Sport: sport"}
- {id: 61, cat: TV/SD, desc: "Tv: DVDRip"}
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: form:contains("Erreur")
message:
selector: form
remove: table
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"]
fields:
download:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["torrents-details.php", "download.php"]
date:
selector: td:nth-child(2) a
attribute: onmouseover
filters:
- name: regexp
args: "Poster le: </b>(.*?)<br />"
- name: dateparse
args: "02-01-2006"
title:
selector: a[href^="torrents-details.php?id="]
filters:
- name: replace
args: [" - (Nouveau!)", ""]
category:
selector: a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
banner:
selector: img.rounded-img
attribute: src
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(8) font b
seeders:
selector: td:nth-child(6) font b
leechers:
selector: td:nth-child(7) font b
downloadvolumefactor:
case:
img[title="freeleech"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: asiandvdclub
name: AsianDVDClub
description: "AsianDVDClub is an ASIAN Private Torrent Tracker for HD MOVIES / TV"
language: en-us
type: private
encoding: UTF-8

View File

@@ -0,0 +1,110 @@
---
site: ast4u
name: AST4u
description: "AST4u is a GERMAN Private site for TV / MOVIES / ANIME / HENTAI"
language: de-de
type: private
encoding: iso-8859-1
links:
- https://www.ast4u.me/
caps:
categorymappings:
- {id: 35, cat: TV/Anime, desc: "Anime Movie"}
- {id: 36, cat: TV/Anime, desc: "Anime Serie"}
- {id: 37, cat: Audio/Foreign, desc: "Anime Musik"}
- {id: 41, cat: Books, desc: "Anime Pic & Manga"}
- {id: 42, cat: XXX, desc: "Hentai Movie & OVA"}
- {id: 43, cat: XXX, desc: "Hentai Serie"}
- {id: 44, cat: PC, desc: "Hentai Game"}
- {id: 45, cat: Movies, desc: "Cartoon Movie"}
- {id: 46, cat: TV, desc: "Cartoon Serie"}
- {id: 47, cat: TV, desc: "TV-Serie"}
- {id: 49, cat: TV/Documentary, desc: "Sonstiges Doku"}
- {id: 50, cat: Audio, desc: "Sonstiges Soundtrack"}
- {id: 52, cat: Movies/HD, desc: "Movie HD"}
- {id: 53, cat: Other, desc: "Sonstiges"}
- {id: 55, cat: Movies/Foreign, desc: "Movie Asia & MartialArts"}
- {id: 56, cat: TV/Anime, desc: "Anime OVA"}
- {id: 58, cat: Movies, desc: "Movie"}
- {id: 59, cat: Audio/Audiobook, desc: "Sonstiges Hoerspiele"}
- {id: 62, cat: Console, desc: "Sonstiges Game"}
- {id: 65, cat: Movies/BluRay, desc: "Movie BluRay"}
- {id: 66, cat: TV, desc: "TV-Serie BluRay"}
- {id: 67, cat: TV/HD, desc: "TV-Serie HD"}
- {id: 68, cat: TV/Anime, desc: "Anime Movie HD & BD"}
- {id: 69, cat: TV/Anime, desc: "Anime OVA HD & BD"}
- {id: 70, cat: TV/Anime, desc: "Anime Serie HD & BD"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
returnto: "/index.php"
test:
path: browse.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "0"
orderby: "added"
sort: "desc"
rows:
selector: table.tableinborder > tbody > tr:has(a[href^="details.php"])
fields:
title:
selector: a[href^="details.php"]
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
details:
selector: a[href^="details.php"]
attribute: href
download:
selector: a[href^=" /gettorrent/ssl/"]
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(2) > b:nth-child(1)
leechers:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3)
date:
selector: td:nth-child(2) > table > tbody > tr:nth-child(2) > td:nth-child(5)
filters:
- name: append
args: " +2:00"
- name: replace
args: ["\xA0", " "]
- name: dateparse
args: "02.01.2006 15:04:05 -07:00"
downloadvolumefactor:
case:
img[src="/pic/free.gif"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: audiobooktorrents
name: Audiobook Torrents
description: "Audiobook Torrents (ABT) is a Private Torrent Tracker for AUDIOBOOKS"
language: en-us
type: private
encoding: UTF-8
@@ -133,4 +134,4 @@
selector: td[colspan=13]
filters:
- name: prepend
args: "{{ .Result.description }}<br>\n"
args: "{{ .Result.description }}<br>\n"

View File

@@ -0,0 +1,265 @@
---
site: b2s-share
name: B2S-Share
description: "B2S-Share is a Brazilian Private site for TV / MOVIES / GENERAL"
language: pt-br
type: private
encoding: iso-8859-1
links:
- http://www.b2s-share.com/
caps:
categorymappings:
#3D
- {id: 141, cat: Movies/3D, desc: "3D Ação"}
- {id: 142, cat: Movies/3D, desc: "3D Animação"}
- {id: 143, cat: Movies/3D, desc: "3D Aventura"}
- {id: 144, cat: Movies/3D, desc: "3D Clássico"}
- {id: 145, cat: Movies/3D, desc: "3D Comédia"}
- {id: 146, cat: Movies/3D, desc: "3D Documentário"}
- {id: 147, cat: Movies/3D, desc: "3D Drama"}
- {id: 149, cat: Movies/3D, desc: "3D Ficção"}
- {id: 150, cat: Movies/3D, desc: "3D Guerra"}
- {id: 151, cat: Movies/3D, desc: "3D Infantil"}
- {id: 152, cat: Movies/3D, desc: "3D Musical"}
- {id: 154, cat: Movies/3D, desc: "3D Outros"}
- {id: 155, cat: Movies/3D, desc: "3D Policial"}
- {id: 156, cat: Movies/3D, desc: "3D Religioso"}
- {id: 157, cat: Movies/3D, desc: "3D Romance"}
- {id: 158, cat: Movies/3D, desc: "3D Shows"}
- {id: 159, cat: Movies/3D, desc: "3D Suspense"}
- {id: 160, cat: Movies/3D, desc: "3D Terror"}
- {id: 161, cat: Movies/3D, desc: "3D Thriller"}
- {id: 162, cat: Movies/3D, desc: "3D Western"}
#4K
- {id: 173, cat: Movies, desc: "4K Ação"}
- {id: 191, cat: Movies, desc: "4K Animação"}
- {id: 190, cat: Movies, desc: "4K Aventura"}
- {id: 188, cat: Movies, desc: "4K Clássico"}
- {id: 175, cat: Movies, desc: "4K Comédia"}
- {id: 186, cat: Movies, desc: "4K Documentário"}
- {id: 185, cat: Movies, desc: "4K Drama"}
- {id: 177, cat: Movies, desc: "4K Ficção"}
- {id: 178, cat: Movies, desc: "4K Guerra"}
- {id: 179, cat: Movies, desc: "4K Infantil"}
- {id: 180, cat: Movies, desc: "4K Musical"}
- {id: 184, cat: Movies, desc: "4K Outros"}
- {id: 176, cat: Movies, desc: "4K Policial"}
- {id: 187, cat: Movies, desc: "4K Religioso"}
- {id: 174, cat: Movies, desc: "4K Romance"}
- {id: 181, cat: Movies, desc: "4K Shows"}
- {id: 182, cat: Movies, desc: "4K Suspense"}
- {id: 189, cat: Movies, desc: "4K Terror"}
- {id: 183, cat: Movies, desc: "4K Thriller"}
#ANIME
- {id: 11, cat: TV/Anime, desc: "Anime"}
#PC-APPS
- {id: 2, cat: PC, desc: "PC APPS - Linux"}
- {id: 3, cat: PC, desc: "PC APPS - Mac"}
- {id: 33, cat: PC, desc: "PC APPS - Portateis"}
- {id: 1, cat: PC, desc: "PC APPS - Windows"}
#BD-R
- {id: 140, cat: Movies, desc: "BD-R Autorado"}
- {id: 119, cat: Movies, desc: "BD-R"}
#MOBILE
- {id: 163, cat: Other, desc: "Mobile App/Jogos-Android"}
- {id: 164, cat: Other, desc: "Mobile App/Jogos-iPhone"}
- {id: 93, cat: Other, desc: "Mobile App/Jogos-Java"}
- {id: 169, cat: Other, desc: "Mobile App/Jogos-Outros"}
- {id: 168, cat: Other, desc: "Mobile App/Jogos-Win"}
- {id: 92, cat: Other, desc: "Mobile Filmes"}
- {id: 118, cat: Other, desc: "Mobile Séries"}
- {id: 94, cat: Other, desc: "Mobile Wallpapers"}
#CARTOON
- {id: 172, cat: TV/Other, desc: "Desenho Animado"}
#OTHER
- {id: 4, cat: Other, desc: "Apostilas/Cursos"}
- {id: 12, cat: Books, desc: "Diversos"}
- {id: 167, cat: Books, desc: "E-book/Livros"}
- {id: 7, cat: PC/Games, desc: "Emuladores / Roms"}
- {id: 166, cat: Books/Comics, desc: "HQ"}
- {id: 165, cat: Books, desc: "Revistas"}
#DVD-R
- {id: 41, cat: Movies/SD, desc: "DVD-R Autorado"}
- {id: 32, cat: Movies/SD, desc: "DVD-R"}
#MOVIES
- {id: 14, cat: Movies, desc: "Filmes Ação"}
- {id: 99, cat: Movies, desc: "Filmes Animação"}
- {id: 15, cat: Movies, desc: "Filmes Aventura"}
- {id: 16, cat: Movies, desc: "Filmes Clássico"}
- {id: 17, cat: Movies, desc: "Filmes Comédia"}
- {id: 31, cat: Movies, desc: "Filmes Documentário"}
- {id: 18, cat: Movies, desc: "Filmes Drama"}
- {id: 19, cat: Movies, desc: "Filmes Ficção"}
- {id: 20, cat: Movies, desc: "Filmes Guerra"}
- {id: 126, cat: Movies, desc: "Filmes Infantil"}
- {id: 96, cat: Movies, desc: "Filmes Musical"}
- {id: 24, cat: Movies, desc: "Filmes Outros"}
- {id: 40, cat: Movies, desc: "Filmes Policial"}
- {id: 39, cat: Movies, desc: "Filmes Religioso"}
- {id: 30, cat: Movies, desc: "Filmes Romance"}
- {id: 22, cat: Movies, desc: "Filmes Suspense"}
- {id: 23, cat: Movies, desc: "Filmes Terror"}
- {id: 130, cat: Movies, desc: "Filmes Thriller"}
- {id: 131, cat: Movies, desc: "Filmes Western"}
- {id: 34, cat: Movies, desc: "Filmes x264"}
#HD-1080p
- {id: 73, cat: Movies/HD, desc: "Filmes 1080p Ação"}
- {id: 87, cat: Movies/HD, desc: "Filmes 1080p Animação"}
- {id: 74, cat: Movies/HD, desc: "Filmes 1080p Aventura"}
- {id: 75, cat: Movies/HD, desc: "Filmes 1080p Clássico"}
- {id: 76, cat: Movies/HD, desc: "Filmes 1080p Comédia"}
- {id: 77, cat: Movies/HD, desc: "Filmes 1080p Documentário"}
- {id: 78, cat: Movies/HD, desc: "Filmes 1080p Drama"}
- {id: 79, cat: Movies/HD, desc: "Filmes 1080p Ficção"}
- {id: 80, cat: Movies/HD, desc: "Filmes 1080p Guerra"}
- {id: 127, cat: Movies/HD, desc: "Filmes 1080p Infantil"}
- {id: 97, cat: Movies/HD, desc: "Filmes 1080p Musical"}
- {id: 63, cat: Movies/HD, desc: "Filmes 1080p Outros"}
- {id: 82, cat: Movies/HD, desc: "Filmes 1080p Policial"}
- {id: 83, cat: Movies/HD, desc: "Filmes 1080p Religioso"}
- {id: 84, cat: Movies/HD, desc: "Filmes 1080p Romance"}
- {id: 88, cat: Movies/HD, desc: "Filmes 1080p Shows"}
- {id: 85, cat: Movies/HD, desc: "Filmes 1080p Suspense"}
- {id: 86, cat: Movies/HD, desc: "Filmes 1080p Terror"}
- {id: 132, cat: Movies/HD, desc: "Filmes 1080p Thriller"}
- {id: 135, cat: Movies/HD, desc: "Filmes 1080p Western"}
#HD-720p
- {id: 58, cat: Movies/HD, desc: "Filmes 720p Ação"}
- {id: 89, cat: Movies/HD, desc: "Filmes 720p Animação"}
- {id: 60, cat: Movies/HD, desc: "Filmes 720p Aventura"}
- {id: 61, cat: Movies/HD, desc: "Filmes 720p Clássico"}
- {id: 62, cat: Movies/HD, desc: "Filmes 720p Comédia"}
- {id: 72, cat: Movies/HD, desc: "Filmes 720p Documentário"}
- {id: 64, cat: Movies/HD, desc: "Filmes 720p Drama"}
- {id: 65, cat: Movies/HD, desc: "Filmes 720p Ficção"}
- {id: 66, cat: Movies/HD, desc: "Filmes 720p Guerra"}
- {id: 129, cat: Movies/HD, desc: "Filmes 720p Infantil"}
- {id: 98, cat: Movies/HD, desc: "Filmes 720p Musical"}
- {id: 59, cat: Movies/HD, desc: "Filmes 720p Outros"}
- {id: 70, cat: Movies/HD, desc: "Filmes 720p Policial"}
- {id: 57, cat: Movies/HD, desc: "Filmes 720p Religioso"}
- {id: 71, cat: Movies/HD, desc: "Filmes 720p Romance"}
- {id: 90, cat: Movies/HD, desc: "Filmes 720p Shows"}
- {id: 68, cat: Movies/HD, desc: "Filmes 720p Suspense"}
- {id: 69, cat: Movies/HD, desc: "Filmes 720p Terror"}
- {id: 134, cat: Movies/HD, desc: "Filmes 720p Thriller"}
- {id: 137, cat: Movies/HD, desc: "Filmes 720p Western"}
#GAMES
- {id: 6, cat: Console, desc: "Jogos Console"}
- {id: 51, cat: PC/Games, desc: "Jogos Emuladores"}
- {id: 44, cat: Console, desc: "Jogos Gamecube"}
- {id: 43, cat: Console/NDS, desc: "Jogos Nintendo DS"}
- {id: 52, cat: Console, desc: "Jogos Outros"}
- {id: 5, cat: PC/Games, desc: "Jogos PC"}
- {id: 47, cat: Console, desc: "Jogos PS2"}
- {id: 48, cat: Console, desc: "Jogos PS3"}
- {id: 170, cat: Console, desc: "Jogos PS4"}
- {id: 46, cat: Console, desc: "Jogos PSP"}
- {id: 45, cat: Console/Wii, desc: "Jogos Wii"}
- {id: 49, cat: Console/Xbox, desc: "Jogos XBOX"}
- {id: 50, cat: Console/Xbox 360, desc: "Jogos XBOX360"}
- {id: 171, cat: Console, desc: "Jogos XBOXONE"}
#MUSIC
- {id: 29, cat: Audio, desc: "Musica Discografia"}
- {id: 28, cat: Audio, desc: "Musica Gospel"}
- {id: 139, cat: Audio, desc: "Musica Infantil"}
- {id: 27, cat: Audio, desc: "Musica Internacionais"}
- {id: 26, cat: Audio, desc: "Musica Nacionais"}
- {id: 91, cat: Audio, desc: "Musica Outros"}
#TV-SERIES
- {id: 35, cat: TV/HD, desc: "Séries HD"}
- {id: 8, cat: TV, desc: "Séries"}
#SHOWS
- {id: 13, cat: Audio/Video, desc: "Show"}
- {id: 56, cat: Audio/Video, desc: "Video Clipes"}
#TV
- {id: 53, cat: TV, desc: "Entretenimento"}
- {id: 54, cat: TV/Sport, desc: "Esportes"}
- {id: 138, cat: TV, desc: "Infantil"}
- {id: 55, cat: TV, desc: "Jornalismo"}
#XXX
- {id: 36, cat: XXX/Other, desc: "Anime Hentai"}
- {id: 10, cat: XXX, desc: "Filmes Adultos"}
- {id: 37, cat: XXX/Other, desc: "XXX Fotos"}
- {id: 95, cat: XXX/Other, desc: "XXX Revistas"}
modes:
search: [q]
login:
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
test:
path: torrents.php
search:
path: torrents-search.php
keywordsfilters:
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
inputs:
search: "{{ .Keywords }}"
rows:
selector: table[class^="ttable_headinner"] > tbody > tr:has(a[href^="torrents-details.php?id="])
fields:
details:
selector: a[href^="torrents-details.php?id="]
attribute: href
title:
selector: a[href^="torrents-details.php?id="]
download:
selector: a[href^="torrents-details.php?id="]
attribute: href
filters:
- name: replace
args: ["torrents-details.php", "download.php"]
category:
selector: a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
date:
selector: td:nth-child(2) > span
filters:
- name: replace
args: ["(", ""]
- name: replace
args: [")", ""]
size:
selector: td:nth-child(3)
grabs:
selector: td:nth-child(4) > font > b
seeders:
selector: td:nth-child(5) > b > font
leechers:
selector: td:nth-child(6) > font > b
downloadvolumefactor:
case:
"img[alt=\"[free]\"]": "0"
"*": "1"
uploadvolumefactor:
case:
"img[alt=\"[+UP x2]\"]": "2"
"*": "1"

View File

@@ -0,0 +1,122 @@
 site: backups
name: Back-ups
description: "Back-Ups is a Private Torrent Tracker for MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: UTF-8
links:
- https://back-ups.me/
caps:
categorymappings:
- {id: 12, cat: Console, desc: "XBOX360"}
- {id: 9, cat: TV, desc: "TV-Boxsets"}
- {id: 3, cat: PC, desc: "Apps"}
- {id: 24, cat: PC, desc: "Apple"}
- {id: 11, cat: TV, desc: "TV/x264"}
- {id: 23, cat: Console, desc: "Visionary"}
- {id: 14, cat: TV/Sport, desc: "WWE"}
- {id: 26, cat: Console, desc: "Xbox"}
- {id: 13, cat: Console, desc: "XBOX-JTAG"}
- {id: 35, cat: Movies/Other, desc: "Anime"}
- {id: 4, cat: Movies/BluRay, desc: "Blu-Ray"}
- {id: 6, cat: Movies, desc: "Movies/XVID"}
- {id: 10, cat: TV, desc: "TV/Xvid"}
- {id: 29, cat: TV/Sport, desc: "Sport"}
- {id: 40, cat: TV, desc: "Soaps"}
- {id: 27, cat: Console, desc: "Roms and Emulators"}
- {id: 30, cat: Console, desc: "Playstation"}
- {id: 7, cat: Audio, desc: "Music"}
- {id: 16, cat: TV/Documentary, desc: "Docu"}
- {id: 5, cat: Books, desc: "EBooks"}
- {id: 38, cat: Console, desc: "Hyperspin Bolt-on Edition"}
- {id: 34, cat: TV, desc: "Kids"}
- {id: 8, cat: PC/Games, desc: "PC Games"}
- {id: 22, cat: PC/Games, desc: "CoinOPS"}
- {id: 33, cat: TV/Sport, desc: "MMA/Boxing"}
- {id: 32, cat: Movies, desc: "Movie Pack"}
- {id: 31, cat: Console, desc: "Nintendo"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: /takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td:contains("remaining tries")
test:
path: browse.php
selector: a[href*="/logout.php"]
search:
path: browse.php
keywordsfilters:
# remove words <= 3 characters and surrounding special characters
- name: re_replace
args: ["(?:^|\\s)[_\\+\\/\\.\\-\\(\\)]*[\\S]{0,3}[_\\+\\/\\.\\-\\(\\)]*(?:\\s|$)", " "]
inputs:
do: "search"
keywords: "{{ .Keywords }}"
search_type: "t_name"
category: "0" # multi cat search not supported
include_dead_torrents: "yes"
rows:
selector: table#sortabletable > tbody > tr:has(a[href*="/details.php?id="])
filters:
- name: andmatch
args: 66
fields:
title:
selector: a[href*="/details.php?id="]
title:
optional: true
selector: div.tooltip-content > div
details:
selector: a[href*="/details.php?id="]
attribute: href
download:
selector: a[href*="/download.php?id="]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
category:
selector: a[href*="/browse.php?category="]
attribute: href
filters:
- name: querystring
args: category
size:
selector: td:nth-child(5)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
date:
selector: "td:nth-child(2) > div:has(span[style=\"float: right;\"])"
remove: span
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "02-01-2006 15:04 -07:00"
banner:
optional: true
selector: div.tooltip-content > img
attribute: src
downloadvolumefactor:
case:
img[alt^="Free Torrent "]: "0"
img[alt^="Silver Torrent "]: "0.5"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: bithq
name: BitHQ
description: "BitHQ is a Private Torrent Tracker for DVD-R / BLURAY MOVIES / TV"
language: en-us
type: private
encoding: windows-1252
@@ -90,4 +91,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,6 +1,7 @@
---
---
site: bithumen
name: BitHUmen
description: "BitHUmen is a Hungarian Private site for TV / MOVIES / GENERAL"
language: hu-hu
type: private
encoding: ISO-8859-2
@@ -72,7 +73,8 @@
attribute: href
title:
selector: a[href^="details.php?id="]
title|optional:
title:
optional: true
selector: a[href^="details.php?id="]
attribute: title
details:
@@ -108,14 +110,16 @@
selector: td:nth-child(6) > u
downloadvolumefactor:
text: "1"
downloadvolumefactor|optional:
downloadvolumefactor:
optional: true
selector: td:nth-child(6) > nobr > font:contains(" × ")
filters:
- name: replace
args: ["×", ""]
uploadvolumefactor:
text: "1"
uploadvolumefactor|optional:
uploadvolumefactor:
optional: true
selector: td:nth-child(5) > nobr > font:contains(" × ")
filters:
- name: replace
@@ -131,4 +135,3 @@
description:
selector: td:nth-child(2) > div

View File

@@ -1,6 +1,7 @@
---
---
site: bitspyder
name: Bitspyder
description: "Bitspyder is a Private site for Educational BOOKS / AUDIO"
language: en-us
type: private
encoding: windows-1252
@@ -94,7 +95,7 @@
files:
selector: a[href*="&filelist=1"]
grabs:
selector: td.rowcol:nth-child(7):has(br)
selector: td.rowcol:nth-child(7):has(br), td.clear:nth-child(4)
filters:
- name: regexp
args: ([\d,]+)
@@ -102,7 +103,8 @@
selector: td.rowcol:nth-last-child(3)
leechers:
selector: td.rowcol:nth-last-child(2)
date|optional|1:
date:
optional: true
selector: font[color="5F5F5F"]
filters:
- name: split
@@ -113,7 +115,8 @@
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
date|optional|2:
date:
optional: true
selector: a[title^="Upploaded at"]
attribute: title
filters:
@@ -129,5 +132,6 @@
uploadvolumefactor:
case:
"*": "1"
description|optional:
description:
optional: true
selector: font[color="#990000"]

View File

@@ -1,6 +1,7 @@
---
site: bluebirdhd
name: BlueBird
description: "BlueBird is a RUSSIAN Private Torrent Tracker for HD MOVIES"
language: ru-ru
type: private
encoding: windows-1251

View File

@@ -0,0 +1,103 @@
---
site: blutopia
name: Blutopia
description: "HD Movie tracker"
language: en-us
type: private
encoding: UTF-8
links:
- https://blutopia.xyz/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Movies, desc: "FANRES"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login:
path: /login
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table.main:contains("Login Failed!")
test:
path: /torrents
search:
path: /filter
inputs:
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
imdb: "{{ .Query.IMDBIDShort }}"
tvdb: ""
tmdb: ""
sorting: created_at
direction: desc
qty: 100
preprocessingfilters:
- name: jsonjoinarray
args: ["$.result", ""]
- name: prepend
args: "<table>"
- name: append
args: "</table>"
rows:
selector: tr
fields:
category:
selector: a[href*="/categories/"]
attribute: href
filters:
- name: strdump
- name: regexp
args: "/categories/.*?\\.(\\d+)"
- name: strdump
title:
selector: a.view-torrent
download:
selector: a[href*="/download_check/"]
attribute: href
filters:
- name: replace
args: ["/download_check/", "/download/"]
details:
selector: a.view-torrent
attribute: href
imdb:
optional: true
selector: a[href*="://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: time
attribute: datetime
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor:
case:
"i[data-original-title=\"100% Free\"]": "0"
"*": "1"
uploadvolumefactor:
case:
"i[data-original-title=\"Double upload\"]": "2"
"*": "1"

View File

@@ -0,0 +1,58 @@
---
site: btbit
name: btbit
description: "btbit is a public magnet search engine for MOVIES / GENERAL. This definition is for the English site."
language: en-us
type: public
encoding: UTF-8
links:
- http://en.btbit.org/
caps:
categories:
"Movie": Movies
"Package": PC/0day
"Other": Other
"Software": PC
"Mirror": PC/ISO
"Music": Audio
"Picture": Other/Misc
"Document": Books
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
search:
path: "list/{{if .Keywords}}{{.Keywords}}{{else}}movie{{end}}.html"
rows:
selector: .rs
fields:
title:
selector: .title
category:
selector: .sbar span[class^="cpill"]
details:
selector: .title h3 a
attribute: href
download:
selector: .sbar a[href^="magnet:?xt"]
attribute: href
date:
selector: .sbar span:nth-of-type(3) b
filters:
- name: dateparse
args: "2006-01-02"
size:
selector: .sbar span:nth-of-type(4) b
files:
selector: .sbar span:nth-of-type(5) b
grabs:
selector: .sbar span:nth-of-type(6) b
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -0,0 +1,77 @@
---
site: btdb
name: BTDB
description: "BTDB is a Public BitTorrent DHT search engine. Torrents can be downloaded via magnet links"
language: en-us
type: public
encoding: UTF-8
links:
- https://btdb.to/
caps:
categorymappings:
- {id: 1, cat: Other, desc: "Other"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Movies, desc: ""}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: info
type: info
label: Category for Sonarr and Radarr
default: BTDB does not use categories. In your Sonarr or Radarr Torznab Indexer settings, set the category to 100001.
search:
path: "{{if .Keywords}}q/{{ .Keywords}}/?sort=time{{else}}recent{{end}}"
rows:
selector: li[class$="item"]
fields:
title:
selector: h2[class$="title"] a[href^="/torrent/"]
attribute: title
category:
text: "1"
details:
selector: h2[class$="title"] a[href^="/torrent/"]
attribute: href
magnet:
selector: div[class$="info"] a[href^="magnet:"]
attribute: href
date:
selector: div[class$="info"]
filters:
- name: split
args: ["\n", 3]
- name: replace
args: ["AddTime: ", ""]
- name: dateparse
args: "2006-01-02 15:04:05"
size:
selector: div[class$="info"]
filters:
- name: split
args: ["\n", 1]
- name: replace
args: ["Size: ", ""]
files:
selector: div[class$="info"]
filters:
- name: split
args: ["\n", 2]
- name: replace
args: ["Files: ", ""]
grabs:
selector: div[class$="info"]
filters:
- name: split
args: ["\n", 4]
- name: replace
args: ["Popularity: ", ""]
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: btnext
name: BTNext
description: "BTNext (BTNT) is a PORTUGUESE Private Torrent Tracker for 0DAY / GENERAL"
language: pt-pt
type: private
encoding: UTF-8
@@ -120,7 +121,7 @@
search_type: "name"
searchin: "title"
error:
- selector: div.error
- selector: div.error:not(:contains("Não existem resultados encontrados."))
rows:
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
fields:

View File

@@ -1,6 +1,7 @@
---
site: carpathians
name: Carpathians
description: "Carpathians is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL"
language: hu-hu
type: private
encoding: UTF-8

View File

@@ -1,4 +1,4 @@
---
---
site: chdbits
name: CHDBits
description: "A general tracker"
@@ -54,7 +54,8 @@
fields:
title:
selector: a[href^="details.php?id="]
title|optional:
title:
optional: true
selector: a[title][href^="details.php?id="]
attribute: title
category:

View File

@@ -0,0 +1,95 @@
---
site: cpasbien
name: cpasbien
description: "cpasbien is a FRENCH Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
- http://cpabien.la/
legacylinks:
- http://cpabien.org/
- http://cpabien.cc/
- http://cpabien.co/
caps:
categorymappings:
- {id: films, cat: Movies, desc: "Movies"}
- {id: series, cat: TV, desc: "TV"}
modes:
search: [q]
tv-search: [q, season, ep]
settings: []
download:
selector: "#telecharger"
search:
path: "/search.php?t={{ .Query.Keywords }}"
rows:
selector: div[class^='ligne']
fields:
site_date:
selector: a
filters:
# date is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\w+)$"
title:
selector: a
filters:
# now we put the date at the right place according scene naming rules using .Result.site_date
- name: replace
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
- name: replace
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
- name: replace
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
# and we delete it at the end
- name: re_replace
args: ["(\\w+)$", ""]
details:
selector: a
attribute: href
download:
selector: a
attribute: href
size:
selector: div.poid
filters:
- name: re_replace
args: [ "\\.(\\d) Ko", "$1X00"]
- name: re_replace
args: [ " Ko", "000"]
- name: re_replace
args: [ "\\.(\\d) Mo", "$1X00000"]
- name: re_replace
args: [ " Mo", "000000"]
- name: re_replace
args: [ "\\.(\\d) Go", "$1X00000000"]
- name: re_replace
args: [ " Go", "000000000"]
- name: re_replace
args: [ "\\.(\\d) To", "$1X00000000000"]
- name: re_replace
args: [ " To", "000000000000"]
- name: replace
args: [ "X", "" ]
date:
text: "now"
seeders:
text: 0
seeders:
selector: div.up
optional: true
leechers:
text: 0
leechers:
selector: div.down
optional: true
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: czteam
name: CZTeam
description: "CZTeam (CZT) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: cs-cz
type: private
encoding: UTF-8
@@ -91,4 +92,4 @@
"*": "1"
description:
selector: div.torrent_info
remove: strong
remove: strong

View File

@@ -0,0 +1,137 @@
 site: cztorrent
name: CzTorrent
description: "CzTorrent is a Czech Semi-Private site for TV / MOVIES / GENERAL"
language: cs-cz
type: semi-private
encoding: UTF-8
links:
- https://tracker.cztorrent.net/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Filmy"}
- {id: 25, cat: TV, desc: "Seriály"}
- {id: 23, cat: TV/Documentary, desc: "Filmy - dokument"}
- {id: 22, cat: PC, desc: "Aplikace"}
- {id: 36, cat: Movies/3D, desc: "Filmy - 3D"}
- {id: 35, cat: Movies/Other, desc: "Filmy - anime"}
- {id: 37, cat: Movies/BluRay, desc: "Filmy - Blu-ray"}
- {id: 11, cat: Movies/DVD, desc: "Filmy - DVD"}
- {id: 30, cat: Movies/DVD, desc: "Filmy - DVD full"}
- {id: 5, cat: Movies, desc: "Filmy - kreslené"}
- {id: 31, cat: Movies/HD, desc: "HD"}
- {id: 38, cat: Movies/HD, desc: "HD-LQ"}
- {id: 3, cat: PC/Games, desc: "Hry"}
- {id: 2, cat: Audio, desc: "Hudba"}
- {id: 34, cat: Audio/Video, desc: "Hudba DVD/HD"}
- {id: 6, cat: Books, desc: "Knihy"}
- {id: 13, cat: Console, desc: "Konzole"}
- {id: 32, cat: Audio, desc: "Mluvené slovo"}
- {id: 16, cat: PC/Phone-Other, desc: "Mobil, PDA"}
- {id: 4, cat: Other, desc: "Ostatní"}
- {id: 29, cat: Audio, desc: "Soundtrack"}
- {id: 19, cat: Audio/Video, desc: "Videoklipy"}
- {id: 24, cat: XXX, desc: "xXx"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: /login-page
method: form
form: form[action^="/login"]
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
persistent_login: "1"
error:
- selector: div.error
test:
path: /torrents
search:
path: /torrents
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
s: "{{ .Keywords }}"
t: "1"
rows:
selector: tr.torr_hover
fields:
title:
selector: td.detaily a
filters:
- name: re_replace
args: [".*? / ", ""]
- name: diacritics
args: replace
- name: replace
args: ["serie", ""]
- name: replace
args: ["Serie", ""]
- name: re_replace
args: ["(\\d{2})\\.", "S$1"]
- name: re_replace
args: ["(\\d{1})\\.", "S0$1"]
category:
selector: td:nth-child(2)
case:
":contains(\"Filmy\")": 1
":contains(\"Seriály\")": 25
":contains(\"Filmy - dokument\")": 23
":contains(\"Aplikace\")": 22
":contains(\"Filmy - 3D\")": 36
":contains(\"Filmy - anime\")": 35
":contains(\"Filmy - Blu-ray\")": 37
":contains(\"Filmy - DVD\")": 11
":contains(\"Filmy - DVD full\")": 30
":contains(\"Filmy - kreslené\")": 5
":contains(\"HD\")": 31
":contains(\"HD-LQ\")": 38
":contains(\"Hry\")": 3
":contains(\"Hudba\")": 2
":contains(\"Hudba DVD/HD\")": 34
":contains(\"Knihy\")": 6
":contains(\"Konzole\")": 13
":contains(\"Mluvené slovo\")": 32
":contains(\"Mobil, PDA\")": 16
":contains(\"Ostatní\")": 4
":contains(\"Soundtrack\")": 29
":contains(\"Videoklipy\")": 19
":contains(\"xXx\")": 24
details:
selector: td.detaily a
attribute: href
download:
selector: td.download a
attribute: href
size:
selector: td.detaily
filters:
- name: split
args: [ "|", 0 ]
- name: regexp
args: "Velikost: (.+?) ?$"
date:
selector: td:nth-child(4)
filters:
- name: split
args: [ "|", 1 ]
- name: regexp
args: "Přidán: (.+?) ?$"
- name: append
args: " +02:00"
- name: dateparse
args: "2.1.2006 15:04 -07:00"
seeders:
selector: td:nth-child(7) span
leechers:
selector: td:nth-child(8) span
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: datascene
name: DataScene
description: "DataScene (DS) is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: ro-ro
type: private
encoding: windows-1252
@@ -67,11 +68,15 @@
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
selector: tr:has(a.tname)
selector: div.ncls > table > tbody > tr:has(a.tname)
fields:
title:
title-attribute:
selector: a.tname
attribute: title
title-text:
selector: a.tname
title:
text: "{{if .Result.title-attribute }}{{ .Result.title-attribute }}{{else}}{{ .Result.title-text }}{{end}}"
details:
selector: a.tname
attribute: href
@@ -82,38 +87,41 @@
- name: querystring
args: cat
download:
selector: a[href^="/download.php/"]
selector: a[href^="/download.php/"], a[href^="/downloadd.php/"] # some releases use a download link with two d's
attribute: href
grabs:
selector: td:nth-child(7)
selector: td:nth-child(8)
filters:
- name: regexp
args: (\d+)
size:
selector: td:nth-child(6)
selector: td:nth-child(7)
date:
selector: td:nth-child(2) > right > div:has(font:contains("Uploaded"))
remove: div > font
filters:
- name: trim
args: ":"
- name: replace
args: ["Uploaded: ", ""]
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
leechers:
selector: td:nth-child(10)
banner:
selector: a.tname
attribute: onmouseover
filters:
- name: regexp
args: src=([^\s]+)
imdb:
selector: a[href^="http://www.imdb.com/title/"]
optional: true
attribute: href
downloadvolumefactor:
case:
"img[src=\"pic/free.gif\"]": "0"
"img[src=\"pic/free.png\"]": "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
description:
selector: td:nth-child(2) > right
remove: div
remove: div

View File

@@ -1,6 +1,7 @@
---
site: deildu
name: Deildu
description: "Deildu is an Icelandic Semi-Private site for TV / MOVIES / GENERAL"
language: is-is
type: semi-private
encoding: iso-8859-1

View File

@@ -1,6 +1,7 @@
---
---
site: diablotorrent
name: Diablo Torrent
description: " Diablo Torrent is a Hungarian Private site for TV / MOVIES / GENERAL"
language: hu-hu
type: private
encoding: UTF-8
@@ -58,32 +59,25 @@
movie-search: [q]
login:
path: login.php
submitpath: login.php
path: login
submitpath: login/run
method: form
inputs:
referer: ""
nev: "{{ .Config.username }}"
jelszo: "{{ .Config.password }}"
fsv: "-1"
ssl: "1"
fsv: "0"
login: "1"
belepes: "1"
getselectorinputs:
c:
selector: "script:contains(\"login.php\")"
filters:
- name: regexp
args: "login.php\\?c=(.*?)&rhash="
rhash:
text: "123"
rhash: "123"
test:
path: browse.php
path: browse
search:
path: browse.php
path: browse
inputs:
$raw: "{{range .Categories}}category[]={{.}}&{{end}}"
cim: "{{ .Keywords }}"
search: "{{ .Keywords }}"
s_alapjan: "7"
s_sorrend: "desc"
rows:
@@ -93,10 +87,8 @@
download:
selector: div.box_download > a
attribute: href
#title: # shortened
# selector: a.box_name_a
title:
selector: div.torrent_details_po + h2
selector: a.box_name_a > span
details:
selector: a.box_name_a
attribute: href
@@ -123,13 +115,15 @@
args: "2006-01-0215:04:05 -07:00"
size:
selector: div.box_size
banner|optional:
banner:
optional: true
selector: a.cover_a
attribute: title
filters:
- name: regexp
args: src='(.*?)'
imdb|optional:
imdb:
optional: true
selector: a[href^="http://www.imdb.com/title/"]
attribute: href
description:

View File

@@ -1,154 +0,0 @@
---
site: dragonworld
name: Dragon World (DTW)
language: de-de
type: private
encoding: UTF-8
links:
- http://dtw.sytes.net/
caps:
categorymappings:
# Dokumentation
- {id: 46, cat: TV/Documentary, desc: "Dokumentation"}
- {id: 55, cat: TV/Documentary, desc: "Dokumentation/HD"}
- {id: 56, cat: TV/Documentary, desc: "Dokumentation/SD"}
# Ebooks
- {id: 36, cat: Books, desc: "Ebooks"}
- {id: 37, cat: Books, desc: "Ebooks"}
- {id: 38, cat: Books, desc: "Ebooks/Hoerspiele/Hoerbuecher"}
# Games
- {id: 21, cat: Console, desc: "Games"}
- {id: 24, cat: Console/Other, desc: "Games/Nintendo"}
- {id: 22, cat: PC/Games, desc: "Games/PC"}
- {id: 23, cat: Console/PS4, desc: "Games/Playstation"}
- {id: 25, cat: Console/Xbox, desc: "Games/Xbox"}
# Kinder
- {id: 10, cat: Other, desc: "Kinder"}
- {id: 14, cat: Other, desc: "Kinder/Diverses"}
- {id: 12, cat: Movies, desc: "Kinder/Filme"}
- {id: 11, cat: PC/Games, desc: "Kinder/Games"}
- {id: 13, cat: Audio, desc: "Kinder/Musik"}
# Movies
- {id: 15, cat: Movies, desc: "Movies"}
- {id: 50, cat: Movies/3D, desc: "Movies/3D"}
- {id: 48, cat: Movies/HD, desc: "Movies/HD"}
- {id: 53, cat: Movies/HD, desc: "Movies/HD Pack"}
- {id: 45, cat: Movies/HD, desc: "Movies/Remuxe"}
- {id: 17, cat: Movies/SD, desc: "Movies/SD"}
- {id: 54, cat: Movies/SD, desc: "Movies/SD Pack"}
# Musik
- {id: 4, cat: Audio, desc: "Musik"}
- {id: 57, cat: Audio, desc: "Musik/Album"}
- {id: 8, cat: Audio/Lossless, desc: "Musik/Flac"}
- {id: 7, cat: Audio/MP3, desc: "Musik/Mp3"}
- {id: 9, cat: Audio/Video, desc: "Musik/Video"}
# Serien
- {id: 26, cat: TV, desc: "Serien"}
- {id: 27, cat: TV/HD, desc: "Serien/HD"}
- {id: 28, cat: TV/SD, desc: "Serien/SD"}
# Software
- {id: 29, cat: PC/0day, desc: "Software"}
- {id: 32, cat: PC/0day, desc: "Software/Diverses"}
- {id: 31, cat: PC/Mac, desc: "Software/Mac"}
- {id: 30, cat: PC/0day, desc: "Software/Windows"}
# Sport
- {id: 39, cat: TV/Sport, desc: "Sport"}
- {id: 40, cat: TV/Sport, desc: "Sport HD"}
- {id: 58, cat: TV/Sport, desc: "Sport SD"}
# XXX
- {id: 33, cat: XXX, desc: "XXX"}
- {id: 34, cat: XXX, desc: "XXX/HD"}
- {id: 35, cat: XXX, desc: "XXX/SD"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table:has(td:contains("Ein Fehler ist aufgetreten"))
test:
path: browse.php
selector: a[href*="/logout.php"]
download:
before:
path: "takethanks.php"
method: "post"
inputs:
torrentid: "{{ .DownloadUri.Query.id }}"
search:
path: browse.php
keywordsfilters:
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
inputs:
do: "search"
keywords: "{{ .Keywords }}"
search_type: "t_name"
category: "0" # multi cat search not supported
include_dead_torrents: "yes"
rows:
selector: table#sortabletable > tbody > tr:has(a[href*="/details.php?id="])
filters:
- name: andmatch
args: 66
fields:
download:
selector: a[href*="/download.php?id="]
attribute: href
magnet:
selector: a[href^="magnet:"]
attribute: href
title:
selector: a[href*="/details.php?id="]
title:
selector: div.tooltip-content > div
optional: true
details:
selector: a[href*="/details.php?id="]
attribute: href
category:
selector: a[href*="/browse.php?category="]
attribute: href
filters:
- name: querystring
args: category
banner:
selector: div.tooltip-content > img
attribute: src
optional: true
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:
img[alt^="OnlyUp Torrent"]: "0"
img[alt^="50% "]: "0.5"
"*": "1"
uploadvolumefactor:
case:
img[alt^="multi2 Torrent"]: "2"
"*": "1"
date:
selector: "td:nth-child(2) > div:has(span[style=\"float: right;\"])"
remove: span
filters:
- name: append
args: " +01:00"
- name: dateparse
args: "02-01-2006 15:04 -07:00"

View File

@@ -1,6 +1,7 @@
---
site: dragonworldreloaded
name: Dragonworld Reloaded
description: "Dragonworld Reloaded is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: de-de
type: private
encoding: UTF-8

View File

@@ -1,10 +1,13 @@
---
site: dreamteam
name: Dream Team
description: "Dream Team is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL"
language: el-gr
type: private
encoding: UTF-8
links:
- http://dream-team.ga/
legacylinks:
- http://dream-team.ml/
caps:
@@ -249,7 +252,7 @@
- selector: td:contains("remaining tries")
test:
path: browse.php
selector: a[href^="http://dream-team.ml/logout.php"]
selector: a[href*="/logout.php"]
download:
before:
@@ -271,29 +274,32 @@
category: "0" # multi cat search not supported
include_dead_torrents: "yes"
rows:
selector: table#sortabletable > tbody > tr:has(a[href^="http://dream-team.ml/details.php?id="])
selector: table#sortabletable > tbody > tr:has(a[href*="/details.php?id="])
filters:
- name: andmatch
args: 66
fields:
download:
selector: a[href^="http://dream-team.ml/download.php?id="]
selector: a[href*="/download.php?id="]
attribute: href
title:
selector: a[href^="http://dream-team.ml/details.php?id="]
title|optional:
selector: a[href*="/details.php?id="]
title:
optional: true
selector: div.tooltip-content > div
details:
selector: a[href^="http://dream-team.ml/details.php?id="]
selector: a[href*="/details.php?id="]
attribute: href
category:
selector: a[href^="http://dream-team.ml/browse.php?category="]
selector: a[href*="/browse.php?category="]
attribute: href
filters:
- name: querystring
args: category
banner|optional:
banner:
optional: true
selector: div.tooltip-content > img
attribute: src
size:
selector: td:nth-child(5)
grabs:

View File

@@ -1,11 +1,12 @@
---
site: hdclub
name: HDClub
---
site: elitehd
name: EliteHD
description: "EliteHD (HDClub) is a RUSSIAN Private Torrent Tracker for HD MOVIES / TV / GENERAL"
language: ru-ru
type: private
encoding: windows-1251
links:
- http://hdclub.org
- https://elitehd.org/
caps:
categorymappings:
@@ -95,4 +96,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -6,7 +6,7 @@
type: private
encoding: windows-1252
links:
- http://eot-forum.net
- https://eot-forum.net
caps:
categorymappings:

View File

@@ -1,6 +1,7 @@
---
site: estone
name: eStone
description: "eStone (XiDER, BeLoad) is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL"
language: hu-hu
type: private
encoding: UTF-8

View File

@@ -52,6 +52,8 @@
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
secure_cookie: "0"
error:
- selector: :contains("\"status\":\"error\"")
test:
path: browse.php

View File

@@ -1,6 +1,7 @@
---
site: eztv
name: EZTV
description: "EZTV is a Public torrent site for TV shows"
language: en-us
type: public
encoding: UTF-8
@@ -43,7 +44,8 @@
download:
selector: td:nth-child(3) a.magnet, td:nth-child(3) a
attribute: href
size|optional:
size:
optional: true
selector: td:nth-child(4)
date:
selector: td:nth-child(5)

View File

@@ -1,6 +1,7 @@
---
site: fanoin
name: FANO.IN
description: "Fano.in is a LATVIAN Private Torrent Tracker for 0DAY / GENERAL"
language: lv-lv
type: private
encoding: UTF-8

View File

@@ -1,12 +1,23 @@
---
site: freedomhd
name: Freedom-HD
description: "Freedom-HD (Freedom Paradise) is a ratioless FRENCH Private Torrent Tracker for HD MOVIES / GENERAL"
language: fr-fr
type: private
encoding: UTF-8
links:
- http://freedom-paradise.eu/
download:
before:
path: "list_thanks.php"
method: "get"
inputs:
id: "{{ .DownloadUri.Query.id }}"
to: "give"
torrent: "{{ .DownloadUri.Query.id }}"
caps:
categorymappings:
# ANIMES
@@ -127,4 +138,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,10 +1,13 @@
---
site: fullmixmusic
name: FullMixMusic
description: "FullMixMusic is a HUNGARIAN Private Torrent Tracker for MUSIC"
language: hu-hu
type: private
encoding: UTF-8
links:
- https://fullmixmusic.org/
legacylinks:
- http://fullmixmusic.org/
caps:

View File

@@ -1,6 +1,7 @@
---
---
site: funkytorrents
name: FunkyTorrents
description: "FunkyTorrents (FT) is a Private Torrent Tracker for MUSIC"
language: en-us
type: private
encoding: UTF-8
@@ -72,7 +73,8 @@
rows:
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
fields:
description|optional:
description:
optional: true
selector: td:nth-child(2) > font
title:
selector: td:nth-child(2)
@@ -83,7 +85,8 @@
filters:
- name: querystring
args: cat
category|optional:
category:
optional: true
case:
a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040"
a[href="/browse.php?ext=1&format=MP3"]: "3010"
@@ -116,4 +119,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -0,0 +1,114 @@
site: gay-torrents
name: Gay-Torrents.net
description: "Gay Torrents Live Free!"
language: en-us
type: semi-private
encoding: UTF-8
links:
- https://www.gay-torrents.net/
caps:
categorymappings:
- {id: porn , cat: XXX , desc: "Porn"}
- {id: porn/Amateur , cat: XXX , desc: "Amateur"}
- {id: porn/Anal , cat: XXX , desc: "Anal"}
- {id: porn/Asian , cat: XXX , desc: "Asian"}
- {id: porn/Bareback , cat: XXX , desc: "Bareback"}
- {id: porn/Bears , cat: XXX , desc: "Bears"}
- {id: porn/Bisexual , cat: XXX , desc: "Bisexual"}
- {id: porn/Black-Men , cat: XXX , desc: "Black-Men"}
- {id: porn/Chubs , cat: XXX , desc: "Chubs"}
- {id: porn/Clips , cat: XXX/Packs , desc: "Clips"}
- {id: porn/Cross-Generation , cat: XXX , desc: "Cross-Generation"}
- {id: porn/DVD-R , cat: XXX/DVD , desc: "DVD-R"}
- {id: porn/Fetish , cat: XXX , desc: "Fetish"}
- {id: porn/Group-Sex , cat: XXX , desc: "Group-Sex"}
- {id: porn/HD-Movies , cat: XXX , desc: "HD-Movies"}
- {id: porn/Hunks , cat: XXX , desc: "Hunks"}
- {id: porn/Images , cat: XXX/Imageset , desc: "Images"}
- {id: porn/Interracial , cat: XXX , desc: "Interracial"}
- {id: porn/Jocks , cat: XXX , desc: "Jocks"}
- {id: porn/Latino , cat: XXX , desc: "Latino"}
- {id: porn/Mature , cat: XXX , desc: "Mature"}
- {id: porn/Member , cat: XXX , desc: "Member"}
- {id: porn/MiddleEast , cat: XXX , desc: "MiddleEast"}
- {id: porn/Military , cat: XXX , desc: "Military"}
- {id: porn/Muscle , cat: XXX , desc: "Muscle"}
- {id: porn/Oral-Sex , cat: XXX , desc: "Oral-Sex"}
- {id: porn/Solo , cat: XXX , desc: "Solo"}
- {id: porn/Transsexual , cat: XXX , desc: "Transsexual"}
- {id: porn/Twinks , cat: XXX , desc: "Twinks"}
- {id: porn/Vintage , cat: XXX , desc: "Vintage"}
- {id: porn/Wrestling , cat: XXX , desc: "Wrestling"}
- {id: nonporn , cat: Other , desc: "NonPorn"}
- {id: nonporn/Anime , cat: TV/Anime , desc: "Anime"}
- {id: nonporn/Applications , cat: PC , desc: "Applications"}
- {id: nonporn/Comedy , cat: Movies , desc: "Comedy"}
- {id: nonporn/Comics , cat: Books/Comics , desc: "Comics"}
- {id: nonporn/Coming-Out , cat: Movies , desc: "Coming-Out"}
- {id: nonporn/Documentary , cat: Movies , desc: "Documentary"}
- {id: nonporn/Drama , cat: Movies , desc: "Drama"}
- {id: nonporn/DVD-R , cat: Movies/DVD , desc: "DVD-R"}
- {id: nonporn/Gay-Movies , cat: Movies , desc: "Gay-Movies"}
- {id: nonporn/Misc , cat: Other/Misc , desc: "Misc"}
- {id: nonporn/Short-Film , cat: Movies , desc: "Short-Film"}
- {id: nonporn/Softcore , cat: Movies , desc: "Softcore"}
- {id: nonporn/Thriller , cat: Movies , desc: "Thriller"}
- {id: nonporn/TV-Episode , cat: TV , desc: "TV-Episode"}
modes:
search: [q]
login:
path: login.php
method: post
inputs:
vb_login_username: "{{ .Config.username }}"
vb_login_password: "{{ .Config.password }}"
cookieuser: "1"
do: "login"
test:
path: torrentslist.php
selector: ul.isuser
search:
path: "{{if .Query.Keywords}}search.php{{else}}torrentslist.php{{end}}"
inputs:
$raw: "{{range .Categories}}type={{.}}&{{end}}"
textsearch: "{{ .Query.Keywords }}"
rows:
selector: ul.TorrentList
fields:
category:
selector: .TorrentList1 > a
attribute: href
filters:
- name: querystring
args: type
title:
selector: .TorrentList2 > a
download:
selector: .TorrentList2 > a
attribute: href
filters:
- name: append
args: "&do=download"
details:
selector: .TorrentList2 > a
attribute: href
size:
selector: .TorrentList3
seeders:
selector: .TorrentList6
leechers:
selector: .TorrentList7
date:
selector: li.TorrentList8
filters:
- name: dateparse
args: "02 Jan 06, 15:04"
downloadvolumefactor:
case:
".TorrentList2 > a:contains(\"[FFL]\")": "0"
"*": "1"
uploadvolumefactor:
text: "1"

View File

@@ -0,0 +1,113 @@
site: gaytorrentru
name: GayTorrent.ru
description: "World largest gay porn library for free with a stunning forum and 24/7 Chat"
language: en-us
type: private
encoding: UTF-8
links:
- https://www.gaytorrent.ru/
caps:
categorymappings:
- {id: 62 , cat: XXX , desc: "Amateur"}
- {id: 29 , cat: XXX , desc: "Anal"}
- {id: 46 , cat: XXX , desc: "Anime Games"}
- {id: 30 , cat: XXX , desc: "Asian"}
- {id: 43 , cat: XXX , desc: "Bareback"}
- {id: 19 , cat: XXX , desc: "BDSM"}
- {id: 17 , cat: XXX , desc: "Bears"}
- {id: 44 , cat: XXX , desc: "Black"}
- {id: 50 , cat: Books , desc: "Books & Magazines"}
- {id: 9 , cat: XXX , desc: "Chubbies"}
- {id: 7 , cat: XXX , desc: "Clips"}
- {id: 48 , cat: Books/Comics , desc: "Comic & Yaoi"}
- {id: 5 , cat: XXX , desc: "Daddies / Sons"}
- {id: 34 , cat: XXX , desc: "Fetish"}
- {id: 27 , cat: XXX , desc: "Grey / Older"}
- {id: 32 , cat: XXX , desc: "Group-Sex"}
- {id: 63 , cat: XXX , desc: "Homemade"}
- {id: 12 , cat: XXX , desc: "Hunks"}
- {id: 33 , cat: XXX , desc: "Images"}
- {id: 53 , cat: XXX , desc: "Interracial"}
- {id: 57 , cat: XXX , desc: "Jocks"}
- {id: 35 , cat: XXX , desc: "Latino"}
- {id: 36 , cat: XXX , desc: "Mature"}
- {id: 58 , cat: PC , desc: "Media Programs"}
- {id: 37 , cat: XXX , desc: "Member"}
- {id: 54 , cat: XXX , desc: "Middle Eastern"}
- {id: 38 , cat: XXX , desc: "Military"}
- {id: 39 , cat: XXX , desc: "Oral-Sex"}
- {id: 47 , cat: XXX , desc: "Shemale"}
- {id: 56 , cat: XXX , desc: "Softcore"}
- {id: 40 , cat: XXX , desc: "Solo"}
- {id: 45 , cat: Movies , desc: "Themed Movie"}
- {id: 1 , cat: TV , desc: "TV / Episodes"}
- {id: 41 , cat: XXX , desc: "Twinks"}
- {id: 42 , cat: XXX , desc: "Vintage"}
- {id: 51 , cat: XXX , desc: "Voyeur"}
- {id: 65 , cat: XXX , desc: "Wrestling and Sports"}
- {id: 28 , cat: XXX , desc: "Youngblood"}
modes:
search: [q]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
test:
path: browse.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "0" # Searches only for alive torrents
rows:
selector: table.browse_result > tbody > tr:has(a[href^="details.php?id="])
fields:
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: .browsedesc > a
download:
selector: a[href^="download.php/"]
attribute: href
details:
selector: a[href^="details.php?id="]
attribute: href
grabs:
selector: .tsnatch
files:
selector: .tfiles
filters:
- name: regexp
args: ([\d]+)
size:
selector: .tsize
seeders:
optional: true
selector: a[href$="&toseeders=1"]
leechers:
optional: true
selector: a[href$="&todlers=1"]
date:
selector: .tadded
filters:
- name: re_replace
args: ["(\\d{4}-\\d{2}-\\d{2})(\\d{2}:\\d{2}:\\d{2})(.*)","$1 $2"]
- name: dateparse
args: "2006-01-02 15:04:05"
downloadvolumefactor:
case:
"td:nth-child(3) > div > nobr > font[color=\"yellow\"]": "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: gfxpeers
name: GFXPeers
description: "GFXPeers is a ratio-based torrent tracker for all things graphic design and visual effects"
language: en-us
type: private
encoding: UTF-8

View File

@@ -1,6 +1,7 @@
---
site: gigatorrents
name: GigaTorrents
description: "Giga Torrents is a Hungarian Private site for TV / MOVIES / GENERAL"
language: hu-hu
type: private
encoding: UTF-8
@@ -70,6 +71,8 @@
blah: "0"
rows:
selector: table#torrenttable > tbody > tr:has()
error:
- selector: div.content:contains("Meg van vonva a letöltési jogod")
fields:
download:
selector: a[href^="/details.php?id="]
@@ -138,4 +141,4 @@
size:
selector: td:nth-child(6)
remove: span

View File

@@ -0,0 +1,82 @@
---
site: gktorrent
name: GkTorrent
description: "GkTorrent is a French Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
- http://www.gktorrent.com
legacylinks:
- https://www.gktorrent.com # they're forcing http
caps:
categorymappings:
- {id: movies, cat: Movies, desc: "Movies"}
- {id: tvshows, cat: TV, desc: "TV Shows"}
- {id: softwares, cat: PC, desc: "Softwares"}
- {id: music, cat: Audio, desc: "Music"}
- {id: games, cat: Console, desc: "Games"}
- {id: books, cat: Books, desc: "Books"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
download:
selector: a[href^="/get_torrent/"]
search:
path: "{{if .Keywords}}/recherche/{{.Keywords}}{{else}}{{end}}"
rows:
selector: div.listing-torrent > table > tbody > tr:has(a)
fields:
site_date:
selector: td:nth-child(1) a
filters:
# date is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\w+)$"
title:
selector: td:nth-child(1) a
filters:
# now we put the date at the right place according scene naming rules using .Result.site_date
- name: replace
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
- name: replace
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
- name: replace
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
# and we delete it at the end
- name: re_replace
args: ["(\\w+)$", ""]
details:
selector: td:nth-child(1) a
attribute: href
download:
selector: td:nth-child(1) a
attribute: href
size:
selector: td:nth-child(2)
seeders:
selector: td:nth-child(3)
leechers:
selector: td:nth-child(4)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
category:
selector: td:nth-child(1) > i
case:
.Films: "movies"
.Séries: "tvshows"
.Logiciels: "softwares"
.Musiques: "music"
.Jeux: "games"
.Ebooks: "books"
date:
text: "now"

View File

@@ -1,6 +1,7 @@
---
site: gods
name: GODS
description: "GODS is a German Private site for TV / MOVIES / GENERAL"
language: de-de
type: private
encoding: windows-1252
@@ -159,4 +160,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: gormogon
name: Gormogon
description: "Gormogon is a Private Torrent Tracker for CLASSIC MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: UTF-8
@@ -190,4 +191,4 @@
img[alt="8x Upload Multiplier"]: "8"
img[alt="9x Upload Multiplier"]: "9"
img[alt="10x Upload Multiplier"]: "10"
"*": "1"
"*": "1"

View File

@@ -2,6 +2,7 @@
site: greekteam
name: Greek Team
language: el-gr
description: "Greek Team is a GREEK Private site for TV / MOVIES / GENERAL"
type: private
encoding: windows-1253
links:
@@ -119,9 +120,9 @@
download:
text: "download2.php?torrent={{ .Result._id }}"
size:
selector: td:nth-last-child(3)
selector: td:nth-last-child(4)
date:
selector: td:nth-last-child(5)
selector: td:nth-last-child(6) > nobr
filters:
- name: append
args: " +02:00"
@@ -130,9 +131,9 @@
files:
selector: td:nth-last-child(7)
seeders:
selector: td:nth-last-child(2)
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(1)
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
"img[src=\"pic/free.png\"]": "0"

View File

@@ -1,6 +1,7 @@
---
site: hdhome
name: HDHome
description: "HDHome (HDBiger) is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
language: zh-cn
type: private
encoding: UTF-8
@@ -139,4 +140,4 @@
"*": "1"
description:
selector: td:nth-child(2)
remove: a, img
remove: a, img

View File

@@ -1,6 +1,7 @@
---
site: hdme
name: HDME
description: "HDME is a Private Torrent Tracker for HD MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: windows-1252

View File

@@ -1,6 +1,7 @@
---
site: hdtorrentsit
name: HDTorrents.it
description: "HDTorrents.it is an ITALIAN Private site for TV / MOVIES"
language: it-it
type: private
encoding: UTF-8
@@ -31,34 +32,71 @@
paths:
- path: browse.php
method: post
keywordsfilters:
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
- name: diacritics
args: replace
- name: re_replace #remove SXXEYY from research
args: ["(S\\d{1,2}E\\d{1,2})", ""]
- name: re_replace #remove SXX from research
args: ["(S\\d{1,2})", ""]
inputs:
ajax: false
search: "{{ .Query.Keywords }}"
search: "{{ .Keywords }}"
incldead: 0
rows:
selector: tbody#highlighted tr
fields:
title-no-filters:
selector: td:nth-child(2) a:nth-child(1)
title:
selector: td:nth-child(2) a:nth-child(1)
filters:
- name: re_replace #separate title
args: ["(\\s+\\/\\s+|\\/\\s+|\\s+\\/|\\/)(.*)\\s\\(", " ("]
- name: re_replace #remove (yyyy) from the title
args: ["(\\(\\d{4}\\))|(\\(\\d{4})", ""]
- name: re_replace #remove |
args: ["(\\s\\|\\s)", " "]
- name: re_replace #Stagione X --> S0X
args: ["Stagione (\\d{0,1}\\s)", "S0$1"]
- name: re_replace #Stagione XX --> SXX
args: ["Stagione (\\d{2}\\s)", "S$1"]
- name: re_replace #/ Episodio [YY-YY --> EYY-YY
args: ["(\\s\\/\\sEpisodio|\\s\\/\\sEpisodi|\\sEpisodio|\\s\\|\\sEpisodio|\\sEpisodi)\\s\\[", "E"]
- name: re_replace #/ Completa [episodi YY-YY --> EYY-YY
args: ["(\\s\\/\\sCompleta\\s\\[episodi\\s)", "E"]
- name: re_replace #remove di YY] | remove /YY]
args: ["(\\sdi\\s\\d{1,2}|\\/\\d{1,2})\\]", " "]
- name: re_replace #remove various
args: ["(Serie completa|Completa|\\[in pausa\\])", ""]
title|append: #start year
text: "("
title|append: #add year
selector: td:nth-child(2) a:nth-child(1)
filters:
- name: regexp #find torrent year
args: (\d{4})
title|append: #end year
text: ") "
title|append: #start quality TAG
text: "["
title|append: #quality TAG (BDRip 1080, BDRip 720p etc)
selector: td:nth-child(1) a:nth-child(1) img
attribute: alt
title|append: #separator
text: " - "
title|append: #ita audio TAG
selector: a[href^="download.php?id="]
attribute: href
filters:
- name: querystring
args: name
- name: regexp
args: (DTS AC3 ITA|DTS ITA|AC3 ITA)
- name: re_replace
args: ["Stagione (\\d{0,1})", "S0$1"]
- name: re_replace
args: ["Stagione (\\d{2})", "S$1"]
- name: re_replace
args: ["Episodio{0,1} \\[(\\d{0,1})", "E0$1"]
- name: re_replace
args: ["Episodio{0,1} \\[(\\d{2})", "E$1"]
- name: re_replace
args: ["-(\\d{0,1}) ", "-0$1 "]
- name: re_replace
args: ["-(\\d{2}) ", "-$1 "]
- name: re_replace
args: ["(\\d) *\\/ *(E)", "$1$2"]
- name: replace
args: ["]", ""]
args: ["ITA", ""]
title|append: #end TAG
text: "ITA]"
details:
selector: td:nth-child(2) a:nth-child(1)
attribute: href
@@ -86,8 +124,10 @@
date:
selector: td:nth-child(2) i
filters:
- name: append
args: " +02:00"
- name: dateparse
args: "2006-02-01 15:04:05"
args: "2006-01-02 15:04:05 -07:00"
category:
case:
"a[href^=\"details.php\"]:contains(\"Stagione\")": 5040 # TV/HD

View File

@@ -1,6 +1,7 @@
---
---
site: hon3yhd
name: Hon3y HD
description: "Hon3yHD is an INDIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: en-us
type: private
encoding: UTF-8
@@ -68,9 +69,15 @@
path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
search: "{{ .Keywords }}"
searchin: "title"
incldead: "1"
keywordsfilters:
# by default the search returns unordered resuts of an OR query making the results useless in many cases, adding + to the keywords improves the situration (Issue #1859)
- name: re_replace # replace special characters with " +"
args: ["[^\\w\\d]+", " +"]
- name: prepend
args: "+"
rows:
selector: table > tbody > tr.tt
fields:
@@ -88,7 +95,8 @@
download:
selector: a[href^="download.php?torrent="]
attribute: href
banner|optional:
banner:
optional: true
selector: a[href^="details.php?id="]
attribute: onmouseover
filters:

View File

@@ -1,10 +1,13 @@
---
site: hyperay
name: Hyperay
description: "Hyperay is a CHINESE Private Torrent Tracker for HD MOVIES / TV"
language: zh-cn
type: private
encoding: UTF-8
links:
- https://www.hyperay.org
legacylinks:
- https://www.hyperay.cc
caps:

View File

@@ -1,6 +1,7 @@
---
site: icetorrent
name: ICE Torrent
description: "ICE Torrent is a ratioless ROMANIAN Private Torrent Tracker for 0DAY / GENERAL"
language: ro-ro
type: private
encoding: UTF-8

View File

@@ -0,0 +1,101 @@
---
site: idope
name: Idope
description: "iDope is a Public torrent search engine presenting direct magnet links"
language: en-us
type: public
encoding: UTF-8
links:
- https://idope.se/
caps:
categorymappings:
- {id: 0, cat: Other, desc: "Others"}
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: Other, desc: "Video"}
- {id: 3, cat: TV, desc: "TV"}
- {id: 4, cat: TV/Anime, desc: "Anime"}
- {id: 5, cat: XXX, desc: "XXX"}
- {id: 6, cat: Audio, desc: "Music"}
- {id: 7, cat: PC/Games, desc: "Games"}
- {id: 8, cat: PC, desc: "Apps"}
- {id: 9, cat: Books, desc: "Books"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: itorrents-links
type: checkbox
label: Add download links via itorrents.org
- name: info
type: info
label: ITorrents Note
default: Without the itorrents option only magnet links will be provided.
search:
# present trending results if there are no search parms supplied
# sort torrent-list by age in descending order
path: "{{if .Keywords}}torrent-list/{{ .Keywords}}?&o=-3&c={{range .Categories }}{{.}}{{end}}{{else}}browse.html{{end}}"
rows:
selector: div[class="resultdiv"]
fields:
title:
selector: div[class="resultdivtop"] a div[class="resultdivtopname"]
category:
optional: true
selector: div[class="resultdivbotton"] div[class="resultdivbottoncategory"]
case:
":contains(\"Others\")": 0
":contains(\"Movies\")": 1
":contains(\"Video\")": 2
":contains(\"TV\")": 3
":contains(\"Anime\")": 4
":contains(\"XXX\")": 5
":contains(\"Music\")": 6
":contains(\"Games\")": 7
":contains(\"Apps\")": 8
":contains(\"Books\")": 9
details:
selector: div[class="resultdivtop"] a
attribute: href
download-itorrents:
selector: div[class="resultdivbotton"] div[id^="hideinfohash"]
filters:
- name: toupper
- name: prepend
args: http://itorrents.org/torrent/
- name: append
args: ".torrent"
download:
text: "{{if .Config.itorrents-links}}{{ .Result.download-itorrents }}{{else}}{{end}}"
magfile:
text: "{{ .Result.title }}"
filters:
- name: validfilename
- name: urlencode
magnet:
selector: div[class="resultdivbotton"] div[id^="hideinfohash"]
filters:
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result.magfile }}.torrent"
- name: append
args: "&tr=http://182.176.139.129:6969/announce&tr=http://explodie.org:6969/announce&tr=http://tracker.mgtracker.org:2710/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=udp://tracker.pirateparty.gr:6969/announce&tr=udp://tracker.sktorrent.net:6969/announce&tr=udp://tracker.zer0day.to:1337/announce"
date:
selector: div[class="resultdivbotton"] div[class="resulttime"] div[class="resultdivbottontime"]
filters:
- name: timeago
size:
selector: div[class="resultdivbotton"] div[class="resultlength"] div[class="resultdivbottonlength"]
seeders:
selector: div[class="resultdivbotton"] div[class="resultseed"] div[class="resultdivbottonseed"]
files:
selector: div[class="resultdivbotton"] div[class="resultfile"] div[class="resultdivbottonfiles"]
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,11 +1,14 @@
---
site: ilcorsaronero
name: Il Corsaro Nero
description: "Il Corsaro Nero is an ITALIAN Public site for TV / MOVIES / GENERAL"
language: it-it
type: public
encoding: UTF-8
links:
- https://ilcorsaronero.info/
certificates:
- 8D4B5B12D12693F29271C6A0A65ACB3DF6029202 # incomplete CA chain
caps:
categorymappings:

View File

@@ -1,6 +1,7 @@
---
site: infinityt
name: Infinity-T
description: "Infinity-T is a DANISH Private Torrent Tracker for 0DAY / GENERAL"
language: da-dk
type: private
encoding: UTF-8
@@ -103,4 +104,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: inperil
name: inPeril
description: "InPeril is a LATVIAN Private Torrent Tracker for 0DAY / GENERAL"
type: private
language: lv-lv
type: private

View File

@@ -1,6 +1,7 @@
---
---
site: insanetracker
name: Insane Tracker
description: "Insane Tracker is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL"
language: hu-hu
type: private
encoding: UTF-8
@@ -80,13 +81,16 @@
download:
selector: a[href^="download.php/"]
attribute: href
imdb|optional:
imdb:
optional: true
selector: a[title="IMDb link"]
attribute: href
banner|optional|1:
banner:
optional: true
selector: img[alt="offer"]
attribute: src
banner|optional|2:
banner:
optional: true
selector: a.cover
attribute: href
files:

View File

@@ -1,61 +0,0 @@
---
site: isohunt
name: Isohunt
language: en-us
type: public
encoding: UTF-8
links:
- https://isohunt.to/
caps:
categories:
"series+&+tv": TV
"movies": Movies
"other": Other/Misc
"music": Audio
"games": PC/Games
"software": PC/0day
"anime": TV/Anime
"adult": XXX
"books": Other
modes:
search: [q]
tv-search: [q, season, ep]
settings: []
download:
selector: a.btn-download
search:
path: "{{if .Query.Keywords}}torrents/{{else}}latest.php{{end}}"
inputs:
ihq: "{{ .Keywords }}"
rows:
selector: "#serps > table > tbody > tr:has(td.title-row)"
fields:
title:
selector: td.title-row > a[href^="/"] > span
details:
selector: td.title-row > a[href^="/"]
attribute: href
download:
selector: td.title-row > a[href^="/"]
attribute: href
size:
selector: td.size-row
seeders:
selector: td.sy, td.sn
date:
selector: td.date-row
filters:
- name: append
args: " ago"
category:
selector: td.category-row > span
attribute: title
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
site: jpopsuki
name: JPopsuki
description: "JPopSuki is a Private Torrent Tracker for ASIAN MUSIC"
language: en-us
type: private
encoding: UTF-8
@@ -102,4 +103,4 @@
"*": "1"
uploadvolumefactor:
case:
"*": "1"
"*": "1"

View File

@@ -1,6 +1,7 @@
---
---
site: kapaki
name: Kapaki
description: "Kapaki is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL"
language: el-gr
type: private
encoding: UTF-8
@@ -76,7 +77,8 @@
keywords: "{{ .Keywords }}"
search_type: "name"
searchin: "title"
error:
- selector: div#show_error:not(:contains("Ουπς! Λάθος!Δεν βρέθηκαν αποτελέσματα."))
rows:
selector: div#content > div.torrent-box[id^="torrent_"]
filters:
@@ -107,7 +109,8 @@
selector: a[rel="torrent_leechers"]
grabs:
selector: a[rel="times_completed"]
banner|optional:
banner:
optional: true
selector: a[rel="fancybox"]
attribute: href
description:
@@ -119,10 +122,12 @@
uploadvolumefactor:
case:
"*": "1"
date|optional|1:
date:
optional: true
selector: div.torrentOwner > abbr.timeago
attribute: data-time
date|optional|2:
date:
optional: true
selector: div.torrentOwner:not(:has(abbr.timeago))
remove: span
filters:
@@ -155,4 +160,4 @@
- name: dateparse
args: "02-01-2006 15:04"

View File

@@ -29,9 +29,6 @@
- selector: table:contains("Login failed!")
test:
path: index.php
download:
selector: a[href^="download.php?id="]
search:
path: browse.php

5
src/Jackett/Definitions/kickasstorrent-kathow.yml Normal file → Executable file
View File

@@ -1,11 +1,12 @@
---
site: kickasstorrent-kathow
name: KickAssTorrent (kat.how)
name: KickAssTorrent (thekat.se)
description: "thekat.se is a Public KickAssTorrent clone for TV / MOVIES / GENERAL"
language: en-us
type: public
encoding: UTF-8
links:
- https://kat.how
- https://thekat.se
caps:
categories:

28
src/Jackett/Definitions/kickasstorrent.yml Normal file → Executable file
View File

@@ -1,8 +1,9 @@
---
site: kickasstorrent
name: KickAssTorrent
description: "Kickass Torrents (KATcr) is a well-know Public torrent site indexing thousands of torrents verified and commented by a large file-sharing community"
language: en-us
type: semi-private
type: public
encoding: UTF-8
links:
- https://katcr.co/
@@ -84,29 +85,12 @@
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: username
type: text
label: Username
- name: passkey
type: text
label: Passkey
login:
method: post
path: "new/account-login.php"
inputs:
username: "{{ .Config.username }}"
passkey: "{{ .Config.passkey }}"
test:
path: index.php
settings: []
search:
path: "/new/torrents-search.php"
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "\"{{ .Query.Keywords }}\""
path: "/new/{{if .Keywords}}search-torrents.php?{{range .Categories }}c{{.}}=1&{{end}}search={{.Keywords}}{{else}}{{end}}"
rows:
selector: table.ttable_headinner > tbody > tr[class^="t-row"]
filters:
@@ -200,8 +184,6 @@
date:
selector: td:nth-child(3)
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "02-01-2006 15:04:05 -07:00"
seeders:

View File

@@ -1,163 +0,0 @@
---
site: leparadisdunet
name: Le Paradis Du Net
language: fr-fr
type: semi-private
encoding: UTF-8
links:
- https://le-paradis-du-net.com/
caps:
categorymappings:
- {id: 10, cat: Movies/3D, desc: "3D"}
- {id: 9, cat: XXX, desc: "Adultes"}
- {id: 1, cat: PC, desc: "APPLICATION"}
- {id: 33, cat: PC/Phone-Other, desc: " Iphone/Ipod/Android"}
- {id: 3, cat: PC/0day, desc: " Linux"}
- {id: 32, cat: PC/Mac, desc: " Mac"}
- {id: 4, cat: PC/0day, desc: " Windows"}
- {id: 70, cat: Movies/HD, desc: "BDRIP"}
- {id: 69, cat: Movies/BluRay, desc: "Blueray"}
- {id: 73, cat: Movies/HD, desc: "BRRIP"}
- {id: 22, cat: Movies/SD, desc: "CAM TS SCREENER"}
- {id: 39, cat: Movies/DVD, desc: " R5"}
- {id: 13, cat: TV/Anime, desc: "DESSINS ANIMES"}
- {id: 48, cat: TV/Anime, desc: " Animations"}
- {id: 47, cat: TV/Anime, desc: " Mangas"}
- {id: 14, cat: TV/Documentary, desc: "DOCUMENTAIRE"}
- {id: 52, cat: TV/Documentary, desc: " EmissionsTV"}
- {id: 49, cat: TV/Documentary, desc: " Tv docs"}
- {id: 15, cat: Movies/DVD, desc: "DVDR"}
- {id: 16, cat: Movies/SD, desc: "DVDRIP"}
- {id: 35, cat: Movies, desc: " Action"}
- {id: 64, cat: Movies, desc: " Autres"}
- {id: 36, cat: Movies, desc: " Aventure"}
- {id: 55, cat: Movies, desc: " Comédie"}
- {id: 37, cat: Movies, desc: " Drame"}
- {id: 38, cat: Movies, desc: " Fantastique"}
- {id: 63, cat: Movies, desc: " Guerre"}
- {id: 72, cat: Movies, desc: " Historique/Biopic"}
- {id: 67, cat: Movies, desc: " Horreur"}
- {id: 65, cat: Movies, desc: " Thriller"}
- {id: 71, cat: Movies, desc: " Werstern"}
- {id: 17, cat: Movies/SD, desc: "DVDRIP VOSTFR"}
- {id: 19, cat: Books, desc: "EBOOK"}
- {id: 54, cat: Books, desc: " Journaux"}
- {id: 81, cat: Books, desc: " Magazines"}
- {id: 82, cat: Books, desc: " People"}
- {id: 40, cat: Movies/HD, desc: "HD"}
- {id: 41, cat: Movies/HD, desc: " 1080p"}
- {id: 42, cat: Movies/HD, desc: " 720P"}
- {id: 77, cat: Movies/HD, desc: " HD LIGHT"}
- {id: 86, cat: TV/SD, desc: " HDTV"}
- {id: 20, cat: Console/Other, desc: "JEUX"}
- {id: 56, cat: Console/NDS, desc: " DS"}
- {id: 57, cat: PC/Games, desc: " Pc"}
- {id: 26, cat: Console/PS3, desc: " PS3"}
- {id: 58, cat: Console/PSP, desc: " PSP"}
- {id: 25, cat: Console/Wii, desc: " Wii"}
- {id: 24, cat: Console/Xbox360, desc: " Xbox360"}
- {id: 21, cat: Audio, desc: "MUSIQUES"}
- {id: 29, cat: Audio/Video, desc: " Clip"}
- {id: 68, cat: Audio/Video, desc: " Concert"}
- {id: 31, cat: Audio/Lossless, desc: " FLAC"}
- {id: 30, cat: Audio/MP3, desc: " mp3"}
- {id: 28, cat: Audio/Lossless, desc: " wave"}
- {id: 27, cat: Audio/Other, desc: " wma"}
- {id: 5, cat: TV, desc: "SERIES"}
- {id: 79, cat: TV/HD, desc: " SERIES HD 1080P"}
- {id: 80, cat: TV/HD, desc: " SERIES HD 720p"}
- {id: 75, cat: TV, desc: " TV pack"}
- {id: 8, cat: TV, desc: " vf"}
- {id: 6, cat: TV, desc: " vo"}
- {id: 7, cat: TV, desc: " vost"}
- {id: 12, cat: TV/Sport, desc: "SPORTS"}
- {id: 61, cat: TV/Sport, desc: " Autres "}
- {id: 45, cat: TV/Sport, desc: " Catch VF"}
- {id: 59, cat: TV/Sport, desc: " Catch VO"}
- {id: 44, cat: TV/Sport, desc: " Football"}
- {id: 60, cat: TV/Sport, desc: " UFC/MMA"}
- {id: 76, cat: TV, desc: "Télévision"}
- {id: 78, cat: Movies/WEBDL, desc: "WEBRIP"}
modes:
search: [q]
tv-search: [q, season, ep]
login:
path: /takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: table:has(td:contains("Une erreur est survenue"))
test:
path: browse.php
download:
before:
path: "/takethanks.php"
method: "post"
inputs:
torrentid: "{{ re_replace .DownloadUri.AbsolutePath \"^.*download-torrent-(\\d+)/.*$\" \"$1\" }}"
search:
path: browse.php
inputs:
do: "chercher"
keywords: "{{ .Query.Keywords }}"
search_type: "t_name"
category: "0" # multi cat search not supported
include_dead_torrents: "yes"
rows:
selector: table#sortabletable > tbody > tr:has(a[href*="/torrent-details-"])
fields:
download:
selector: a[href*="/torrent-details-"]
attribute: href
filters:
- name: replace
args: ["torrent-details-", "download-torrent-"]
title:
selector: a[href*="/torrent-details-"]
details:
selector: a[href*="/torrent-details-"]
attribute: href
category:
selector: a[href*="/torrent-category-"]
attribute: href
filters:
- name: regexp
args: torrent-category-(\d+)
size:
selector: td:nth-child(4)
date:
selector: td:nth-child(2) > div > font[color="white"]
filters:
- name: replace
args: ["le ", ""]
- name: replace
args: [" à ", " "]
- name: trim
args: "\t"
- name: trim
args: "\n"
- name: append
args: " +01:00"
- name: dateparse
args: "02-01-2006 15:04 -07:00"
grabs:
selector: td:nth-child(5)
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
downloadvolumefactor:
case:
img[alt^="Free Torrent "]: "0"
img[alt^="Silver Torrent "]: "0.5"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -1,6 +1,7 @@
---
site: limetorrents
name: LimeTorrents
description: "LimeTorrents is a Public general torrent index with mostly verified torrents"
language: en-us
type: public
encoding: UTF-8
@@ -57,7 +58,8 @@
download:
selector: div.tt-name > a[href^="/"]
attribute: href
category|optional:
category:
optional: true
selector: td:nth-child(2)
filters:
- name: split

View File

@@ -1,6 +1,7 @@
---
---
site: linkomanija
name: LinkoManija
description: "LinkoManija is an ITALIAN Private site for TV / MOVIES / GENERAL"
language: lt-lt
type: private
encoding: UTF-8
@@ -72,7 +73,8 @@
attribute: href
title:
selector: a[href^="details?"]
description|optional:
description:
optional: true
selector: td:nth-child(2) > span
details:
selector: a[href^="details?"]
@@ -108,4 +110,4 @@
- name: dateparse
args: "2006-01-0215:04:05 -07:00"

View File

@@ -1,6 +1,7 @@
---
---
site: losslessclub
name: LosslessClub
description: "LosslessClub is a Romanian Private site for High Quality Music"
language: ru-ru
type: private
encoding: windows-1251
@@ -45,12 +46,14 @@
download:
selector: a[href^="download.php?id="]
attribute: href
banner|optional:
banner:
optional: true
selector: img.thumbnail
attribute: src
size:
selector: td:nth-child(5)
grabs|optional:
grabs:
optional: true
selector: td:nth-child(6) br + span
seeders:
selector: td:nth-child(6)

View File

@@ -1,6 +1,7 @@
---
---
site: magico
name: Magico
description: "Magico (Trellas) is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL"
language: el-gr
type: private
encoding: UTF-8
@@ -165,7 +166,8 @@
selector: a[rel="torrent_leechers"]
grabs:
selector: a[rel="times_completed"]
banner|optional:
banner:
optional: true
selector: a[rel="fancybox"]
attribute: href
description:
@@ -177,10 +179,12 @@
uploadvolumefactor:
case:
"*": "1"
date|optional|1:
date:
optional: true
selector: div.torrentOwner > abbr.timeago
attribute: data-time
date|optional|2:
date:
optional: true
selector: div.torrentOwner:not(:has(abbr.timeago))
remove: span
filters:
@@ -213,4 +217,4 @@
- name: dateparse
args: "02-01-2006 15:04"

View File

@@ -0,0 +1,68 @@
---
site: magnetdl
name: MagnetDL
description: "MagnetDL is a Public torrent Magnet Links search engine"
language: en-us
type: public
encoding: UTF-8
links:
- http://www.magnetdl.com/
caps:
categories:
"TV": TV
"Movie": Movies
"Music": Audio
"E-Book": Books/Ebook
"Game": PC/Games
"Software": PC
"Other": Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
search:
headers:
# prevent redirect
Accept: ["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"]
keywordsfilters:
# replace space between keywords with - to prevent 404 Not Found
- name: re_replace
args: [" ", "-"]
- name: tolower
# return movie results if there are no search parms supplied (for use with the TEST button)
# http://www.magnetdl.com/m/midnight-texas-s01e10/
path: "{{if .Keywords}}/{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}"
rows:
selector: tr:has(td[class="m"])
fields:
title:
selector: td[class="n"] a
attribute: title
category:
optional: true
selector: td[class^="t"]
details:
selector: td[class="n"] a
attribute: href
magnet:
selector: td[class="m"] a
attribute: href
date:
selector: td:nth-child(3)
filters:
- name: timeago
size:
selector: td:nth-child(6)
seeders:
selector: td[class="s"]
files:
selector: td[class="l"]
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"

View File

@@ -1,6 +1,7 @@
---
---
site: majomparade
name: Majomparádé
description: "Majomparádé (TurkDepo) is a HUNGARIAN Private Torrent Tracker for 0DAY / GENERAL"
language: hu-hu
type: private
encoding: UTF-8
@@ -115,10 +116,12 @@
details:
selector: a[href^="details.php?id="]
attribute: href
imdb|optional:
imdb:
optional: true
selector: a[href^="https://www.imdb.com/title/"]
attribute: href
banner|optional:
banner:
optional: true
selector: img[src="pic/borito.png"]
attribute: title
filters:

View File

@@ -0,0 +1,260 @@
---
site: manicomioshare
name: Manicomio Share
description: "Manicomio Share is a Brazilian Private site for TV / MOVIES / GENERAL"
language: pt-br
type: private
encoding: iso-8859-1
links:
- https://www.manicomio-share.com
caps:
categorymappings:
#XXX
- {id: 80, cat: XXX, desc: "Adulto: [XXX] - Filmes"}
- {id: 157, cat: XXX, desc: "Adulto: [XXX] - Blu-Ray"}
- {id: 159, cat: XXX, desc: "Adulto: [XXX] - DVD-R"}
- {id: 160, cat: XXX, desc: "Adulto: [XXX] - DVD-R 9"}
- {id: 161, cat: XXX, desc: "Adulto: [XXX] - Eróticos"}
- {id: 162, cat: XXX, desc: "Adulto: [XXX] - HD"}
- {id: 188, cat: XXX, desc: "Adulto: [XXX] - 4K"}
- {id: 112, cat: XXX/Other, desc: "Adulto: [XXX] - Fotos"}
- {id: 113, cat: XXX/Other, desc: "Adulto: [XXX] - Hentai"}
- {id: 131, cat: XXX/Other, desc: "Adulto: [XXX] - Jogos"}
#ANIME
- {id: 21, cat: TV/Anime, desc: "Anime: Anime"}
- {id: 155, cat: TV/Anime, desc: "Anime: Anime DVD-R"}
- {id: 156, cat: TV/Anime, desc: "Anime: Anime HD"}
#PC APPS
- {id: 22, cat: PC, desc: "Aplicativos: Linux"}
- {id: 23, cat: PC, desc: "Aplicativos: Mac OS"}
- {id: 24, cat: PC, desc: "Aplicativos: Windows"}
#BOOKLET
- {id: 25, cat: Other, desc: "Apostila: Apostila e Textos"}
- {id: 169, cat: Other, desc: "Apostila: Cursos e Video Aula"}
#MOBILE
- {id: 26, cat: Other, desc: "Celular: Aplicativos"}
- {id: 184, cat: Other, desc: "Celular: Jogos"}
#TV-CHILD
- {id: 88, cat: TV/Other, desc: "Desenhos: Desenhos"}
- {id: 165, cat: TV/Other, desc: "Desenhos: Desenhos DVD-R"}
- {id: 166, cat: TV/Other, desc: "Desenhos: Desenhos HD"}
- {id: 83, cat: TV/Other, desc: "Diversos: Diversos"}
- {id: 84, cat: TV/Other, desc: "Educativos: Infantil"}
#TV-SPORTS
- {id: 105, cat: TV/Sport, desc: "Eventos: Esportivos"}
- {id: 153, cat: TV/Sport, desc: "Eventos: Esportivos DVD-R"}
- {id: 154, cat: TV/Sport, desc: "Eventos: Esportivos HD"}
#MOVIES
- {id: 189, cat: Movies, desc: "Filmes: 4K"}
- {id: 132, cat: Movies/BluRay, desc: "Filmes: Blu-Ray"}
- {id: 152, cat: Movies/BluRay, desc: "Filmes: Blu-Ray Nacionais"}
- {id: 141, cat: Movies/BluRay, desc: "Filmes: Blu-Ray 3D"}
- {id: 142, cat: Movies/BluRay, desc: "Filmes: Blu-Ray BD25"}
- {id: 182, cat: Movies/BluRay, desc: "Filmes: Blu-Ray BD25 Nacionais"}
- {id: 183, cat: Movies/BluRay, desc: "Filmes: Blu-Ray BD25 3D"}
- {id: 143, cat: Movies/BluRay, desc: "Filmes: Blu-Ray Remux"}
- {id: 34, cat: Movies/SD, desc: "Filmes: DVD-R"}
- {id: 134, cat: Movies/SD, desc: "Filmes: DVD-R Nacionais"}
- {id: 144, cat: Movies/SD, desc: "Filmes: DVD-R 9"}
- {id: 145, cat: Movies/Other, desc: "Filmes: Documentarios DVD-R"}
- {id: 151, cat: Movies/Other, desc: "Filmes: Documentarios HD"}
- {id: 127, cat: Movies/HD, desc: "Filmes: HD"}
- {id: 148, cat: Movies/Foreign, desc: "Filmes: HD Nacionais"}
- {id: 147, cat: Movies/3D, desc: "Filmes: HD 3D"}
- {id: 128, cat: Movies/Foreign, desc: "Filmes: Nacionais"}
- {id: 27, cat: Movies, desc: "Filmes: Ação"}
- {id: 95, cat: Movies, desc: "Filmes: Animação"}
- {id: 28, cat: Movies, desc: "Filmes: Aventura"}
- {id: 29, cat: Movies, desc: "Filmes: Biografia"}
- {id: 30, cat: Movies, desc: "Filmes: Classicos"}
- {id: 31, cat: Movies, desc: "Filmes: Comédia"}
- {id: 32, cat: Movies, desc: "Filmes: Documentarios"}
- {id: 33, cat: Movies, desc: "Filmes: Drama"}
- {id: 35, cat: Movies, desc: "Filmes: Esportes"}
- {id: 185, cat: Movies, desc: "Filmes: Fantasia"}
- {id: 36, cat: Movies, desc: "Filmes: Ficção"}
- {id: 85, cat: Movies, desc: "Filmes: Guerra"}
- {id: 37, cat: Movies, desc: "Filmes: Infantil"}
- {id: 118, cat: Movies, desc: "Filmes: Musicais"}
- {id: 104, cat: Movies, desc: "Filmes: Policial"}
- {id: 40, cat: Movies, desc: "Filmes: Suspense"}
- {id: 38, cat: Movies, desc: "Filmes: Religiosos"}
- {id: 39, cat: Movies, desc: "Filmes: Romance"}
- {id: 41, cat: Movies, desc: "Filmes: Terror"}
- {id: 107, cat: Movies, desc: "Filmes: Western"}
#GAMES
- {id: 97, cat: Console, desc: "Jogos: Dreamcast"}
- {id: 44, cat: PC/Games, desc: "Jogos: Emuladores e Rom"}
- {id: 101, cat: Console, desc: "Jogos: Game Cube"}
- {id: 140, cat: PC/Mac, desc: "Jogos: Mac OS"}
- {id: 119, cat: Console/NDS, desc: "Jogos: Nintendo DS"}
- {id: 45, cat: PC/Games, desc: "Jogos: Pc"}
- {id: 87, cat: Console, desc: "Jogos: PS1"}
- {id: 46, cat: Console, desc: "Jogos: PS2"}
- {id: 120, cat: Console, desc: "Jogos: PS3"}
- {id: 82, cat: Console/PSP, desc: "Jogos: PSP"}
- {id: 191, cat: Console, desc: "Jogos: PSVita"}
- {id: 47, cat: Console/XBox, desc: "Jogos: Xbox"}
- {id: 48, cat: Console/XBox 360, desc: "Jogos: Xbox 360"}
- {id: 100, cat: Console/Wii, desc: "Jogos: Wii"}
- {id: 187, cat: Console/Wii, desc: "Jogos: Wii-U"}
#EBOOKS
- {id: 49, cat: Books/EBook, desc: "Livros: E-books"}
#MUSIC
- {id: 50, cat: Audio, desc: "Músicas: Axé"}
- {id: 51, cat: Audio, desc: "Músicas: Blues"}
- {id: 52, cat: Audio, desc: "Músicas: Classica"}
- {id: 53, cat: Audio, desc: "Músicas: Coletânea"}
- {id: 103, cat: Audio, desc: "Músicas: Country"}
- {id: 102, cat: Audio, desc: "Músicas: Discografia"}
- {id: 54, cat: Audio, desc: "Músicas: Dance"}
- {id: 55, cat: Audio, desc: "Músicas: Eletronica"}
- {id: 135, cat: Audio, desc: "Músicas: Enka e Japonesa"}
- {id: 56, cat: Audio, desc: "Músicas: Forró"}
- {id: 57, cat: Audio, desc: "Músicas: Funk"}
- {id: 58, cat: Audio, desc: "Músicas: Gospel"}
- {id: 117, cat: Audio, desc: "Músicas: Hard Core"}
- {id: 59, cat: Audio, desc: "Músicas: Hard Rock"}
- {id: 61, cat: Audio, desc: "Músicas: Hip Hop"}
- {id: 90, cat: Audio, desc: "Músicas: House"}
- {id: 62, cat: Audio, desc: "Músicas: Infantil"}
- {id: 175, cat: Audio, desc: "Músicas: Instrumental"}
- {id: 86, cat: Audio, desc: "Músicas: Jazz"}
- {id: 60, cat: Audio, desc: "Músicas: Metal"}
- {id: 63, cat: Audio, desc: "Músicas: MPB"}
- {id: 64, cat: Audio, desc: "Músicas: New Age"}
- {id: 94, cat: Audio, desc: "Músicas: Oldies"}
- {id: 65, cat: Audio, desc: "Músicas: Pagode"}
- {id: 66, cat: Audio, desc: "Músicas: Pop"}
- {id: 109, cat: Audio, desc: "Músicas: Psychedelic"}
- {id: 67, cat: Audio, desc: "Músicas: Punk Rock"}
- {id: 89, cat: Audio, desc: "Músicas: Raízes"}
- {id: 68, cat: Audio, desc: "Músicas: Rap"}
- {id: 69, cat: Audio, desc: "Músicas: Reggae"}
- {id: 70, cat: Audio, desc: "Músicas: Regionais"}
- {id: 71, cat: Audio, desc: "Músicas: Religiosas"}
- {id: 72, cat: Audio, desc: "Músicas: Rock"}
- {id: 73, cat: Audio, desc: "Músicas: Samba"}
- {id: 74, cat: Audio, desc: "Músicas: Sertanejo"}
- {id: 98, cat: Audio, desc: "Músicas: Soul R&amp;B"}
- {id: 110, cat: Audio, desc: "Músicas: Surf Music"}
- {id: 92, cat: Audio, desc: "Músicas: Techno"}
- {id: 91, cat: Audio, desc: "Músicas: Trance"}
- {id: 75, cat: Audio, desc: "Músicas: Trilha Sonora"}
- {id: 93, cat: Audio, desc: "Músicas: Vocal"}
- {id: 111, cat: Audio, desc: "Músicas: World Music"}
#TV-FOREIGN
- {id: 170, cat: TV/Foreign, desc: "Novelas: Novela"}
- {id: 171, cat: TV/Foreign, desc: "Novelas: Novela DVD-R"}
- {id: 172, cat: TV/Foreign, desc: "Novelas: Novela HD"}
- {id: 179, cat: TV/Other, desc: "Religião: Religião Diversos"}
- {id: 178, cat: TV/Other, desc: "Religião: Religião DVD-R"}
#BOOKS
- {id: 96, cat: Books, desc: "Revistas: Revistas"}
- {id: 99, cat: Books/Comics, desc: "Revistas: HQ"}
- {id: 192, cat: Books/Comics, desc: "Revistas: Mangá"}
#TV-SERIES
- {id: 76, cat: TV, desc: "Séries: Seriados"}
- {id: 122, cat: TV/HD, desc: "Séries: HD"}
- {id: 190, cat: TV, desc: "Séries: 4K"}
- {id: 186, cat: TV, desc: "Séries: Blu-Ray"}
- {id: 124, cat: TV/SD, desc: "Séries: DVD-R"}
- {id: 181, cat: TV/SD, desc: "Séries: DVD-R 9"}
- {id: 125, cat: TV/SD, desc: "Séries: DVDRip"}
- {id: 123, cat: TV/Other, desc: "Séries: Cartoon"}
- {id: 164, cat: TV/Other, desc: "Séries: Cartoon DVD-R"}
- {id: 163, cat: TV/Other, desc: "Séries: Cartoon HD"}
#MUSIC SHOWS
- {id: 77, cat: Audio/Video, desc: "Shows: Shows"}
- {id: 133, cat: Audio/Video, desc: "Shows: Shows Blu-Ray"}
- {id: 130, cat: Audio/Video, desc: "Shows: Shows DVD-R"}
- {id: 180, cat: Audio/Video, desc: "Shows: Shows DVD-R 9"}
- {id: 129, cat: Audio/Video, desc: "Shows: Shows HD"}
#TV-OTHER
- {id: 78, cat: TV, desc: "Televisão: Televisão"}
- {id: 136, cat: TV, desc: "Televisão: Televisão HDTV"}
- {id: 137, cat: TV, desc: "Televisão: Televisão HD"}
- {id: 139, cat: TV, desc: "Televisão: Televisão SDTV"}
#MUSIC CLIPS
- {id: 79, cat: Audio/Video, desc: "Video: Video Clipes"}
- {id: 167, cat: Audio/Video, desc: "Video: Video Clipes DVD-R"}
- {id: 168, cat: Audio/Video, desc: "Video: Video Clipes HD"}
modes:
search: [q]
login:
path: index.php
method: post
inputs:
dados: "ok"
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
test:
path: torrents.php
search:
path: pesquisa.php
keywordsfilters:
# workaroud to remove year in search keywords
- name: re_replace
args: ["([1-2]\\d{3})", ""]
- name: re_replace
args: ["[^a-zA-Z0-9]+", "%"]
inputs:
busca: "{{ .Keywords }}"
rows:
selector: table#tbltorrent > tbody > tr[data-id]
fields:
download:
selector: a[href*="/download.php?id="]
attribute: href
details:
selector: a[href*="/item/"]
attribute: href
category:
selector: a[href*="/torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href*="/item/"]
remove: font[color^=green]
filters:
- name: replace
args: ["|", ""]
- name: replace
args: ["Ep. ","E"]
size:
selector: td:nth-child(4)
grabs:
selector: td:nth-child(6)
seeders:
selector: td:nth-child(5) > span:nth-child(1)
leechers:
selector: td:nth-child(5) > span:nth-child(2)
downloadvolumefactor:
case:
"span.h3t:contains(\"[livre]\")": "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"

View File

@@ -0,0 +1,78 @@
---
site: metaltracker
name: Metal Tracker
description: "Metal Tracker is a Semi-Private site dedicated to HEAVY METAL MUSIC. This definition is for the English site."
language: en-us
type: semi-private
encoding: UTF-8
links:
- http://en.metal-tracker.com/
caps:
categories:
"Books": Audio/Audiobook
"Video": Audio/Video
"Music": Audio/MP3
modes:
search: [q]
music-search: [q, album, artist, label, year]
login:
path: /user/login.html
method: form
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
go: "Enter"
error:
- selector: div.errorSummary
message:
selector: div.errorSummary ul li
test:
path: /torrents/search.html
selector: li li:has(a[href="/user/logout.html"])
search:
paths:
- path: /torrents/search.html
method: post
inputs:
"SearchTorrentsForm[nameTorrent]": "{{ .Keywords }}"
go-search: "Search"
rows:
selector: .smallalbum
fields:
title:
selector: a h3
banner:
selector: .thumb a img
attribute: src
details:
selector: .thumb a
attribute: href
download:
selector: .center a[href^="/torrents/download/id/"]
attribute: href
date:
text: "now"
seeders:
selector: .center font:nth-of-type(1)
leechers:
selector: .center font:nth-of-type(2)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
category:
selector: .smallalbum
remove: div.thumb, div.center, a
case:
":contains(\"Type: Music\")": "Music"
":contains(\"Type: Video\")": "Video"
":contains(\"Type: Books\")": "Books"
size:
selector: .smallalbum
filters:
- name: regexp
args: "Size:\\s+([\\w\\d\\.,]+ \\w\\w)"

View File

@@ -1,6 +1,7 @@
---
site: mononokebt
name: Mononoké-BT
description: "Mononoke-BT is a FRENCH Private Torrent Tracker for ANIME"
language: fr-fr
type: private
encoding: ISO-8859-15
@@ -77,4 +78,4 @@
- name: dateparse
args: "2006-01-0215:04:05 -07:00"

View File

@@ -29,12 +29,40 @@
- {id: 423, cat: PC/Games, desc: "PCGame(PC遊戲)"}
- {id: 427, cat: Books, desc: "eBook(電子書)"}
- {id: 409, cat: Other, desc: "Misc(其他)"}
# adult
- {id: 410, cat: XXX, desc: "AV(有碼)/HD Censored"}
- {id: 429, cat: XXX, desc: "AV(無碼)/HD Uncensored"}
- {id: 424, cat: XXX, desc: "AV(有碼)/SD Censored"}
- {id: 430, cat: XXX, desc: "AV(無碼)/SD Uncensored"}
- {id: 426, cat: XXX, desc: "AV(無碼)/DVDiSo Uncensored"}
- {id: 437, cat: XXX, desc: "AV(有碼)/DVDiSo Censored"}
- {id: 431, cat: XXX, desc: "AV(有碼)/Blu-Ray Censored"}
- {id: 432, cat: XXX, desc: "AV(無碼)/Blu-Ray Uncensored"}
- {id: 436, cat: XXX, desc: "AV(網站)/0Day"}
- {id: 425, cat: XXX, desc: "IV(寫真影集)/Video Collection"}
- {id: 433, cat: XXX, desc: "IV(寫真圖集)/Picture Collection"}
- {id: 411, cat: XXX, desc: "H-Game(遊戲)"}
- {id: 412, cat: XXX, desc: "H-Anime(動畫)"}
- {id: 413, cat: XXX, desc: "H-Comic(漫畫)"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: info
type: info
label: ""
default: For best results disable the torrent name tooltip (User CP/Tracker Settings/Torrents Page). Otherwise long release names will be cut off.
login:
path: takelogin.php
method: post
@@ -54,7 +82,11 @@
args: "Ratio:\\s(.*?)\\s\\s"
search:
path: /torrents.php
paths:
- path: torrents.php
categorymappings: ["!", 410, 429, 424, 430, 426, 437, 431, 432, 436, 425, 433, 411, 412, 413]
- path: adult.php
categorymappings: [410, 429, 424, 430, 426, 437, 431, 432, 436, 425, 433, 411, 412, 413]
method: post
inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
@@ -67,7 +99,10 @@
rows:
selector: table.torrents > tbody > tr:has(table.torrentname)
fields:
title: # shortened for long release names
selector: a[href^="details.php?id="] > b
title:
optional: true # not available if IMDB tooltips are turned on
selector: a[title][href^="details.php?id="]
attribute: title
category:
@@ -77,7 +112,7 @@
- name: querystring
args: cat
details:
selector: a[title][href^="details.php?id="]
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php?id="]

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