From f284854aca2fc04c157cab5a3c43ac3ea9ab42d5 Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Sat, 11 Apr 2015 00:38:09 -0400 Subject: [PATCH] fix broken mirror failover --- pirate-get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pirate-get.py b/pirate-get.py index 1476c83..668710c 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -229,7 +229,7 @@ def remote(args, mirror): r'([^<]+)', res) # check for a blocked mirror - no_results = re.search(r'"No hits\.', res) + no_results = re.search(r'No hits\. Try adding an asterisk in you search phrase\.', res) if found == [] and no_results is None: # Contradiction - we found no results, # but the page didn't say there were no results.