Remove erroneous logger parameter when failing to get Youtube GDPR URL.

Reported-by: Teemu Ikonen <tpikonen@gmail.com>
This commit is contained in:
auouymous 2022-05-08 16:09:21 -06:00
parent 565a720dbc
commit f6a919759f
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ def get_gdpr_consent_url(html_data):
logger.debug('YouTube GDPR accept consent URL is: %s', parser.url)
return parser.url
else:
logger.debug('YouTube GDPR accepted consent URL could not be resolved.', parser.url)
logger.debug('YouTube GDPR accepted consent URL could not be resolved.')
raise YouTubeError('No acceptable GDPR consent URL')