Simon Sawicki
a71b812f53
[utils] `js_to_json`: Improve escape handling ( #5217 )
...
Authored by: Grub4K
2 years ago
pukkandan
d509c1f5a3
[utils] `strftime_or_none`: Workaround Python bug on Windows
...
CLoses #5185
2 years ago
schnusch
2c98d99818
[extractors/podbayfm] Add extractor ( #4971 )
...
Authored by: schnusch
2 years ago
Matthew
4c9a1a3ba5
[extractor/wordpress:mb.miniAudioPlayer] Add embed extractor ( #5087 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/4994
Authored by: coletdjnz
2 years ago
Simon Sawicki
7b0127e1e1
[utils] `traverse_obj`: Allow `re.Match` objects ( #5174 )
...
Authored by: Grub4K
2 years ago
Simon Sawicki
f99bbfc983
[utils] `traverse_obj`: Always return list when branching ( #5170 )
...
Fixes #5162
Authored by: Grub4K
2 years ago
gamer191
304ad45a9b
[cleanup] Misc ( #5044 )
...
Authored by: gamer191, pukkandan
2 years ago
nixxo
81b6102d20
[downloader/ism] Support ec-3 codec ( #5004 )
...
Closes #296
Authored by: nixxo
2 years ago
pukkandan
7a32c70d13
[cleanup] Fix flake8 and minor refactor
...
Issues from ab029d7e92
, 1fb53b946c
2 years ago
pukkandan
0f60ba6e65
[extractor] Improve json+ld extraction
...
Related #5035
2 years ago
pukkandan
0500ee3d81
Don't download entire video when no matching `--download-sections`
2 years ago
pukkandan
914491b8e0
[utils] `Popen.run`: Fix default return in binary mode
2 years ago
Simon Sawicki
ab029d7e92
[utils] `traverse_obj`: Rewrite, document and add tests ( #5024 )
...
Authored by: Grub4K
2 years ago
pukkandan
f55523cfdd
[utils] `js_to_json`: Improve
...
Closes #4900
2 years ago
pukkandan
2fa669f759
[docs] Misc improvements
...
Closes #4987 , Closes #4906 , Closes #4919 , Closes #4977 , Closes #4979
2 years ago
pukkandan
dab284f80f
Workaround `libc_ver` not be available on Windows Store version of Python
2 years ago
pukkandan
9665f15a96
[outtmpl] Make `%s` work in strfformat for all systems
2 years ago
pukkandan
2b24afa6d7
Improve 5736d79172
2 years ago
pukkandan
1060f82f89
Fix `--config-location -`
2 years ago
pukkandan
deae7c1711
[cleanup] Misc
2 years ago
pukkandan
941e881e1f
Fix bug in ae1035646a
...
Closes #4881
2 years ago
pukkandan
17ffed1842
[docs] Improvements
...
* Move detailed installation instructions to https://github.com/yt-dlp/yt-dlp/wiki/Installation
* Link to wiki where applicable
* Fix some mistakes. Closes #4853 , Closes #4855 , Closes #4852
* Improve some error messages
2 years ago
Elyse
7657ec7ed6
[utils] `base_url`: URL paths can contain `&` ( #4841 )
...
Authored by: elyse0
Closes #4187
2 years ago
pukkandan
07a1250e0e
[outtmpl] Curly braces to filter keys
2 years ago
Lesmiscore
82ea226c61
Restore LD_LIBRARY_PATH when using PyInstaller ( #4666 )
...
Authored by: Lesmiscore
2 years ago
pukkandan
da4db748fa
[utils] Add `deprecation_warning`
...
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2 years ago
pukkandan
5314b52192
[utils] Add orderedSet_from_options
2 years ago
pukkandan
992dc6b486
[jsinterp] Implement timeout
...
Workaround for #4716
2 years ago
pukkandan
3ce2933693
[youtube] Fix error reporting of "Incomplete data"
...
Related: #4669
2 years ago
pukkandan
8f84770acd
[utils] Fix `get_compatible_ext`
...
Closes #4647
2 years ago
Lesmiscore
62b58c0936
[docs] Consistent use of `e.g.` ( #4643 )
...
Authored by: Lesmiscore
2 years ago
pukkandan
8f53dc44a0
[jsinterp] Handle new youtube signature functions
...
Closes #4635
2 years ago
pukkandan
a1c5bd82ec
[jsinterp] Truncate error messages
...
Related: #4635
2 years ago
pukkandan
989a01c261
[outtmpl] Smarter replacing of unsupported characters
...
Closes #1330
2 years ago
pukkandan
05e2243e80
Fix bug in be5c1ae862
2 years ago
Lauren N. Liberda
fc61aff41b
Determine merge container better (See desc) ( #1482 )
...
* Determine the container early. Closes #4069
* Use codecs instead of just file extensions
* Obey `--prefer-free-formats`
* Allow fallbacks in `--merge-output`
Authored by: pukkandan, selfisekai
2 years ago
pukkandan
fe0918bb65
Import ctypes only when necessary
...
Closes #4541
2 years ago
pukkandan
0647d9251f
Minor bugfixes
2 years ago
pukkandan
be5c1ae862
Standardize retry mechanism ( #1649 )
...
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
2 years ago
pukkandan
8f97a15d1c
[extractor] Framework for embed detection ( #4307 )
2 years ago
nixxo
47304e07dc
[extractor/rai] Add raisudtirol extractor ( #4524 )
...
Closes #4206
Authored by: nixxo
2 years ago
pukkandan
daef791100
[utils] sanitize_open: Allow any IO stream as stdout
...
Fixes: https://github.com/yt-dlp/yt-dlp/issues/3298#issuecomment-1181754989
2 years ago
pukkandan
8dc5930511
[utils, cleanup] Consolidate known media extensions
2 years ago
coletdjnz
871a8929bc
[extractor/archiveorg] Improve handling of formats ( #4461 )
...
* Ignore private formats if not logged in (fixes https://github.com/yt-dlp/yt-dlp/issues/3832 )
* Prefer original formats
* Support mpg formats
Authored by: coletdjnz, pukkandan
2 years ago
pukkandan
693f060040
[youtube,twitch] Allow waiting for channels to become live
...
Closes #2597
2 years ago
pukkandan
3bec830a59
Reject entire playlists faster with `--match-filter`
...
Rejected based on `playlist_id` etc can be checked before any entries are extracted
Related: #4383
2 years ago
pukkandan
6929b41a21
Remove Python 3.6 support
...
Closes #3764
2 years ago
pukkandan
88f60feb32
Fix a904a7f8c6
2 years ago
Lesmiscore
a904a7f8c6
Allow users to specify encoding in each config files ( #4357 )
...
Authored by: Lesmiscore
2 years ago
pukkandan
ebf99aaf70
[utils] Fix `get_domain`
...
Bug in ae61d108dd
Closes #4344
2 years ago
pukkandan
d816f61fbf
[utils, cleanup] Refactor parse_codecs
2 years ago
pukkandan
f2df407165
[cleanup] Misc cleanup
2 years ago
pukkandan
168bbc4f38
Do not load system certificates when `certifi` is used
...
This causes `CERTIFICATE_VERIFY_FAILED` if there is an
expired/bad certificate in the system store
Partially reverts 8a82af3511
Related: #4145
2 years ago
pukkandan
284a60c516
[options] Fix aliases to `--config-location`
2 years ago
Lesmiscore
44f14eb43e
Fix bug in 612f2be5d3
2 years ago
pukkandan
ae61d108dd
[cleanup] Misc cleanup
2 years ago
pukkandan
b1f94422cc
[update] Ability to set a maximum version for specific variants
2 years ago
crazymoose77756
962ffcf89c
[cleanup] Fix some typos ( #4194 )
...
Authored by: crazymoose77756
2 years ago
pukkandan
c043c24625
[extractor] Fix `_create_request` when headers is None
...
Closes #4164
2 years ago
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
2 years ago
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
2 years ago
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
2 years ago
coletdev
379a4f161d
[utils] Fix inconsistent default handling between HTTP and HTTPS requests ( #4158 )
...
Default headers such as `Content-Type` were only being added for HTTPS requests among other handling.
Fixes bug in be4a824d74
Authored-by: coletdjnz
2 years ago
pukkandan
1ac4fd80c8
Fix playlist error handling
...
Bug in 7e88d7d78f
2 years ago
pukkandan
57e0f077a6
[update] Expose more functionality to API
2 years ago
pukkandan
5df1444255
[utils] `ExtractorError`: Fix `exc_info`
2 years ago
pukkandan
612f2be5d3
Bugfix for 7b2c3f47c6
2 years ago
pukkandan
7b2c3f47c6
[cleanup] Misc
2 years ago
pukkandan
8aa0e7cd96
[docs] Improvements
2 years ago
pukkandan
8072ef2bbd
[extractor/BiliIntl] Fix metadata extraction
...
Closes #4116
2 years ago
pukkandan
44a6fcff39
Improve error handling of bad config files
...
Related: #824
2 years ago
pukkandan
a70635b8a1
[cleanup, utils] Don't use kwargs for `format_field`
2 years ago
christoph-heinrich
e121e3cee7
[cleanup] Minor fixes ( #4096 )
...
Authored by: christoph-heinrich
2 years ago
pukkandan
7e9a612585
Add option `--lazy-playlist` to process entries as they are received
2 years ago
pukkandan
7e88d7d78f
Add slicing notation to `--playlist-items`
...
* Adds support for negative indices and step
* Add `-I` as alias for `--playlist-index`
* Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse`
Closes #2951 , Closes #2853
2 years ago
pukkandan
f0c9fb9682
[utils] `Popen`: Refactor to use contextmanager
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
2 years ago
pukkandan
2cb1982043
[utils] `locked_file`: Fix for PyPy on Windows
3 years ago
pukkandan
64fa820ccf
[cleanup] Misc fixes (see desc)
...
* [tvver] Fix bug in 6837633a4a
- Closes #4054
* [rumble] Fix tests - Closes #3976
* [make] Remove `cat` abuse - Closes #3989
* [make] Revert #3684 - Closes #3814
* [utils] Improve `get_elements_by_class` - Closes #3993
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line
Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
3 years ago
pukkandan
56ba69e4c9
[cleanup] Misc fixes
...
Closes #4027
3 years ago
pukkandan
5ec1b6b716
Add option `--download-sections` to download video partially
...
Closes #52 , Closes #3932
3 years ago
pukkandan
b7c47b7438
[extractor] Add `_search_json`
...
All fetching of JSON objects should eventually be done with this function
but only `youtube` is being refactored for now
3 years ago
pukkandan
1890fc6389
[cleanup] Misc fixes
...
Cherry-picks from: #3498 , #3947
Related: #3949 , https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836
Authored by: pukkandan, flashdagger, gamer191
3 years ago
coletdev
2c6dcb65fb
[utils] Send HTTP/1.1 ALPN extension ( #3889 )
...
Some servers may reject requests if not sent (e.g. fingerprinting)
Fixes #3878
Authored by: coletdjnz
3 years ago
pukkandan
8a82af3511
[cleanup] Misc fixes and cleanup
...
Closes #3780 , Closes #3853 , Closes #3850
3 years ago
pukkandan
6b9e832db7
`--config-location -` to provide options interactively
3 years ago
pukkandan
b5899f4f19
[build, cleanup] Refactor
...
Closes #3835 , #3837
3 years ago
pukkandan
c487cf0010
[cleanup] Misc
3 years ago
pukkandan
53973b4d2c
[utils] Fix bug in 0b9c08b47b
...
* Cache of `supports_terminal_sequences` must be reset after enabling VT mode
* and move `windows_enable_vt_mode` to utils to avoid cyclic imports
3 years ago
pukkandan
0b9c08b47b
[utils] Improve performance using `functools.cache`
...
Closes #3786
3 years ago
pukkandan
2f97cc615b
[utils] `ISO3166Utils`: Add `EU` and `AP`
...
Fixes https://github.com/yt-dlp/yt-dlp/pull/3302#discussion_r875528517
3 years ago
pukkandan
9e49146352
Add option `--alias`
3 years ago
pukkandan
21633673c3
[cleanup] Minor fixes
3 years ago
pukkandan
80e8493ee7
[utils] `is_html`: Handle double BOM
...
Closes #2885
3 years ago
pukkandan
7896214c42
Bugfix for 591bb9d355
...
Closes #3769
3 years ago
pukkandan
591bb9d355
Fix color in `-q -F`
...
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace`
Closes #3761
3 years ago
pukkandan
2414649192
[cleanup] Misc cleanup
3 years ago
pukkandan
82d020804d
[extractor] Use classmethod/property where possible
...
and refactor lazy extractors accordingly.
This reduces the need to create extractor instances
3 years ago
pukkandan
3d38b2d6d0
Fix `--date today`
...
Closes #3704
3 years ago
pukkandan
d76fa1f3d4
[cookies] Allow `cookiefile` to be a text stream
...
Closes #3674
3 years ago
pukkandan
fe1daad3cb
Bugfix for 59f943cd50
...
Fixes: 59f943cd50 (commitcomment-73251597)
3 years ago