Update youtube_dl/extractor/tvp.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
bibiak 2023-05-22 21:21:08 +02:00 committed by GitHub
parent 1d148eb75f
commit 56c07235ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ if not hasattr(InfoExtractor, '_match_valid_url'):
elif fatal:
raise RegexNotFoundError('Unable to extract %s' % _name)
else:
self._downloader.report_warning('unable to extract %s' % _name + bug_reports_message())
self.report_warning('unable to extract %s' % _name + bug_reports_message())
return None
def _html_search_regex(self, pattern, string, name, default=NO_DEFAULT, fatal=True, flags=0, group=None):