Commit Graph

359 Commits (e9297256d405651428d5d52f0bb6b32ca66ea15a)

Author SHA1 Message Date
Yen Chi Hsuan 7b2fcbfd4e
[common] Skip TYPE=CLOSED-CAPTIONS lines in m3u8 manifests
According to [1], valid values for TYPE are AUDIO, VIDEO, SUBTITLES
and CLOSED-CAPTIONS. Such a value is found in Anvato master playlists,
though I don't use _extract_m3u8_formats() in the end.

Part of .

[1] https://tools.ietf.org/html/draft-pantos-http-live-streaming-19#section-4.3.4.1
Yen Chi Hsuan 16da9bbc29
[common] Add _m3u8_meta_format() template
For extractors who handle m3u8 manifests by themselves. (eg., AnvatoIE)

Part of 
Yen Chi Hsuan ad96b4c8f5
[common] Extract audio formats in SMIL
Found in http://www.cbc.ca/player/play/2657631896

Closes 
Sergey M․ ed56f26039
[extractor/common] Improve name extraction for m3u8 formats
Sergey M․ 8a92e51c60
[extractor/common] Relax wording for creator metafield
Yen Chi Hsuan e9c6cdf4a1
[common] Fix format_id construction for HLS
Kagami Hiiragi b24d6336a7 [vlive] Add support for live videos
Yen Chi Hsuan d6712378e7
Merge branch 'akamai_pv' of https://github.com/remitamine/youtube-dl into remitamine-akamai_pv
remitamine fb72ec58ae [extractor/common] do not process f4m manifest that contain akamai playerVerificationChallenge
Yen Chi Hsuan 2c0d9c6217
[extractor/common] Allow empty post data
Sergey M․ 49caf3307f
[extractor/common] Remove irrelevant comment
Sergey M․ bacec0397f [extractor/common] Relax _hidden_inputs
Sergey M․ fb38aa8b53 [extractor/common] Support arbitrary format strings for template based identifiers in mpd manifests (Closes , closes )
Sergey M․ 7a93ab5f3f [extractor/common] Introduce music album metafields
Sergey M․ b507cc925b [extractor/common] Carry long line
Sergey M․ db8ee7ec05 [extractor/common] Fix numeric identifiers conversion in DASH URL templates
remitamine df634be2ed [common] prefer using mime type over ext for smil subtitle extraction
the subtitle ext for http://www.cnet.com/videos/download-amazon-prime-movies-and-tv/
is adb_xml while using the mime type it get tt(application/smptett+xml)
Sergey M․ 41d06b0424 [extractor/common] Improve _request_webpage
* Do not ignore data, headers and query for Requests
* Default values for headers and query switched to dicts since these are used by urllib itself
Sergey M․ b22ca76204 [extractor/common] Filter out unsupported encrypted media for f4m formats (Closes )
Sergey M․ 19dbaeece3 Remove _sort_formats from _extract_*_formats methods
Now _sort_formats should be called explicitly.
_sort_formats has been added to all the necessary places in code.

Closes 
Sergey M․ 15707c7e02 [compat] Add compat_urllib_parse_urlencode and eliminate encode_dict
encode_dict functionality has been improved and moved directly into compat_urllib_parse_urlencode
All occurrences of compat_urllib_parse.urlencode throughout the codebase have been replaced by compat_urllib_parse_urlencode

Closes 
remitamine 49dea4913b Merge pull request from remitamine/dash-sort
[extractor/common] fix dash formats sorting
Sergey M․ 0fdbb3322b [extractor/common] Add _parse_f4m_formats routine
remitamine 09f572fbc0 [extractor/common] add transform_source to _download_smil and _extract_smil_formats
remitamine 15bf934de5 Merge pull request from remitamine/simple-webpage-requests
[extractor/common] simplify using data, headers and query params with _download_* methods
remitamine cdfee16818 [extractor/common] add data, headers and query params to _request_webpage
Yen Chi Hsuan a6c8b75904 [common] Use mimeType to determine file extensions ()
Yen Chi Hsuan 64f08d4ff2 Merge pull request from yan12125/dash-detect-ext
Detect file extensions of DASH formats from their codecs
Yen Chi Hsuan af7d5a63b2 [common] Document protocol http_dash_segments
Yen Chi Hsuan 2def60c5f3 [common] Use codec2ext for DASH formats ()
Yen Chi Hsuan e9c0cdd389 [jython] Introduce compat_os_name
os.name is always 'java' on Jython
Sergey M․ 7bcd2830dd [extractor/common] Document uploader_url
Sergey M․ 2bc0c46f98 [extractor/common] Document license metafield
Sergey M․ d77ab8e255 Add --mark-watched feature (Closes )
Sergey M․ 9cdffeeb3f [extractor/common] Clarify rationale on media playlist detection
Sergey M․ fbb6edd298 [extractor/common] Properly extract audio only formats in master m3u8 playlists
Sergey M․ f5bdb44443 [extractor/common] Add _remove_duplicate_formats
remitamine cafcf657a4 add more subtitles mime types to mimetype2ext and fix the platform subtitle extraction
Sergey M․ 611c1dd96e [refactor] Single quotes consistency
Sergey M․ d800609c62 [refactor] Do not specify redundant None as second argument in dict.get()
Sergey M․ bb20526b64 [extractor/common] Improve base url construction
remitamine c349456ef6 [extractor/common] strip http urls in smil manifest
remitamine 81e1c4e2fc [extractor/common] remove duplicate rtmp formats in smil manifest
remitamine dd86780596 [extractor/common] fix dash formats sorting
remitamine 154c209e2d [extractor/common] improve dash format ids
remitamine 51e9094f4a [extractor/common] extract youtube dash formats filesize(fixes )
remitamine d413095f7e [extractor/common] remove duplicated formats and subtiles in smil manifests
remitamine 6a3828fddd [common] use float conversion instead of using division from __future__
remitamine 91cb6b5065 rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespace
remitamine 0826a0b555 [common] sort dash formats