aboutsummaryrefslogtreecommitdiff
path: root/test/test_InfoExtractor.py
AgeCommit message (Collapse)Author
2022-11-17[extractor] Deprecate `_sort_formats`pukkandan
2022-09-30[downloader/ism] Support ec-3 codec (#5004)nixxo
Closes #296 Authored by: nixxo
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-06-25[compat] Remove more functionspukkandan
Removing any more will require changes to a large number of extractors
2022-05-29[extractor/common] Recognize `src` attribute from HTML5 media elements (#3899)Lesmiscore
Authored by: Lesmiscore
2022-05-09[cleanup] Minor fixes (See desc)pukkandan
* [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-01-02[extractor] Extract chapters from JSON-LD (#2031)chris
Authored by: iw0nderhow, pukkandan
2022-01-02[extractor] Extract thumbnails from JSON-LD (#2195)nixxo
Authored by: nixxo
2021-12-17[extractor] Support default implicit graph in JSON-LD (#1983)Zenon Mousmoulas
Original PR: https://github.com/ytdl-org/youtube-dl/pull/30229 Per W3C JSON-LD v1.1 §4.9 (non-normative ref): When a JSON-LD document's top-level structure is a map that contains no other keys than @graph and optionally @context (properties that are not mapped to an IRI or a keyword are ignored), @graph is considered to express the otherwise implicit default graph. Authored by: zmousm
2021-07-23[test] Use `pytest` instead of `nosetests` (#482)pukkandan
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099 and will stop working in py 3.10 as can be seen in #480
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-05-26[extractor] Always prefer native hls downloader by defaultpukkandan
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
2021-04-28[test] Test SSTR manifest parsingFelix S
2021-04-28[test] Test subtitle extraction from DASH manifestsFelix S
2021-04-28[test] Test subtitle extraction from HLS manifestsFelix S
2021-04-28[extractor/common] Extract HLS subtitle tracksFelix S
_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.
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
2021-02-24Better support HLS media discontinuity and fully support media ↵shirt-dev
initialization (#105) * Added options: `--hls-split-discontinuity` and `--no-hls-split-discontinuity` Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
2021-01-05Update to ytdl-2021.01.03pukkandan
2020-09-02[skip travis] renamingUnknown
to avoid using same folder when using pip install for example
2019-03-17[extractor/common] Improve HTML5 entries extraction and add some realworld testsSergey M․
2019-03-15[test_InfoExtractor] Add test for #20346Sergey M․
2019-03-11Start moving to ytdl-orgSergey M․
2019-02-08[malltv] Add extractor (closes #18058)Ales Jirasek
2019-01-20[test/test_InfoExtractor] add test for #18923Remita Amine
2018-11-03[extractor/common] Ensure response handle is not prematurely closed before ↵Xiao Di Guan
it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
2018-03-18Generalize XML manifest processing code and improve XSPF parsing (closes #15794)Sergey M․
2018-03-18[extractor/generic] Support relative URIs in _parse_xspfRicardo Constantino
<location> can have relative URIs, not just absolute.
2017-12-29[extractor/common] Fix extraction of DASH formats with the same ↵Sergey M․
representation id (closes #15111)
2017-12-02Add references for #14844Sergey M․
2017-12-02[extractor/common] Add support for DASH manifests with SegmentLists with ↵Petr Novak
bare SegmentURLs
2017-11-27[test_InfoExtractor] Fix flake8Yen Chi Hsuan
2017-11-04[test_InfoExtractor] Add test for #14660Sergey M․
2017-08-15[extractor/common] Add support for float durations in _parse_mpd_formats ↵Sergey M․
(closes #13919)
2017-04-28[test_InfoExtractor] Fix test_parse_m3u8_formatsSergey M․
2017-04-27Don't list master m3u8 playlists in format list (closes #12832)Sergey M․
2017-04-23[test_InfoExtractor] Add m3u8 parsing test for NAME attribute in ↵Sergey M․
EXT-X-STREAM-INF tag
2017-04-22[extractor/common] Improve m3u8 extraction (closes #12211)Sergey M․
* Extract m3u8 parsing to separate method * Improve rendition groups extraction * Build stream name according stream GROUP-ID * Ignore reference to AUDIO group without URI when stream has no CODECS + Add test coverage for parsing m3u8 from #11507, #11995, #12211 and twitch vod
2017-03-17[test_InfoExtractor] Add some realworld tests for _extract_jwplayer_dataSergey M․
2016-11-17Update coding style after pycodestyle 2.1.0Yen Chi Hsuan
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
2016-08-02[extractor/common] Support multiple properties in _og_search_propertySergey M․
2016-06-26[utils] Add support for name list in _html_search_metaSergey M․
2016-04-09[test/InfoExtractors] add test for _download_jsonJaime Marquínez Ferrándiz
2015-10-18[extractor/common] Allow angle brackets in attributes in _og_regexes (#7215)Sergey M․
2015-10-14[test_InfoExtractor] Add test for unquoted attributeSergey M․
2015-10-14[test_InfoExtractor] Add test for 7a6d76a64d8a89a08bb79791506fc18b993c4580Sergey M․
2015-01-08[InfoExtractor/common] Correct and test meta tag matchingPhilipp Hagemeister
2014-03-09Add a basic test suite for the InfoExtractor classJaime Marquínez Ferrándiz