From e6b74be1f648421e4834cbcc9b5247a9c0bf3403 Mon Sep 17 00:00:00 2001 From: Ade Date: Thu, 2 Feb 2017 19:46:31 +1300 Subject: [PATCH] Replace Piratebay apostrophe Fixes #2839 --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 1068a3fe..e12d7f95 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1715,7 +1715,7 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None, # Pirate Bay if headphones.CONFIG.PIRATEBAY: provider = "The Pirate Bay" - tpb_term = term.replace("!", "") + tpb_term = term.replace("!", "").replace("'", " ") # Use proxy if specified if headphones.CONFIG.PIRATEBAY_PROXY_URL: