aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [extractor] Better error message for DRM (#729)pukkandan2021-08-231-15/+10
| | | Closes #636
* [lazy_extractors] Fix `suitable` and add flake8 testpukkandan2021-08-231-1/+3
|
* [extractor] Common function `_match_valid_url`pukkandan2021-08-231-9/+8
|
* minor bugfixespukkandan2021-08-111-2/+2
| | | | bugs due to be2fc5b212338d89d9c139cb463f785e797d1ad3, e9f4ccd19eb92621970b518fb5984b8aef52bdc8
* [extractor] Detect `sttp` as subtitles in MPDpukkandan2021-08-101-203/+211
| | | | | Closes #656 Solution by: fstirlitz
* [cleanup] Miscpukkandan2021-08-071-5/+6
|
* [extractor] Reset non-repeating warnings per videopukkandan2021-08-071-7/+13
|
* [RCTIPlus] Support events and TV (#625)MinePlayersPE2021-08-041-1/+1
| | | Authored by: MinePlayersPE
* [CBS] Add fallback (#579)LE2021-08-021-0/+2
| | | | Related: https://github.com/ytdl-org/youtube-dl/issues/29564 Authored-by: llacb47, pukkandan
* [cleanup] Refactor some codepukkandan2021-08-011-2/+2
|
* [FormatSort] Fix bug for audio with unknown codecpukkandan2021-08-011-8/+5
|
* Add field `live_status`pukkandan2021-07-211-0/+2
|
* [youtube] Extract more thumbnailspukkandan2021-07-201-0/+1
| | | | | | | * The thumbnail URLs are hard-coded and their actual existence is tested lazily * Added option `--no-check-formats` to not test them Closes #340, Related: #402, #337, https://github.com/ytdl-org/youtube-dl/issues/29049
* [generic] Extract previously missed subtitles (#515)Felix S2021-07-161-2/+15
| | | | | | | * [generic] Extract subtitles in cases missed previously * [common] Detect discarded subtitles in SMIL manifests * [generic] Extract everything in the SMIL manifest Authored by: fstirlitz
* [extractor] Allow extracting multiple groups in `_search_regex`felix2021-07-141-0/+2
| | | | From #497, Authored by: fstirlitz
* [utils] Add `variadic`pukkandan2021-07-111-10/+4
|
* Improve `extractor_args` parsingpukkandan2021-07-081-2/+11
|
* [extractor] Minor improvements (See desc)pukkandan2021-07-071-10/+4
| | | | | 1. Allow removal of login hint - extractors can set their own login hint as part of `msg` 2. Cleanup `_merge_subtitles` signature
* [extractor] Prevent unnecessary download of hls manifestspukkandan2021-07-071-112/+48
| | | | and refactor `hls_split_discontinuity` code
* Add `--extractor-args` to pass extractor-specific argumentspukkandan2021-06-251-0/+5
|
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-1/+1
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan
* [pornhub] Extract `cast`pukkandan2021-06-131-0/+1
| | | | Closes #406, https://github.com/ytdl-org/youtube-dl/pull/27384
* [downloader/mhtml] Add new downloader (#343)felix2021-06-131-5/+24
| | | | | | | | | | | | | | | | | | This downloader is intended to be used for streams that consist of a timed sequence of stand-alone images, such as slideshows or thumbnail streams This can be used for implementing: https://github.com/ytdl-org/youtube-dl/issues/4974#issue-58006762 https://github.com/ytdl-org/youtube-dl/issues/4540#issuecomment-69574231 https://github.com/ytdl-org/youtube-dl/pull/11185#issuecomment-335554239 https://github.com/ytdl-org/youtube-dl/issues/9868 https://github.com/ytdl-org/youtube-dl/pull/14951 Authored by: fstirlitz
* Allow `images` formatspukkandan2021-06-131-5/+6
| | | | | | | | | | Necessary for #343. * They are identified by `vcodec=acodec='none'` * These formats show as the worst in `-F` * Any postprocessor that expects audio/video will be skipped * `b*` and all related selectors will skip such formats * This commit also does not add any selector for downloading such formats. They have to be explicitly requested by the `format_id`. Implementation of a selector is left for when #389 is resolved
* Release 2021.06.08pukkandan2021-06-081-0/+3
|
* [common] Fix FourCC fallback when parsing ISM (#372)felix2021-06-061-1/+1
| | | | | | | | In some DASH manifests, the FourCC attribute is actually present, but empty. We thus apply the same fallback to 'AACL' that we do when the attribute is entirely absent. Authored by: fstirlitz
* [fancode] Add extractor (#316,#354)pukkandan2021-05-301-1/+1
| | | | | | Closes #269, #363 Authored by: rmsmachine
* [extractor] Functions to parse socket.io response as jsonpukkandan2021-05-301-0/+43
| | | | Authored by: pukkandan, llacb47
* [extractor] Allow `note=False` when extracting manifestspukkandan2021-05-291-7/+7
|
* [extractor] Always prefer native hls downloader by defaultpukkandan2021-05-261-2/+2
| | | | When the manifest is not downloadable by native downloader, it already is able to detect it and switch to `ffmpeg`. So there doesn't seem to be a reason anymore to use ffmpeg as the preferred downloader
* [extractor] Skip subtitles without URI in m3u8 manifestspukkandan2021-05-231-1/+7
| | | | | | Closes #339 Authored by: hheimbuerger
* [youtube] Better message when login requiredpukkandan2021-05-201-4/+11
|
* [cleanup] linter, code formatting and readmepukkandan2021-05-191-0/+2
|
* [extractor] Add `write_debug` and `get_param`pukkandan2021-05-171-45/+48
|
* Add field `name` for subtitlespukkandan2021-05-151-0/+2
| | | | | | Co-authored by: pukkandan, tpikonen Based on: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
* Standardize `write_debug`pukkandan2021-05-141-13/+9
|
* [common] bugfix for when `compat_opts` is not givenpukkandan2021-05-111-1/+1
|
* Release 2021.05.11pukkandan2021-05-111-1/+1
| | | | * and some documentation improvements
* Option `--compat-options` to revert some of yt-dlp's changespukkandan2021-05-111-1/+8
| | | | * Deprecates `--list-formats-as-table`, `--list-formats-old`
* [utils] Add `network_exceptions`pukkandan2021-05-041-6/+2
|
* [whowatch] Add extractor #292The Hatsune Daishi2021-05-021-1/+1
| | | | | | closes #223 Authored by: nao20010128nao Modified from: https://github.com/nao20010128nao/ytdl-patched/blob/9e4a0e061a558cdb05a618e27f47ca0ac56ece94/youtube_dl/extractor/whowatch.py
* [downloader/ism] Support muxing TTML subtitlesFelix S2021-04-281-1/+1
|
* [downloader/hls] Assemble single-file WebVTT subtitles from HLS segmentsFelix S2021-04-281-0/+6
|
* [extractor/common] Extend _extract_akamai_formats to also extract subtitle ↵Felix S2021-04-281-3/+14
| | | | tracks
* [extractor/common, downloader/ism] Extract SSTR subtitle tracksFelix S2021-04-281-36/+69
| | | | | | | | | | _parse_ism_formats was extended into _parse_ism_formats_and_subtitles; all direct users were updated, though _extract_ism_formats was left as a compatibility wrapper. The SSTR downloader was also modified in order to prepare for muxing subtitle streams, although no support for any subtitle codecs was added in this commit.
* [extractor/common] Extract DASH subtitle tracksFelix S2021-04-281-27/+54
| | | | | | _extract_mpd_formats and _parse_mpd_formats were extended into _…_formats_and_subtitles; wrappers with old names are provided for compatibility.
* [extractor/common] Extract HLS subtitle tracksFelix S2021-04-281-15/+38
| | | | | | | | | | _extract_m3u8_formats is renamed to _extract_m3u8_formats_and_subtitles and extended to handle subtitle tracks instead of skipping them; a wrapper with the old name is provided for compatibility. _parse_m3u8_formats is likewise renamed and extended, but without adding the compatibility wrapper; the test suite is adjusted to test the enhanced method instead.
* [extractor/common] Generalise _merge_subtitlesFelix S2021-04-281-6/+16
| | | | This allows modifying a subtitles dictionary in-place.
* [FormatSort] Fix for when some formats have quality and others don'tpukkandan2021-04-261-2/+2
|
* Add option `--ignore-no-formats-error`pukkandan2021-04-171-6/+20
| | | | | * Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors