From 3590fd914f0de41eebd67832c949d7f7f94a4fe8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 11 Feb 2015 22:18:28 +0100 Subject: [PATCH] Fix URL for kickass.to --- .../pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java | 2 +- .../net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java index d3adbcf..7c4d933 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java @@ -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; diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java index d34c20b..956334c 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java @@ -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; -- 2.7.4