Fix URL for kickass.to
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Feb 2015 21:18:28 +0000 (22:18 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Feb 2015 21:18:28 +0000 (22:18 +0100)
src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java
src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java

index d3adbcf..7c4d933 100644 (file)
@@ -66,7 +66,7 @@ public class KickAssTorrentsEpisodeWatcher extends DefaultWatcher {
         */
        private static Query createHttpQuery(String searchTerms) {
                try {
-                       return new HttpQuery("http://kat.ph/usearch/" + URLEncoder.encode(searchTerms, "UTF-8") + "/?field=time_add&sorder=desc");
+                       return new HttpQuery("https://kickass.to/usearch/" + URLEncoder.encode(searchTerms, "UTF-8") + "/?field=time_add&sorder=desc");
                } catch (UnsupportedEncodingException uee1) {
                        /* will not happen. */
                        return null;
index d34c20b..956334c 100644 (file)
@@ -64,7 +64,7 @@ public class KickAssTorrentsWatcher extends DefaultWatcher {
         */
        private static Query createHttpQuery(String searchTerms) {
                try {
-                       return new HttpQuery("http://kat.ph/usearch/" + URLEncoder.encode(searchTerms, "UTF-8") + "/?field=time_add&sorder=desc");
+                       return new HttpQuery("https://kickass.to/usearch/" + URLEncoder.encode(searchTerms, "UTF-8") + "/?field=time_add&sorder=desc");
                } catch (UnsupportedEncodingException uee1) {
                        /* will not happen. */
                        return null;