Garfield69
6301e9482e
cardigann, kinozal: rename infohash before boolean to usebeforeresponse
2021-10-06 19:56:46 +13:00
Garfield69
7235638310
cardigann: add Boolean usebeforeresponse to downloadblock selectors
...
this option defaults to false, but if set to true prevents the downloadblock from fetching the details page when processing the selectors for the download.
Instead the response from the beforeblock is used to process the selectors.
#8600
2021-10-06 19:14:34 +13:00
Garfield69
bd8c0bfafe
cardigann: add var substitution to the search block selector statement.
2021-10-04 10:49:43 +13:00
mikeoscar2006
3ba6081766
core: enable multiple redirects on download block fallback selectors ( #12316 ) resolves #12314
2021-09-17 06:47:50 +12:00
mikeoscar2006
5846e9b447
[Core] Add option to prevent torrent link check ( #12303 ) resolves #11865
2021-09-15 15:29:01 +12:00
mikeoscar2006
4c418ed4eb
[Cardigann] Code Quality Enhancement ( #12295 )
...
* cardigann: handle retry requests refactored
* cardigann: function to match selectors
* cardigann: fix torrent files not downloading
Co-authored-by: garfield69 <garfield69@outlook.com>
2021-09-14 03:53:59 +05:30
mikeoscar2006
bdff2209bd
cardigann: handle empty selector values for optional:true ( #12294 ) #12288
2021-09-13 08:11:38 +12:00
mikeoscar2006
58206c3ba7
[Cardigann] Add optional pathselector in the BEFORE block and few fixes ( #12276 )
2021-09-10 15:14:57 +12:00
mikeoscar2006
2ea2b0b1de
[Cardigann] Add infohash feature for download block ( #12258 )
2021-09-06 15:42:15 +12:00
Garfield69
2d3e079eb6
cardigann: use ReleaseInfo.GetBytes for seeders, leechers, files and grabs. #12255
2021-09-04 16:44:02 +12:00
seeyabye
542a905f0e
core: fixed category mapping for searchPaths ( #11922 )
...
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
2021-06-19 21:30:08 +01:00
seeyabye
0b376faf2d
core: modified filters for selectors ( #11918 )
2021-06-14 17:11:23 +01:00
seeyabye
04ee81430e
core: added download selectors to the download block ( #11907 )
2021-06-14 17:13:56 +12:00
Diego Heras
aca4a16bae
ci/cd: fix whitespaces ( #11749 )
2021-05-16 20:13:54 +02:00
Alessio Gogna
993116c96f
[enhancement] Handle optional field without exceptions ( #11669 )
...
In the optional fields parsing, it is no exceptional case that the selector finds nothing.
Return null value instead throwing exception increase the performance.
2021-05-04 07:59:37 +12:00
XYZJR
b7341b20f4
Add all configuration item types to GetBaseTemplateVariables ( #11332 ) resolves #11328
2021-03-18 02:01:58 +13:00
XYZJR
eaf0513605
Core: rewrite of configuration items. Resolves #2114 ( #11104 )
2021-03-17 12:29:26 +13:00
Diego Heras
6e527823b5
core: clean up cardigann parser guid #10092 ( #10609 )
2020-12-22 18:49:59 +01:00
Diego Heras
de8f36bf8c
core: cardigann add headers in test and download requests ( #10590 )
...
* Allow GoTemplates in search.headers
* Send search.headers in login.test and download requests
2020-12-20 19:56:19 +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
Garfield69
c854a91b99
cardigannindexer: add tmdbid as auto-optional field
2020-11-13 08:38:25 +13:00
Diego Heras
2ea22af9ef
core: rename comments field to details #10092 ( #10135 )
2020-11-08 15:11:27 +13:00
Diego Heras
c5dd37b836
core: rename banner field to poster #10092 ( #10134 )
2020-11-08 12:43:33 +13:00
Diego Heras
ed9d0a8328
core: remove recaptcha legacy code. resolves #8268 ( #10111 )
2020-11-05 15:19:09 +13:00
Diego Heras
f10d132e54
core: add infohash parameter in cardigann definition ( #10091 )
...
* core: add infohash parameter in cardigann definition
#8590 #10087
* linuxtracker: refresh categories
add date TZ
code tidy
2020-11-04 09:45:02 +13:00
Diego Heras
13f0698388
core: remove some cardigann traces ( #10085 )
2020-11-03 07:21:46 +01:00
Alexandre Beloin
4b743e4040
Cardigann: add check for redirect when pulling login page ( #9984 )
2020-10-28 10:00:18 +13:00
Diego Heras
8bc765eaae
core: code cleanup. part 2 ( #9909 )
2020-10-19 23:19:10 +02:00
Diego Heras
da0761406f
core: refactor book-search ( #9897 )
2020-10-19 21:26:43 +02:00
Diego Heras
1e42016546
core: refactor music-search ( #9895 )
2020-10-18 23:20:08 +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
c991d27b85
core / firebit: fix download referer. resolves #9758 ( #9789 )
2020-10-08 22:21:40 +02:00
Garfield69
aef813b8e2
cardigann: drop default MR and MST
...
only some private (and a few semi-private) sites have requirements for ratio and seedtime in which case they are specified in their respective indexers.
Public site have not such requirements.
2020-09-27 11:19:54 +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
67c7b4ca70
core: refactor http webclient part 12 #8529 ( #8939 )
...
Merge web results classes into single class and update usages
2020-09-21 18:13:27 +02:00
Cory
125298425a
core: refactor http webclient part 10 #8529 ( #7729 )
...
Move WebResult String and Byte properties to base class
2020-09-21 18:13:19 +02:00
Cory
4dd6da4f6e
core: refactor http webclient part 4 #8529 ( #7653 )
...
Change byte result name to ContentBytes in preparation for merge
2020-09-21 18:12:00 +02:00
Cory
4531a876eb
core: refactor http webclient part 2 #8529 ( #7654 )
...
Use base class when not looking at content variable
2020-09-21 18:11:53 +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
9c492c5dcb
Revert "core: refactor http webclient part 2 #8529 ( #7654 )"
...
This reverts commit 7c071b32ee
.
2020-09-21 08:04:21 +02:00
ngosang
ede3f77e6a
Revert "core: refactor http webclient part 4 #8529 ( #7653 )"
...
This reverts commit c605c9a7ae
.
2020-09-21 08:04:11 +02:00
ngosang
2d0b378545
Revert "core: refactor http webclient part 10 #8529 ( #7729 )"
...
This reverts commit 3a0ece162f
.
2020-09-21 08:03:14 +02:00
ngosang
a8d055f0d5
Revert "core: refactor http webclient part 12 #8529 ( #8939 )"
...
This reverts commit 22bced9ca3
.
2020-09-21 08:02:58 +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
22bced9ca3
core: refactor http webclient part 12 #8529 ( #8939 )
...
Merge web results classes into single class and update usages
2020-09-19 18:40:08 +02:00
Cory
3a0ece162f
core: refactor http webclient part 10 #8529 ( #7729 )
...
Move WebResult String and Byte properties to base class
2020-09-19 18:39:12 +02:00