mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 01:08:10 +00:00
f561e0d817
* Add new IEs * GlomexBaseIE: Base IE class * GlomexIE: Extract videos from video.glomex.com (by deferring to glomex:embed) * GlomexEmbedIE: Extract Glomex videos by matching the player URL * Query the API to extract metadata, detect video formats and get the respective (JWT protected) stream/source URLs * The API query may return one or more videos: the latter case is treated as a playlist * As this is otherwise identically handled, a separate IE was not deemed necessary * However title and description fields are not set for playlist results * They do not exist in the parent object; obtaining them from the first entry is not indicative for the playlist content * As the playlist order is not always stable (this is true at least for related videos playlists), it makes writing test cases impossible * Let GenericIE detect embeds by matching all three integration methods: * HTML: glomex-player tag or data attributes * Javascript: naive parsing of inline scripts for string constants assigned to integration parameters * Iframe: src attribute GlomexEmbedIE._VALID_URL * Let GlomexIE and the former embed detection pass the origin URL to GlomexEmbedIE by smuggling it in the player URL, as this is an expected parameter in API requests * Add test cases for both single videos and two playlist flavors |
||
---|---|---|
.. | ||
downloader | ||
extractor | ||
postprocessor | ||
__init__.py | ||
__main__.py | ||
aes.py | ||
cache.py | ||
compat.py | ||
jsinterp.py | ||
options.py | ||
socks.py | ||
swfinterp.py | ||
update.py | ||
utils.py | ||
version.py | ||
YoutubeDL.py |