Commit Graph

201 Commits (15828bcf25adb2d9ce2e9e591cc527f695e50420)

Author SHA1 Message Date
Felix S 15828bcf25 [downloader/hls] Handle MPEG-2 PES timestamp overflow 3 years ago
Felix S 333217f43e [downloader/hls] Remove duplicate cues using a sliding window of candidates 3 years ago
Felix S 4a2f19abbd [downloader/hls] Assemble single-file WebVTT subtitles from HLS segments 3 years ago
Felix S f6a1d69a87 [extractor/common] Extend _extract_akamai_formats to also extract subtitle tracks 3 years ago
Felix S fd76a14259 [extractor/common, downloader/ism] Extract SSTR subtitle tracks
_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.
3 years ago
Felix S 171e59edd4 [extractor/common] Extract DASH subtitle tracks
_extract_mpd_formats and _parse_mpd_formats were extended into
_…_formats_and_subtitles; wrappers with old names are provided
for compatibility.
3 years ago
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.
3 years ago
Felix S 19bb39202d [extractor/common] Generalise _merge_subtitles
This allows modifying a subtitles dictionary in-place.
3 years ago
Felix S d4553567d2 [downloader/ism] Prevent writing the header again when resuming an interrupted download 3 years ago
Felix S 4d49884c58 [downloader/fragment] Allow persisting extra state when a download is interrupted 3 years ago
Felix S 5873d4ccdd [utils] Improve bug_report_message
Add an optional argument specifying the text that should go before
the message.
3 years ago
Felix S c72967d5de
[mediasite] Generalize URL pattern (#275)
Authored by: fstirlitz
3 years ago
pukkandan 598d185db1
Fix case sensitivity of format selector
Bug introduced in f8d4ad9ab0
3 years ago
pukkandan b982cbdd0e
[limelight] Obey `allow_unplayable_formats` 3 years ago
pukkandan 6a04a74e8b
[FormatSort] Fix for when some formats have quality and others don't 3 years ago
pukkandan 88728713c8
Py2 compatibility for `FileNotFoundError` 3 years ago
CXwudi 6b1d8c1e30
[niconico] Fix title and thumbnail extraction (#273)
Authored by: CXwudi
3 years ago
Ashish 87c3d06271
[Mxplayer] Add MxplayerShowIE (#270)
Authored by: Ashish0804
3 years ago
pukkandan 915f911e36
[utils] Encode URLs in `YoutubeDLCookieProcessor`
Closes #263
3 years ago
pukkandan cf9d6cfb0c
[tubi] Raise "no video formats" error when video url is empty
Related: #266
3 years ago
pukkandan bbed5763f1
[francetvinfo] Improve video id extraction
Closes #261
3 years ago
pukkandan ca0b91b39e
[version] update :ci skip all 3 years ago
pukkandan e58c22a0f6
[documentation] Fix typos 3 years ago
pukkandan 1bdae7d312
Update to ytdl-commit-7e8b3f9
[youtube] Remove unused code
7e8b3f9439
3 years ago
Felix S a471f21da6
[mildom] Remove proxy (#260)
Closes #251
Makes 2cff495997, ab406a1c0e, #252 obsolete

Authored by: fstirlitz
3 years ago
pukkandan 6efb071135
[BilibiliChannel] Fix pagination
Closes #222

ccca21d7f5
Coauthored by: nao20010128nao, pukkandan
3 years ago
pukkandan a439a3a45c
Improve output template (see desc)
* Objects can be traversed like `%(field.key1.key2)s`
* A number can be added to the field as `%(field+n)s`
* Deprecates `--autonumber-start`
3 years ago
pukkandan 26e2805c3f
Add option `--skip-playlist-after-errors`
Allows to skip the rest of a playlist after a given number of errors are encountered
3 years ago
pukkandan 3b4775e021
[go] Fix `_VALID_URL`
Closes #255
3 years ago
pukkandan ab406a1c0e
[mildom] Warn user of proxy 3 years ago
pukkandan a3faeb7de4
[MetadataFromField] Improve regex and add tests 3 years ago
pukkandan 8c54a3051d
[youtube] Bugfix in `_extract_ytcfg` 3 years ago
pukkandan c32b0aab8a
Improve --sub-langs (see desc)
* Treat `--sub-langs` entries as regex
* `all` can be used to refer to all the subtitles
* the language code can be prefixed with `-` to exclude it
* Deprecates `--all-subs`
Closes #253
3 years ago
pukkandan 3097d9e512
[mildom:user:vod] Download only necessary amount of pages 3 years ago
pukkandan c1df120eda
[mildom:vod] Remove proxy
* Proxy is needed only for live videos
3 years ago
pukkandan 2cff495997
[mildom] Change proxy
Related: #251
Closes #252
3 years ago
pukkandan d0491a1ebe
[twitcasting] Fix extractor
* `Origin: https://twitcasting.tv` must be sent when requesting the webpage. Otherwise the extracted `m3u8` will always give a `502`
* Fix regex for when `data-movie-playlist` is a dict containing the needed list
* media initialization is fully supported; so change downloader to native

Closes #220
3 years ago
nixxo b9d68c199b
[rai] Add support for http formats (#208)
Authored by: nixxo
3 years ago
pukkandan 201c145953
Update to ytdl-commit-9f6c03
[cbsnews] Fix extraction for python <3.6
9f6c03a006
3 years ago
pukkandan 5d34200268
[youtube:tab] Reload with unavailable videos for all playlists
If the unavailable video is in a later page, the warning and button are not shown in the initial webpage
So we force all playlists' initial page to reload with the correct params
3 years ago
pukkandan b7da73eb19
Add option `--ignore-no-formats-error`
* Ignores the "no video format" and similar errors
* Experimental - Some extractors may still throw these errors
3 years ago
pukkandan 6a39ee13f7
Fix inconsistent use of `report_warning` 3 years ago
pukkandan 33245766ab
[downloader] Fix ffmpeg selection for m3u8_native 3 years ago
coletdjnz 358de58c4d
[youtube:tab] Show unavailable videos in playlists (#242)
Closes #231

Authored by: colethedj
3 years ago
pukkandan a7191c6f57
Fix some linter and typos 3 years ago
lkho baa5873942
[viu:ott] Fix extractor (see desc)
* add language_flag_id query param
* add support for premium account (untested since I dont have a premium account)
* support entire series

Code from:
https://github.com/blackjack4494/youtube-dlc/pull/211
https://github.com/ytdl-org/youtube-dl/pull/15182
https://github.com/ytdl-org/youtube-dl/pull/26775

Fixes:
https://github.com/yt-dlp/yt-dlp/issues/219
https://github.com/ytdl-org/youtube-dl/issues/27946
https://github.com/ytdl-org/youtube-dl/issues/27863
https://github.com/ytdl-org/youtube-dl/issues/27812
https://github.com/ytdl-org/youtube-dl/issues/27464
https://github.com/ytdl-org/youtube-dl/issues/26788
https://github.com/blackjack4494/yt-dlc/issues/136

Possibly also fixes (untested):
https://github.com/ytdl-org/youtube-dl/issues/16992
https://github.com/ytdl-org/youtube-dl/issues/26701

Co-authored by: lkho, pukkandan
3 years ago
pukkandan c6ce815461
[Exec] Ensure backward compatibility when the command contains `%` 3 years ago
coletdjnz 79360d99d3
[youtube] Standardize API calls for tabs, mixes and search (#245)
Authored by: colethedj
3 years ago
pukkandan 46fff7105e
[youtube] Ignore invalid stretch ratio
Closes #244
3 years ago
pukkandan 72e1fe969f
[downloader] Fix downloader selection for m3u8
Bug introduced by: 52a8a1e1b9 and a31953b0e6
3 years ago