@@ -15,6 +15,7 @@ from lxml import html
1515# engine dependent config
1616categories = ['videos']
1717paging = True
18+language = ""
1819
1920# search-url
2021url = 'http://www.subtitleseeker.com/'
@@ -41,6 +42,10 @@ def response(resp):
4142 for result in dom.xpath(results_xpath):
4243 link = result.xpath(".//a")[0]
4344 href = link.attrib.get('href')
45+
46+ if language is not "":
47+ href = href + language + "/"
48+
4449 title = escape(link.xpath(".//text()")[0])
4550
4651 content = result.xpath('.//div[contains(@class,"red")]//text()')[0]