Commit Graph

94 Commits

Author SHA1 Message Date
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
Cory c605c9a7ae core: refactor http webclient part 4 #8529 (#7653)
Change byte result name to ContentBytes in preparation for merge
2020-09-19 18:36:33 +02:00
Cory 7c071b32ee core: refactor http webclient part 2 #8529 (#7654)
Use base class when not looking at content variable
2020-09-19 18:35:26 +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
Qstick f8ad109b78
cardigann: Add TVDbId, TMDbId Query Support (#9102) 2020-08-17 10:07:04 +12:00
ta264 df91bd4573
Add support for book-search (#9306) 2020-08-17 09:44:12 +12: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 9cbc78b1c2
core: fix cookie parsing (part 2) (#8150)
* core: fix cookie parsing (part 2)

After fixing cookie storage in #8133 I noticed that I still have a lot of '.json.bak' files in the Jackett configuration folder. After deleting them they were created again in each request. The cause was we were parsing bad the cookies with '=' character in the value. Most Cloudflare cookies include if so we were sending bad cookies and solving the callenge in each request.

This PR should increase performance in several ways: we are not solving the challenge again (it takes time), we are not making extra requests and we are not updating the Jackett configuration in each request (both files '.json' and '.json.bak').

Tested with the client HttpWebClient2NetCore only. Please do some tests with the site 1337x.
2020-04-13 06:22:50 +02:00
Diego Heras 8ce15eca73
core: fix cookie storage. resolves #8126 (#8133) 2020-04-12 15:00:14 +02:00
Cory 06315470c4
core: remove enumerable related extensions (#7842) 2020-03-26 22:13:38 -05:00
Cory 916f4756ef
Rargb: Update category mappings. Resolves #7760 (#7761) 2020-03-21 20:59:56 +13:00
Cory 889a8da4e5
Convert functions and properties to expression bodies when able (#7312)
Convert functions and properties to expression bodies when able
2020-02-25 10:08:03 -06:00
Cory 348dddfbee
core: Apply declarations styles (#7166) 2020-02-11 11:16:19 +13: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
morpheus133 a89c7dedeb ImdbTVSearchSupport added for c# based indexers (#5791) 2020-01-09 16:32:02 +13:00
lpearl fd36eb068c add pornolab a semi-private Russian site (#6465) resolves #4373 2019-12-05 16:26:59 +13:00
flightlevel f86e8dd5b6 Limit IMDB searches to movies
#5124
2019-05-11 13:27:25 +10:00
flightlevel f9b4b5a76c Attempt to handle not found System.Runtime.InteropServices.RuntimeInformation
https://github.com/Jackett/Jackett/issues/3816
2018-09-24 19:24:17 +10:00
kaso17 2d5a90ae31 BaseIndexer: add cloudflare ReCaptcha detection 2018-09-04 19:30:48 +02:00
flightlevel 524a0c7885 Remove IsRunningLegacyOwin check
Dead code since upgrade to Jackett.Server
2018-08-18 17:09:19 +10:00
kaso17 ef316590cb support multiple category mappings 2018-07-30 14:25:35 +02:00
kaso17 6b44cc9b74 fix migration logic 2018-06-26 17:47:19 +02:00
flightlevel 8ae09d453d Remove Microsoft.Extensions.PlatformAbstractions dependency
Was only needed for .NET Core 1
2018-06-24 11:38:57 +10:00
kaso17 3468e7d404 improve BEncode error handling 2018-06-15 11:12:03 +02:00
flightlevel 8c953bbf01 Avoid Engine for AspNetCore 2018-06-11 17:17:56 +10:00
flightlevel e8bc2816ef Update migration logging 2018-06-10 12:51:34 +10:00
flightlevel 4b599f391c Mono 5.8 is the minimum supported runtime
#3181 fix. Can get away without using RuntimeInformation and didn't
consider public trackers without a password
2018-06-05 21:47:20 +10:00
kaso17 1615bff2d0 handle RuntimeInformation exception 2018-06-05 13:14:32 +02:00
flightlevel 601783aef6 .NET Core preparation 2 2018-06-02 17:42:01 +10:00
flightlevel ac5af81344
.NET Core preparation (#3177)
The DPAPI won't be present, will be using AspNetCore DataProtection
instead
2018-05-30 21:28:20 +10:00
kaso17 6a4c34d5df torznab: fix limit parameter 2018-05-14 16:48:57 +02:00
kaso17 1b4826f966 BaseIndexer: fix potato API 2018-04-25 20:35:35 +02:00
kaso17 9ceeb71448 BaseIndexer: fix meta indexer fallback decision 2018-04-17 12:43:00 +02:00
kaso17 b26e287a62 add t=indexers for meta indexers 2018-04-06 17:43:18 +02:00
kaso17 b66fd18380 handle cloudflare error 523 2018-04-01 15:40:43 +02:00
flightlevel 3e5e48c3a0
Change namespace to Jackett.Common (#2691)
Really hope I don't break anything with this
Went to have a go at .NET core and it just became too confusing for me with 'Jackett' namespace referring to both Jackett.Common and Jackett
2018-03-10 19:05:56 +11:00
kaso17 4059815811 ignore cloudflare ob cookies 2017-12-27 19:05:19 +01:00
Andy Simons 492816ab35 Fix: Downloading of torrent file don't follow redirect (#2196) 2017-11-30 12:11:42 +01:00
kaso17 69e7c7def3 clear cookies on unconfigure 2017-11-13 16:55:02 +01:00
kaso17 30ac099653 Reset SiteLink on unconfigure 2017-11-13 12:55:54 +01:00
kaso17 a6b5401c0b add support for magnet file download links 2017-11-09 13:28:15 +01:00
Nathan Holland 571c52a0f2 Feature/netcore preparation (#2072)
* Use platform detection that works on mono 4.6+

* Move to use package reference for restoring nuget packages.

* DateTimeRoutines does not have Nuget packages that support .NET Standard (and therefore .NET Core). We will have to include them for now until we can get rid of this dependency.

* Start spliting some interfaces into their own files - this will help by allowing us to split them out in the future into a seperate project so the actual implementations can stay within their respective architectures when required

* Move out common libraries

* Few more tidy up tasks to get things working with .NET Standard

* Restructure the solution layout

* Encoding work to reduce rework later on platforms without Windows codepages (or require compliance with RFC1345)

* Move folder structure around to have more natural layout of the solutions

* DI server configuration to get rid of "temporary" hack and dependency circle for serverservice

* Make all encoding consistent to match the expected encoding casing for earlier versions of mono.
2017-11-05 20:42:03 +11:00
Renamed from src/Jackett/Indexers/BaseIndexer.cs (Browse further)