projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c8cfc
)
[afreecatv] Fix extraction (closes #15755)
author
Sergey M․
<dstftw@gmail.com>
Sat, 3 Mar 2018 20:01:58 +0000
(
03:01
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 3 Mar 2018 20:01:58 +0000
(
03:01
+0700)
youtube_dl/extractor/afreecatv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/afreecatv.py
b/youtube_dl/extractor/afreecatv.py
index 148a0999c1e60431a7f933c15ce1645f804ffb42..fe499a35a5a2376adec605e19a73e7d072d15510 100644
(file)
--- a/
youtube_dl/extractor/afreecatv.py
+++ b/
youtube_dl/extractor/afreecatv.py
@@
-200,7
+200,7
@@
class AfreecaTVIE(InfoExtractor):
raise ExtractorError(
'%s said: %s' % (self.IE_NAME, flag), expected=True)
- 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:
raise ExtractorError('Specified AfreecaTV video does not exist',
expected=True)