From: David ‘Bombe’ Roden Date: Wed, 26 Aug 2015 16:37:38 +0000 (+0200) Subject: Use new URL for pirate bay X-Git-Tag: v2~164 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=48da379d3e08c7eb76550598f3b4dd9e637060d7;p=rhynodge.git Use new URL for pirate bay --- diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java index fe18770..304d6f5 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java @@ -65,7 +65,7 @@ public class PirateBayEpisodeWatcher extends DefaultWatcher { */ private static Query createHttpQuery(String searchTerms) { try { - return new HttpQuery("http://thepiratebay.se/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); + return new HttpQuery("http://thepiratebay.vg/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); } catch (UnsupportedEncodingException uee1) { /* will not happen. */ return null; diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java index 77fbf4d..b146a97 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java @@ -64,7 +64,7 @@ public class PirateBayWatcher extends DefaultWatcher { */ private static Query createHttpQuery(String searchTerms) { try { - return new HttpQuery("http://thepiratebay.se/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); + return new HttpQuery("http://thepiratebay.vg/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); } catch (UnsupportedEncodingException uee1) { /* will not happen. */ return null;