diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-09-24 14:20:42 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-09-24 14:20:42 +0800 |
commit | 5968d7d2fe619e85eb424d6e47d000f0b295d4a2 (patch) | |
tree | 4904d66b01becf7fb71e5e3cf0c91a5448ae9feb /youtube_dl/extractor/rtl2.py | |
parent | e6332059ac66bfc91ed18e5b15d9238e4283ee7a (diff) |
[extractor/common] Improved support for HTML5 subtitles
Ref: #10625
In a strict sense, <track>s with kind=captions are not subtitles. [1]
openload misuses this attribute, and I guess there will be more
examples, so I add it to common.py.
Also allow extracting information for subtitles-only <video> or <audio>
tags, which is the case of openload.
[1] https://www.w3.org/TR/html5/embedded-content-0.html#attr-track-kind
Diffstat (limited to 'youtube_dl/extractor/rtl2.py')
0 files changed, 0 insertions, 0 deletions