Quick fix for #752

This commit is contained in:
morpheus65535 2020-01-16 23:13:44 -05:00 committed by GitHub
parent a0a30a9684
commit 6677d20686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ class LegendasdivxProvider(Provider):
download = _subbox.find("a", {"class": "sub_download"})
try:
# sometimes BSoup just doesn't get the link
logger.debug(download.get('href'))
except Exception as e:
logger.warning('skipping subbox on %s' % self.searchurl.format(query=querytext))
continue