projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
39c780f
)
[extractor/common] Clarify url and manifest_url meta fields
author
Sergey M․
<dstftw@gmail.com>
Mon, 4 Mar 2019 17:39:15 +0000
(
00:39
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 4 Mar 2019 17:41:53 +0000
(
00:41
+0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 1fa8048b833489bce7a42cba3374b806e5b0f9e9..641e50f3c51fc5d5ae086ce327a82439fdc9fbef 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-102,10
+102,20
@@
class InfoExtractor(object):
from worst to best quality.
Potential fields:
from worst to best quality.
Potential fields:
- * url Mandatory. The URL of the video file
+ * url The mandatory URL representing the media:
+ for plain file media - HTTP URL of this file,
+ for RTMP - RTMP URL,
+ for HLS - URL of the M3U8 media playlist,
+ for HDS - URL of the F4M manifest,
+ for DASH - URL of the MPD manifest,
+ for MSS - URL of the ISM manifest.
* manifest_url
The URL of the manifest file in case of
* manifest_url
The URL of the manifest file in case of
- fragmented media (DASH, hls, hds)
+ fragmented media:
+ for HLS - URL of the M3U8 master playlist,
+ for HDS - URL of the F4M manifest,
+ for DASH - URL of the MPD manifest,
+ for MSS - URL of the ISM manifest.
* ext Will be calculated from URL if missing
* format A human-readable description of the format
("mp4 container with h264/opus").
* ext Will be calculated from URL if missing
* format A human-readable description of the format
("mp4 container with h264/opus").