@@ -15,6 +15,7 @@ from lxml import html
15# engine dependent config
15# engine dependent config
16categories = ['videos']
16categories = ['videos']
17paging = True
17paging = True
19# search-url
20# search-url
20url = 'http://www.subtitleseeker.com/'
21url = 'http://www.subtitleseeker.com/'
@@ -41,6 +42,10 @@ def response(resp):
41 for result in dom.xpath(results_xpath):
42 for result in dom.xpath(results_xpath):
42 link = result.xpath(".//a")[0]
43 link = result.xpath(".//a")[0]
43 href = link.attrib.get('href')
44 href = link.attrib.get('href')
46+ if language is not "":
47+ href = href + language + "/"
44 title = escape(link.xpath(".//text()")[0])
49 title = escape(link.xpath(".//text()")[0])
46 content = result.xpath('.//div[contains(@class,"red")]//text()')[0]
51 content = result.xpath('.//div[contains(@class,"red")]//text()')[0]