From c7fc7e0a0f147f5eb9eee7f620c21c9d4da3f592 Mon Sep 17 00:00:00 2001
From: Garfield69 <Garfield69@outlook.com>
Date: Thu, 22 Feb 2018 07:11:48 +1300
Subject: [PATCH] SkyTorrents: shutdown.

details at
https://torrentfreak.com/skytorrents-dumps-massive-torrent-database-and-shuts-down180221/
---
 README.md                                     |  1 -
 .../Definitions/skytorrents.yml               | 64 -------------------
 src/Jackett.Updater/Program.cs                |  1 +
 3 files changed, 1 insertion(+), 65 deletions(-)
 delete mode 100644 src/Jackett.Common/Definitions/skytorrents.yml

diff --git a/README.md b/README.md
index 036541e2..f2e8da72 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
  * RARBG
  * RuTor
  * ShowRSS
- * Sky torrents
  * The Pirate Bay
  * TNTVillage <!-- maintained by bonny1992 -->
  * Tokyo Toshokan
diff --git a/src/Jackett.Common/Definitions/skytorrents.yml b/src/Jackett.Common/Definitions/skytorrents.yml
deleted file mode 100644
index d0aa9c66..00000000
--- a/src/Jackett.Common/Definitions/skytorrents.yml
+++ /dev/null
@@ -1,64 +0,0 @@
----
-  site: skytorrents
-  name: Sky torrents
-  description: "SkyTorrents is a Public privacy-focused torrent search engine with no adverts or tracking"
-  language: en-us
-  type: public
-  encoding: UTF-8
-  links:
-    - https://www.skytorrents.in/
-
-  caps:
-    categories:
-      TV: TV
-      Movies: Movies
-
-    modes:
-      search: [q]
-      tv-search: [q, season, ep]
-
-  settings: []
-  
-  search:
-    paths:
-      - path: "search/all/{{if .Query.Keywords}}ed{{else}}ad{{end}}/1/{{ .Query.Keywords}}"
-    rows:
-      selector: "table > tbody > tr"
-      filters:
-        - name: andmatch
-    fields:
-      title:
-        selector: td:nth-child(1) > a:first-child[title]
-        attribute: title
-      details:
-        selector: td:nth-child(1) > a:first-child
-        attribute: href
-      size:
-        selector: td:nth-child(2)
-      files:
-        selector: td:nth-child(3)
-      seeders:
-        selector: td:nth-child(5)
-      leechers:
-        selector: td:nth-child(6)
-      description:
-        selector: td:nth-child(1)
-        case:
-          img[title="Verified and marked"]: "Verified and marked"
-          "*": ""
-      date:
-        selector: td:nth-child(4):contains("ago")
-        optional: true
-      date:
-        selector: td:nth-child(4):not(:contains("ago"))
-        optional: true
-        filters:
-          - name: dateparse
-            args: "01-02-2006"
-      download:
-        selector: td > a[href^="magnet"]
-        attribute: href
-      downloadvolumefactor:
-        text: "0"
-      uploadvolumefactor:
-        text: "1"
diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs
index 87cfcbf0..318ecc6e 100644
--- a/src/Jackett.Updater/Program.cs
+++ b/src/Jackett.Updater/Program.cs
@@ -203,6 +203,7 @@ namespace Jackett.Updater
                 "Definitions/infinityt.yml",
                 "Definitions/hachede-c.yml",
                 "Definitions/hd4Free.yml",
+                "Definitions/skytorrents.yml",
             };
 
             foreach (var oldFIle in oldFiles)
-- 
GitLab