aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_InfoExtractor.py
Commit message (Collapse)AuthorAgeFilesLines
* [utils] `FormatSorter`: Improve `size` and `br`pukkandan2023-06-211-10/+0
| | | | | | | | | | | | Closes #1596 Previously, when some formats have accurate size and some approximate, the ones with accurate size was always prioritized For formats with known tbr and unknown vbr/abr, we were setting (vbr=tbr, abr=0) for sorting to work. This is no longer needed. Authored by pukkandan, u-spec-png
* [extractor] Extract more metadata from ISMpukkandan2023-03-251-80/+36
| | | | Fixes https://github.com/yt-dlp/yt-dlp/commit/81b6102d2099eec78a2db9ae3d101a8503dd4f25#r105892531
* Update to ytdl-commit-2dd6c6epukkandan2023-02-171-0/+2
| | | | | | | | | | [YouTube] Avoid crash if uploader_id extraction fails https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772 Except: * 295736c9cba714fb5de7d1c3dd31d86e50091cf8 [jsinterp] Improve parsing * 384f632e8a9b61e864a26678d85b2b39933b9bae [ITV] Overhaul ITV extractor * 33db85c571304bbd6863e3407ad8d08764c9e53b [feat]: Add support to external downloader aria2p
* [extractor] Deprecate `_sort_formats`pukkandan2022-11-171-1/+3
|
* [downloader/ism] Support ec-3 codec (#5004)nixxo2022-09-301-0/+286
| | | | Closes #296 Authored by: nixxo
* [cleanup] Consistent style for file headspukkandan2022-06-251-0/+1
|
* [compat] Remove more functionspukkandan2022-06-251-4/+6
| | | | Removing any more will require changes to a large number of extractors
* [extractor/common] Recognize `src` attribute from HTML5 media elements (#3899)Lesmiscore2022-05-291-0/+18
| | | Authored by: Lesmiscore
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-4/+4
| | | | | | | | | | * [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
* [cleanup] Sort importspukkandan2022-04-121-4/+10
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-14/+5
| | | | | | | | | | 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
* [extractor] Extract chapters from JSON-LD (#2031)chris2022-01-021-0/+59
| | | Authored by: iw0nderhow, pukkandan
* [extractor] Extract thumbnails from JSON-LD (#2195)nixxo2022-01-021-0/+26
| | | Authored by: nixxo
* [extractor] Support default implicit graph in JSON-LD (#1983)Zenon Mousmoulas2021-12-171-15/+84
| | | | | | | | | | | | 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
* [test] Use `pytest` instead of `nosetests` (#482)pukkandan2021-07-231-2/+2
| | | | `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
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* [extractor] Always prefer native hls downloader by defaultpukkandan2021-05-261-444/+444
| | | | 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
* [test] Test SSTR manifest parsingFelix S2021-04-281-0/+191
|
* [test] Test subtitle extraction from DASH manifestsFelix S2021-04-281-5/+126
|
* [test] Test subtitle extraction from HLS manifestsFelix S2021-04-281-0/+167
|
* [extractor/common] Extract HLS subtitle tracksFelix S2021-04-281-3/+5
| | | | | | | | | | _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.
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-4/+4
| | | | | | | | | * 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
* Better support HLS media discontinuity and fully support media ↵shirt-dev2021-02-241-277/+167
| | | | | | | initialization (#105) * Added options: `--hls-split-discontinuity` and `--no-hls-split-discontinuity` Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
* Update to ytdl-2021.01.03pukkandan2021-01-051-0/+61
|
* [skip travis] renamingUnknown2020-09-021-4/+4
| | | to avoid using same folder when using pip install for example
* [extractor/common] Improve HTML5 entries extraction and add some realworld testsSergey M․2019-03-171-0/+178
|
* [test_InfoExtractor] Add test for #20346Sergey M․2019-03-151-4/+52
|
* Start moving to ytdl-orgSergey M․2019-03-111-8/+8
|
* [malltv] Add extractor (closes #18058)Ales Jirasek2019-02-081-0/+2
|
* [test/test_InfoExtractor] add test for #18923Remita Amine2019-01-201-1/+58
|
* [extractor/common] Ensure response handle is not prematurely closed before ↵Xiao Di Guan2018-11-031-2/+40
| | | | it can be read if it matches expected_status (resolves #17195, closes #17846, resolves #17447)
* Generalize XML manifest processing code and improve XSPF parsing (closes #15794)Sergey M․2018-03-181-17/+24
|
* [extractor/generic] Support relative URIs in _parse_xspfRicardo Constantino2018-03-181-0/+42
| | | | <location> can have relative URIs, not just absolute.
* [extractor/common] Fix extraction of DASH formats with the same ↵Sergey M․2017-12-291-0/+11
| | | | representation id (closes #15111)
* Add references for #14844Sergey M․2017-12-021-0/+1
|
* [extractor/common] Add support for DASH manifests with SegmentLists with ↵Petr Novak2017-12-021-1/+82
| | | | bare SegmentURLs
* [test_InfoExtractor] Fix flake8Yen Chi Hsuan2017-11-271-0/+1
|
* [test_InfoExtractor] Add test for #14660Sergey M․2017-11-041-0/+26
|
* [extractor/common] Add support for float durations in _parse_mpd_formats ↵Sergey M․2017-08-151-0/+86
| | | | (closes #13919)
* [test_InfoExtractor] Fix test_parse_m3u8_formatsSergey M․2017-04-281-23/+27
|
* Don't list master m3u8 playlists in format list (closes #12832)Sergey M․2017-04-271-40/+0
|
* [test_InfoExtractor] Add m3u8 parsing test for NAME attribute in ↵Sergey M․2017-04-231-10/+53
| | | | EXT-X-STREAM-INF tag
* [extractor/common] Improve m3u8 extraction (closes #12211)Sergey M․2017-04-221-1/+307
| | | | | | | | * 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
* [test_InfoExtractor] Add some realworld tests for _extract_jwplayer_dataSergey M․2017-03-171-1/+92
|
* Update coding style after pycodestyle 2.1.0Yen Chi Hsuan2016-11-171-0/+1
| | | | | | | | | | 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
* [extractor/common] Support multiple properties in _og_search_propertySergey M․2016-08-021-0/+3
|
* [utils] Add support for name list in _html_search_metaSergey M․2016-06-261-1/+6
|
* [test/InfoExtractors] add test for _download_jsonJaime Marquínez Ferrándiz2016-04-091-0/+10
|
* [extractor/common] Allow angle brackets in attributes in _og_regexes (#7215)Sergey M․2015-10-181-0/+4
|
* [test_InfoExtractor] Add test for unquoted attributeSergey M․2015-10-141-0/+2
|