pukkandan
4e3d1898a8
Workaround ssl errors in mingw python
...
Closes #1151
3 years ago
pukkandan
5d535b4a55
[build] Allow building with py2exe (and misc fixes)
...
py2exe config is copied from youtube-dl
Closes #1160
3 years ago
Felix S
9359f3d4f0
[extractor] Extract storyboards from SMIL manifests ( #1128 )
...
Authored by: fstirlitz
3 years ago
pukkandan
3ae5e79774
[postprocessor] Add plugin support
...
Adds option `--use-postprocessor` to enable them
3 years ago
pukkandan
7756277882
Workaround for bug in `ssl.SSLContext.load_default_certs` ( #1118 )
...
* Remove old compat code
* Load certificates only when not using nocheckcertificate
* Load each certificate individually
Closes #1060
Related bugs.python.org/issue35665, bugs.python.org/issue4531
3 years ago
pukkandan
91dd88b90f
[outtmpl] Alternate form of format type `l` for `\n` delimited list
3 years ago
pukkandan
524e2e4fda
[outtmpl] Format type `U` for unicode normalization
3 years ago
NeroBurner
49fa4d9af7
[atv.at] Use jwt for API ( #1012 )
...
The jwt token is implemented according to RFC7519
Closes #988
Authored by: NeroBurner
3 years ago
The Hatsune Daishi
bd50a52b0d
Basic framework for simultaneous download of multiple formats ( #1036 )
...
Authored by: nao20010128nao
3 years ago
Yuan Chao
a63d9bd0b0
[CGTN] Add extractor ( #981 )
...
Authored by: chao813
3 years ago
pukkandan
f137e4c27c
[utils] Improve `extract_timezone`
...
Code taken from: https://github.com/ytdl-org/youtube-dl/pull/29845
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29948
Authored by: dirkf
3 years ago
coletdjnz
bccdbd22d5
[Mediaklikk] Add Extractor ( #867 )
...
Original PR: https://github.com/ytdl-org/youtube-dl/pull/17453 , https://github.com/ytdl-org/youtube-dl/pull/25098
Fixes: https://github.com/ytdl-org/youtube-dl/issues/21431
Authored-by: tmarki, mrx23dot, coletdjnz
3 years ago
pukkandan
526d74ec5a
[cleanup] Misc
3 years ago
ChillingPepper
421ddcb8b4
[SovietsCloset] Add extractor ( #884 )
...
Authored by: ChillingPepper
3 years ago
pukkandan
8e5fecc88c
Handle more playlist errors with `-i`
3 years ago
The Hatsune Daishi
1931a55ee8
[radiko] Add extractors ( #731 )
...
https://github.com/ytdl-org/youtube-dl/issues/29840
Authored by: nao20010128nao
3 years ago
pukkandan
6251555f1c
[downloader/ffmpeg] Support for DASH manifests (experimental)
...
Closes #159
3 years ago
pukkandan
330690a214
[downloader/ffmpeg] Allow passing custom arguments before -i
...
Closes #686
3 years ago
pukkandan
1151c4079a
[extractor] Show video id in error messages if possible
3 years ago
pukkandan
4dfbf8696b
[utils] Add `parse_qs`
3 years ago
pukkandan
8f18aca871
Let `--match-filter` reject entries early
...
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
3 years ago
pukkandan
7be9ccff0b
[utils] Fix `InAdvancePagedList.__getitem__`
...
Since it didn't have any cache, the page was re-fetched for each video.
* Also generalized the cache code
3 years ago
pukkandan
b868936cd6
[cleanup] Misc
3 years ago
pukkandan
6e84b21559
Fix bugs related to `sanitize_info`
...
Related: 8012d892bd (r54555230)
3 years ago
pukkandan
575e17a1b9
[utils] Fix `traverse_obj` depth when is_user_input
3 years ago
pukkandan
a047eeb6d2
Add regex to `--match-filter`
...
This does not fully deprecate `--match-title`/`--reject-title`
since `--match-filter` is only checked after the extraction is complete,
while `--match-title` can often be checked from the flat playlist.
Fixes: https://github.com/ytdl-org/youtube-dl/issues/9092 , https://github.com/ytdl-org/youtube-dl/issues/23035
3 years ago
Max Teegen
77b87f0519
Add all format filtering operators also to `--match-filter`
...
PR: https://github.com/ytdl-org/youtube-dl/pull/27361
Authored by: max-te
3 years ago
pukkandan
dbf5416a20
[cleanup] Refactor some code
3 years ago
pukkandan
e0f2b4b47d
[utils] Fix slicing of reversed `LazyList`
...
Closes #589
3 years ago
pukkandan
7d1eb38af1
Add format types `j`, `l`, `q` for outtmpl
...
Closes #345
3 years ago
pukkandan
901130bbcf
Expand and escape environment variables correctly in outtmpl
...
Fixes: https://www.reddit.com/r/youtubedl/comments/otfmq3/ytdlp_same_parameters_different_results
3 years ago
xtkoba
cb89cfc14b
[test] Add Python 3.10 ( #480 )
...
Authored-by: pukkandan, xtkoba
3 years ago
pukkandan
352d63fdb5
[utils] Improve `traverse_obj`
3 years ago
pukkandan
6586bca9b9
[utils] Fix LazyList for Falsey values
3 years ago
pukkandan
c634ad2a3c
[compat] Remove unnecessary code
3 years ago
pukkandan
8f3343809e
[utils] Improve `traverse_obj`
...
* Allow skipping a level: `traverse_obj([{k:v1}, {k:v2}], (None, k))` => `[v1, v2]`
* Make keys variadic: `traverse_obj(obj, k1: str, k2: str)` => `traverse_obj(obj, (k1,), (k2,))`
* Fetch from multiple keys: `traverse_obj([{k1:[1], k2:[2], k3:[3]}], (0, (k1, k2), 0))` => `[1, 2]`
TODO: Add tests
3 years ago
felix
c843e68588
[utils] Improve `js_to_json` comment regex
...
Capture the newline character as part of a single-line comment
From #497 , Authored by: fstirlitz
3 years ago
pukkandan
325ebc1703
Improve `traverse_obj`
3 years ago
pukkandan
6606817a86
[utils] Add `variadic`
3 years ago
pukkandan
981052c9c6
Some minor fixes and refactoring (see desc)
...
* [utils] Fix issues with reversal
* check_formats should catch `DownloadError`, not `ExtractorError`
* Simplify format selectors with `LazyList` and `yield from`
3 years ago
pukkandan
51d9739f80
Add option `--throttled-rate` below which video data is re-extracted
...
Currently only for HTTP downloads
Closes #430 , workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
3 years ago
pukkandan
9fea350f0d
Fix id sanitization in filenames
...
Closes #415
3 years ago
felix
cdb19aa4c2
[downloader/mhtml] Add new downloader ( #343 )
...
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
3 years ago
pukkandan
28419ca2c8
[utils] Improve `LazyList`
...
* Add `repr` and `str` that mimics `list`
* Add `reversed`. Unlike `[::-1]`, reversed does not exhaust the iterable and modifies the `LazyList` in-place
* Add tests
3 years ago
pukkandan
639f1cea92
Fix `%d` and empty default in outtmpl
...
Closes #388
3 years ago
pukkandan
324ad82006
[utils] Generalize `traverse_dict` to `traverse_obj`
3 years ago
pukkandan
752cda3880
Fix and refactor `prepare_outtmpl`
...
The following tests would have failed previously:
%(id)d %(id)r
%(ext)s-%(ext|def)d
%(width|)d
%(id)r %(height)r
%(formats.0)r
%s
3 years ago
felix
cc52de4356
[cleanup] Point all shebang to `python3` ( #372 )
...
Authored by: fstirlitz
3 years ago
pukkandan
bc6b9bcd65
[utils] Escape URLs in `sanitized_Request`, not `sanitize_url`
...
d2558234cf
added escaping of URLs while sanitizing. However, `sanitize_url` may not always receive an actual URL.
Eg: When using `yt-dlp "search query" --default-search ytsearch`, `search query` gets escaped to `search%20query` before being prefixed with `ytsearch:` which is not the intended behavior. So the escaping is moved to `sanitized_Request` instead.
3 years ago
pukkandan
55575225b4
[utils] Add `__getitem__` for `PagedList`
3 years ago