Fixed podnapisi search results parsing error

pull/2342/head
morpheus65535 11 months ago committed by GitHub
parent a7b84df68b
commit b11f8100ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -209,7 +209,7 @@ class PodnapisiProvider(_PodnapisiProvider, ProviderSubtitleArchiveMixin):
break
# exit if no results
if not int(xml.find('pagination/results').text):
if not xml.find('pagination/results') or not int(xml.find('pagination/results').text):
logger.debug('No subtitles found')
break

Loading…
Cancel
Save