subssabbz: Small fix (#380)

provider selects wrong link and raise a exception:
ValueError: Not a valid archive
pull/384/head
jonudewux 6 years ago committed by morpheus65535
parent f9aae9e10d
commit 2eeedd5efa

@ -118,7 +118,7 @@ class SubsSabBzProvider(Provider):
for row in rows[:10]:
a_element_wrapper = row.find('td', { 'class': 'c2field' })
if a_element_wrapper:
element = row.find('a')
element = a_element_wrapper.find('a')
if element:
link = element.get('href')
logger.info('Found subtitle link %r', link)

Loading…
Cancel
Save