Commit Graph

42 Commits (ad9158d5f46658b31523e937974b305618271570)

Author SHA1 Message Date
chris f522573787
[extractor] Extract chapters from JSON-LD ()
Authored by: iw0nderhow, pukkandan
nixxo 7592749cbe
[extractor] Extract thumbnails from JSON-LD ()
Authored by: nixxo
Zenon Mousmoulas d5c3254889
[extractor] Support default implicit graph in JSON-LD ()
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
pukkandan 060ac76257
[test] Use `pytest` instead of `nosetests` ()
`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 
felix cc52de4356
[cleanup] Point all shebang to `python3` ()
Authored by: fstirlitz
pukkandan 177877c544
[extractor] Always prefer native hls downloader by default
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
Felix S 5fbcebed8c [test] Test SSTR manifest parsing
Felix S becdc7f82c [test] Test subtitle extraction from DASH manifests
Felix S 73b9088a1c [test] Test subtitle extraction from HLS manifests
Felix S a0c3b2d5cf [extractor/common] Extract HLS subtitle tracks
_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.
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp ()
* 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
shirt-dev 310c2ed2c6
Better support HLS media discontinuity and fully support media initialization ()
* Added options: `--hls-split-discontinuity` and `--no-hls-split-discontinuity`

Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
pukkandan 29f7c58aaf Update to ytdl-2021.01.03
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
Sergey M․ d493f15c11
[extractor/common] Improve HTML5 entries extraction and add some realworld tests
Sergey M․ 2e27421c70
[test_InfoExtractor] Add test for
Sergey M․ 067aa17edf
Start moving to ytdl-org
Ales Jirasek 22f5f5c6fc
[malltv] Add extractor (closes )
Remita Amine fc746c3fdd [test/test_InfoExtractor] add test for
Xiao Di Guan 95e42d7336 [extractor/common] Ensure response handle is not prematurely closed before it can be read if it matches expected_status (resolves , closes , resolves )
Sergey M․ 47a5cb7734
Generalize XML manifest processing code and improve XSPF parsing (closes )
Ricardo Constantino 96b8b9abae
[extractor/generic] Support relative URIs in _parse_xspf
<location> can have relative URIs, not just absolute.
Sergey M․ 9d6ac71c27
[extractor/common] Fix extraction of DASH formats with the same representation id (closes )
Sergey M․ 78593e294c
Add references for
Petr Novak 41bf647e89
[extractor/common] Add support for DASH manifests with SegmentLists with bare SegmentURLs
Yen Chi Hsuan f58a506044 [test_InfoExtractor] Fix flake8
Sergey M․ 181e381fda
[test_InfoExtractor] Add test for
Sergey M․ 4850478543
[extractor/common] Add support for float durations in _parse_mpd_formats (closes )
Sergey M․ 30bb6ce1a4
[test_InfoExtractor] Fix test_parse_m3u8_formats
Sergey M․ ff99fe529e
Don't list master m3u8 playlists in format list (closes )
Sergey M․ ddd258f922
[test_InfoExtractor] Add m3u8 parsing test for NAME attribute in EXT-X-STREAM-INF tag
Sergey M․ cb2520802d
[extractor/common] Improve m3u8 extraction (closes )
* 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 , ,  and twitch vod
Sergey M․ 7f3590c43b
[test_InfoExtractor] Add some realworld tests for _extract_jwplayer_data
Yen Chi Hsuan 582be35847
Update coding style after pycodestyle 2.1.0
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 ; thanks @stepshal for first mentioning this issue and
initial patches
Sergey M․ b070564efb
[extractor/common] Support multiple properties in _og_search_property
Sergey M․ 88d9f6c0c4
[utils] Add support for name list in _html_search_meta
Jaime Marquínez Ferrándiz 6a801f4470 [test/InfoExtractors] add test for _download_json
Sergey M․ 448ef1f31c [extractor/common] Allow angle brackets in attributes in _og_regexes ()
Sergey M․ db0a8ad979 [test_InfoExtractor] Add test for unquoted attribute
Sergey M․ 1c29e81e62 [test_InfoExtractor] Add test for 7a6d76a64d
Philipp Hagemeister bec2248141 [InfoExtractor/common] Correct and test meta tag matching
Jaime Marquínez Ferrándiz 1471956573 Add a basic test suite for the InfoExtractor class