diff --git a/addon.xml b/addon.xml index 2ce635c..c5893f3 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/changelog.txt b/changelog.txt index cd3df7f..b6e415f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +1.1.4 +- fixed broken search due to site API change + 1.1.3 - another (hopefully better) fix for download link issue diff --git a/resources/lib/TorecSubtitlesDownloader.py b/resources/lib/TorecSubtitlesDownloader.py index b6c8505..381465d 100644 --- a/resources/lib/TorecSubtitlesDownloader.py +++ b/resources/lib/TorecSubtitlesDownloader.py @@ -16,7 +16,7 @@ class SubtitleOption(object): def __init__(self, subtitle_option_row): onclick_action_string = subtitle_option_row.find("td", { "class" : "desktop" }).find("button").get("onclick") - params_match = re.match("downloadSub\(\'(?P\w*)\',(?P\d+),", onclick_action_string) + params_match = re.search("\((?P\d+),\'(?P\w*)\',", onclick_action_string) if not params_match: return