Switch Pirate Bay back to the .org domain
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 2 Oct 2015 05:31:38 +0000 (07:31 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 2 Oct 2015 05:31:38 +0000 (07:31 +0200)
src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java
src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java

index 304d6f5..6f8507c 100644 (file)
@@ -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;
index b146a97..a8cad78 100644 (file)
@@ -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;