Fixed podnapisi search results parsing error

This commit is contained in:
morpheus65535 2023-12-31 15:57:33 -05:00 committed by GitHub
parent a7b84df68b
commit b11f8100ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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