From 3cfff3956d11b1654133ce632248ee574a9fd6a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 2 Oct 2015 07:31:38 +0200 Subject: [PATCH] Switch Pirate Bay back to the .org domain --- .../net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java | 2 +- src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java index 304d6f5..6f8507c 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.vg/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); + return new HttpQuery("http://thepiratebay.org/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 b146a97..a8cad78 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.vg/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); + return new HttpQuery("http://thepiratebay.org/search/" + URLEncoder.encode(searchTerms, "UTF-8") + "/0/3/0"); } catch (UnsupportedEncodingException uee1) { /* will not happen. */ return null; -- 2.7.4