Commit Graph

115 Commits

Author SHA1 Message Date
Garfield69 12be94c4a5 mejortorrent: *.net 2021-11-07 17:46:13 +13:00
ilike2burnthing 007bc0835a
assorted: change nocensor proxy domain *.biz (#12474) 2021-10-28 16:39:16 +01:00
Garfield69 dd43d63ca6 mejortorrent: new domain *o.info -> es.com resolves #12326 2021-09-23 19:39:10 +12:00
Garfield69 ae70038b5c assorted: standardise default sizes 2021-09-13 12:38:24 +12:00
Garfield69 1892cab418 assorted: more follow up on #12274 but for C# 2021-09-08 13:14:00 +12:00
ilike2burnthing e08774001a
assorted: change nocensor proxy domain *.work (#12271) 2021-09-06 16:51:01 +01:00
Garfield69 9335ee26cd mejortorrent: domain *.org -> *.info 2021-08-14 15:56:08 +12:00
ilike2burnthing 9b993c8adf
mejortorrent: change domain *.org 2021-07-17 09:52:00 +01:00
Garfield69 a537018fcc mejortorrent: domain *.com -> *.net 2021-06-05 11:05:02 +12:00
Garfield69 2e7813ecfa mejortorrent: add nocensor.space alternate site link 2021-05-08 19:34:38 +12:00
Garfield69 27a5d8f074 mejortorrent: ignore first row in serie episodes table. resolves #11397 2021-04-10 10:56:19 +12:00
Garfield69 764b333d4a mejortorrent: fix 38a059fe domain. 2021-03-28 07:33:16 +13:00
ilike2burnthing 38a059fefd
mejortorrent: update domain *o.com 2021-03-27 12:52:12 +00:00
XYZJR eaf0513605
Core: rewrite of configuration items. Resolves #2114 (#11104) 2021-03-17 12:29:26 +13:00
ilike2burnthing 831ff19ca9
mejortorrent: change domain *.net 2021-02-07 11:38:22 +00:00
ilike2burnthing 998d991cd6
mejortorrent: update link *1.com 2021-01-16 00:43:30 +00:00
Diego Heras dae3248719
mejortorrent: fix download link. resolves #10659 (#10709) 2021-01-02 12:54:45 +01:00
Diego Heras 6e87fe4860
mejortorrent: new domain (#10526) 2020-12-16 00:20:28 +01:00
Diego Heras 3b9a7edb62
mejortorrent: add flaresolverr message. resolves #10500 (#10524) 2020-12-15 23:25:35 +01:00
Diego Heras a1567a94f4
assorted c#: fix configuration of several indexers (#10476)
The link could not be changed
2020-12-12 00:12:40 +01:00
Diego Heras 69125add3e
core: redo search cache from scratch. resolves #10382 (#10447)
In simple words, when you make a request in Jackett, the results are saved in memory (cache). The next request will return results form the cache improving response time and making fewer requests to the sites.
* We assume all indexers/sites are stateless, the same request return the same response. If you change the search term, categories or something in the query Jackett has to make a live request to the indexer.
* There are some situations when we don't want to use the cache:
** When we are testing the indexers => if query.IsTest results are not cached
** When the user updates the configuration of one indexer => We call CleanIndexerCache to remove cached results before testing the configuration
** When there is some error/exception in the indexer => The results are not cached so we can retry in the next request
* We want to limit the memory usage, so we try to remove elements from cache ASAP:
** Each indexer can have a maximum number of results in memory. If the limit is exceeded we remove old results
** Cached results expire after some time
* Users can configure the cache or even disable it
2020-12-11 23:14:21 +01:00
Diego Heras 32f0006680
divteam, hachede, mejortorrent, puntotorrent, torrentland, vizuk, zonaq: improve radarr search (#10148) 2020-11-09 02:20:15 +01:00
Diego Heras 2ea22af9ef
core: rename comments field to details #10092 (#10135) 2020-11-08 15:11:27 +13:00
Garfield69 570f422de1 assorted c# indexers: cat labels refresh 2020-11-06 16:09:57 +13:00
Diego Heras 5d1b84f215
assorted c#: enable music and book search in several trackers (#9910) 2020-10-20 13:38:27 +13:00
Diego Heras 8bc765eaae
core: code cleanup. part 2 (#9909) 2020-10-19 23:19:10 +02:00
Diego Heras 56a260f0d7
core: disable tv-search by default (#9893)
* Disable tv-search in music trackers
* Add TVRage search in Cardigann
2020-10-18 22:47:36 +02:00
Diego Heras 9cdad3de64
core: separate categories from movie-search (#9862)
* Categories and Torznab movie-search are separated
* Movie-search parameters are validated
* Fixed some bugs in Cardigann indexers
2020-10-18 19:26:22 +02:00
Diego Heras 58b79053f4
mejortorrent: remove other category. resolves #9783 (#9787) 2020-10-08 21:06:52 +02:00
Garfield69 eb7a104f17 drop MR and MST from public c# indexers 2020-09-27 11:09:42 +13:00
ngosang 621a47338d core: refactor http webclient part 16 #8529
Rename RequestWithCookiesAsync method
2020-09-21 19:06:32 +02:00
Cory ac0ba0f9b1 core: refactor http webclient part 13 #8529 (#8941)
Merge string/byte request code
2020-09-21 18:13:30 +02:00
Cory d760350dc0 core: refactor http webclient part 1 #8529 (#7652)
Rename WebClientStringResult.Content to WebClientStringResult.ContentString
2020-09-21 18:11:48 +02:00
ngosang 1271ecaa4c Revert "core: refactor http webclient part 1 #8529 (#7652)"
This reverts commit 0bdcfd1e7b.
2020-09-21 08:04:26 +02:00
ngosang ca61f965e9 Revert "core: refactor http webclient part 13 #8529 (#8941)"
This reverts commit 4d63fa81d5.
2020-09-21 08:02:53 +02:00
Cory 4d63fa81d5 core: refactor http webclient part 13 #8529 (#8941)
Merge string/byte request code
2020-09-19 18:43:06 +02:00
Cory 0bdcfd1e7b core: refactor http webclient part 1 #8529 (#7652)
Rename WebClientStringResult.Content to WebClientStringResult.ContentString
2020-09-19 18:33:39 +02:00
Garfield69 700e309405 mejortorrent: update download link. resolves #9296 2020-08-05 20:24:45 +12:00
Diego Heras 396c638f20
mejortorrent: fix download link (#9018) 2020-06-21 07:47:58 +02:00
Diego Heras 6156ad0cd5
core: allow renaming & merging of trackers with config (part 1 #8355) (#8608)
core: allow renaming & merging of trackers with config (part 1 #8355) (#8608)

* rename site field to id in yaml indexers
* add id field in c# indexers
* use id field instead of class name in c#
2020-05-11 21:59:28 +02:00
Diego Heras 162ad104ef
ci/cd: exclude indexers from code coverage (#8448) 2020-05-03 18:35:52 -05:00
Diego Heras 72f59278fa
mejortorrent: fix download link and code clean up (#8420) 2020-04-30 10:44:44 +02:00
Garfield69 cfe0e10b70 mejortorrent: new domain .net resolves #8224 2020-04-17 08:35:52 +12:00
Cory b5a6aab894
core: prefer object initializers (#7342) 2020-03-26 17:15:28 -05:00
Cory 98541ac6f8
core: Sort and remove usings (#7159) 2020-02-10 07:08:34 +13:00
Cory c12da520a4
Run dotnet format on solution (#7145) 2020-02-09 15:35:16 +13:00
Diego Heras 694c61990d
mejortorrent: rewrite from scratch. sonarr & raddar support. resolves #6988 resolves #5587 resolves #3754 resolves #3869 (#7026) 2020-02-02 07:39:19 +13:00
Diego Heras ca8fbd081d mejortorrent: fix download urls and grabs. resolves #6449 (#6565) 2020-01-05 07:42:25 +13:00
alvaro654 cf4a885ec9 mejortorrent: Fix new format links (#5830) 2019-08-15 07:23:58 +12:00
Yllelder Bamir 105ee61807 mejortorrent: Change to UTF-8 (#5660) 2019-07-15 12:54:47 +12:00
Garfield69 87926ea027 mejortorrent: is forcing http. resolves #5632 2019-07-10 10:29:24 +12:00
Garfield69 e1758093bf Revert "mejortorrent: switch to https (#5583)"
This reverts commit c5116e9d06.
2019-07-10 10:18:27 +12:00
Yllelder Bamir c5116e9d06 mejortorrent: switch to https (#5583)
The web now uses https instead http. Without this, the indexer doesn't work.
2019-07-02 07:55:03 +12:00
Yllelder Bamir eeb0e9b982 MejorTorrent: handle 4K and 3D. resolves #3384 (#5568)
This indexer was not able to distinguish whether a film is 3D or 4K, which made it totally unusable.

After a lot of fighting with Visual Studio to do tests compiling Jackett, I got the indexer to differentiate 3D and 4K movies.

Example screenshot:
https://imgur.com/cVp2Klc
2019-06-30 16:32:54 +12:00
Garfield69 5c62c29cea mejortorrent: new domain .org 2019-06-28 19:17:23 +12:00
Garfield69 ea14a5a194 mejortorrent: new domain 2019-05-16 12:55:23 +12:00
Garfield69 52e89581cf mejortorrent: new domain .tv
also add volumefactors to results.
2019-03-13 13:54:08 +13:00
flightlevel fa71356666 Update AngleSharp to v0.10
Breaking changes in AngleSharp v0.10, more information here https://github.com/AngleSharp/AngleSharp/blob/master/doc/Migration.md
2019-01-20 11:09:27 +11:00
snamds 48f72a3096 Mejortorrent: query clone (#3710)
* Make ReleaseInflo class derivation friendly

* Mejortorrent was corrupting the currentQuery passed to indexers
2018-08-30 18:34:41 +02:00
flightlevel da0ead13f4 MejorTorrent: Update Url
https://github.com/Jackett/Jackett/issues/1468
2018-07-19 20:48:56 +10:00
Ivan de la Beldad Fernandez 2fac90df9f feat(mejortorrent): improve movie search (#3352)
* feat(newpct): rename title to make them more standarized

* fix: add site link configurable

* feat: add tests if news are not available

Sometimes the web has no news, and even if the tv show searcher is
working it throws an error. This way it will check news, and, if not
available, will check some series to check aliveness.

* fix: remove apostrophes from search

closes #3315

* fix: initialize search term if it's null

* fix: add multiepisode parsing and minor improvements

Now a quality it's ensured
Now quality it's cleaned from brackets
Add dash as multiepisode separator

* refactor: move tv search to function and change site link

Sitelink is now a property class

* refactor: extract function to get series uris

* refactor: extract function to get releases from one uri

* feat: add fallback to shows starting with "the"

Whenever a shows doesn't return results and doesn't start with "the"
search one more time prepending "the".

The motivation of this is because of Sonarr sanitizes queries before
sending them to Jackett. This indexer needs the article but Sonarr
removes it before.

* fix(newpct): add missing guid based on link

That was causing missing files on applications consuming the newpct
indexer.

* feat(mejortorrent): add movie search

closes: #3310

* feat(mejortorrent): add parse and filter by year

* feat(mejortorrent): change movie search algorithm

Now movie search is based on longest word, then results are filtered
ignoring special characters.

* fix(mejortorrent): restore query so jackett log it correctly

* fix: add small year correction

Some movies are tagged with the year before or after, I think it's safe to
fix years with exactly the same name and only a year of difference.
2018-07-09 20:35:30 +10:00
Ivan de la Beldad Fernandez 40e5c999b3 mejortorrent: add parse and filter by year (#3336)
* mejortorrent: add parse and filter by year
2018-07-04 18:54:40 +02:00
Ivan de la Beldad Fernandez a81ef63075 mejortorrent: add movies search (#3334)
* feat(mejortorrent): add movie search

fixes #3310
2018-07-04 17:10:21 +02:00
Ivan de la Beldad Fernandez 115dfd20e7 Mejortorrent: improvements (#3324)
* feat(newpct): rename title to make them more standarized

* fix: add site link configurable

* feat: add tests if news are not available

Sometimes the web has no news, and even if the tv show searcher is
working it throws an error. This way it will check news, and, if not
available, will check some series to check aliveness.

* fix: remove apostrophes from search

closes #3315

* fix: initialize search term if it's null
2018-07-02 19:10:31 +02:00
Ivan de la Beldad Fernandez d5a6987390 add mejortorrent indexer (#3268)
* feat: start mejortorrent indexer, create basic configuration

* feat: add basic tv show scraper for series search

* fix: add guid so more than one episode is returned

* feat: add date to episodes

* feat: add support for multi-episodes

* feat: add proper filtering

* fix: change filter when there is no season or no episode

* feat: implement tv show rss scraper with no links by the moment

* feat: finish tv-shows rss

* fix: prevent sdtv to be marked as hdtv

* docs: add mejortorrent indexer to readme

* add url encode

* fix encoding

Content seems to be UTF8

* add missing include

* fix my fixes

* fix encoding
2018-06-22 16:48:33 +02:00