Skip to content

Commit

Permalink
Provide additional search parameter as fallback when outside the US
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeosbn committed Dec 31, 2017
1 parent 8fa9da1 commit 0faa20d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def SetupUrls(sitetype, base, lang='en'):
# Match titles using more flexible keyword search
if Prefs['keyword_searching']:
urlsearchtitle = "advsearchKeywords="
else:
# fallback for .com title search outside US
urlsearchtitle += "{0}&searchTitle="

AUD_BASE_URL='https://' + str(base) + '/'
AUD_TITLE_URL=urlsearchtitle
Expand Down

0 comments on commit 0faa20d

Please sign in to comment.