Commit Graph

1911 Commits

Author SHA1 Message Date
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