1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-06 16:57:04 +01:00

[afreecatv] Fix typo (#26970)

This commit is contained in:
Toan Nguyen 2020-10-22 19:15:05 +07:00 committed by GitHub
parent 7d740e7dc7
commit 48c5663c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,7 @@ class AfreecaTVIE(InfoExtractor):
video_element = video_xml.findall(compat_xpath('./track/video'))[-1] video_element = video_xml.findall(compat_xpath('./track/video'))[-1]
if video_element is None or video_element.text is None: if video_element is None or video_element.text is None:
raise ExtractorError( raise ExtractorError(
'Video %s video does not exist' % video_id, expected=True) 'Video %s does not exist' % video_id, expected=True)
video_url = video_element.text.strip() video_url = video_element.text.strip()