aboutsummaryrefslogtreecommitdiffstats
path: root/crates/yt_dlp/src (follow)
Commit message (Collapse)AuthorAge
* chore(treewide): FormatSoispha Peetz18 hours
|
* chore(treewide): Update licenses headersSoispha Peetz18 hours
|
* fix({yt/yt_dlp/match_filters,yt_dlp/options}): Make match_filters actually workBenedikt Peetz2026-11-07
|
* fix(yt_dlp/options): Support (one) match_filter functionBenedikt Peetz2026-11-07
|
* fix(yt_dlp/lib): Use the new version_str functionBenedikt Peetz2026-11-07
|
* fix(yt_dlp/info_json): Allow loading and dumping any typeBenedikt Peetz2026-11-07
|
* refactor(yt_dlp/): Make the options more like the builder patternBenedikt Peetz2026-11-07
|
* fix(yt_dlp/pp/dearrow): Actually make the API calls as intendedBenedikt Peetz2026-11-07
| | | | | You are not supposed to fetch with the whole video id, just with the start of the hash of it (for privacy reasons).
* refactor(yt_dlp/python_error): Add context to every `wrap_exc` callBenedikt Peetz2026-11-07
| | | | Otherwise it is hard to debug where the wrapped exception was thrown.
* chore(yt/*): Remove trivial warningsBenedikt Peetz2026-06-09
|
* feat(yt/download/hooks): Show progress of post-processorsBenedikt Peetz2026-05-26
| | | | | Otherwise, `yt` will just show everything downloaded, but does not continue. Now users see, what is _actually_ happening.
* fix(treewide): Avoid using deprecated functions or patternsBenedikt Peetz2025-11-30
|
* style(treewide): FormatBenedikt Peetz2025-07-24
|
* fix(treewide): Use `json_try_get!` instead of `json.get(..).map(|| ..)`Benedikt Peetz2025-07-24
| | | | | | | `json.get` will return `Some(Value::Null)` if the json key exists but has been set to `null`. This is obviously not what we want, and as such we also need to check that the value is not null, before calling map. The `json_try_get!` macro does exactly that.
* fix(crates/yt/downloader): Correctly treat the download as blockingBenedikt Peetz2025-07-15
| | | | | This change _might_ also allow aborting the current download, but I'm not yet sure.
* refactor(crates/yt_dlp): Port to `pyo3` againBenedikt Peetz2025-07-10
| | | | | | | | Rustpyton is slower, does not implement everything correctly and worst of all, contains code produced by LLM's. Using the freethreaded mode of pyo3 also works nicely around the GIL, and enables parallel execution.
* chore(yt_dlp/package_hacks): Add missing license headersBenedikt Peetz2025-06-28
|
* fix(yt_dlp): Polyfill missing rustpython features used in urllib3Benedikt Peetz2025-06-28
| | | | Otherwise, anything that depends on urllib3 just fails to initialize.
* fix(yt_dlp/post_processors/dearrow): Don't try to access the drained vecBenedikt Peetz2025-06-24
| | | | | | If all titles were declared “bad” the pp previously tried to access the first title in the array, which was already drained. We now simply clone the array to facilitate this usage.
* feat(yt/version): Add the (rust)python version againBenedikt Peetz2025-06-24
|
* chore(treewide): Assure that `nix fmt` and `reuse lint` are happyBenedikt Peetz2025-06-17
|
* refactor(yt_dlp): Split the big `lib.rs` file upBenedikt Peetz2025-06-17
|
* refactor(yt_dlp/progress_hook): Use public api via `__priv` moduleBenedikt Peetz2025-06-17
| | | | | That makes it clear that these parts are only exposed to facilitate macro use and not as part of the public API.
* fix(yt_dlp/post_processing/dearrow): Correctly type the `CasualVote` fieldBenedikt Peetz2025-06-17
|
* refactor(yt_dlp/logging): Avoid adding to the `__all__` listBenedikt Peetz2025-06-17
| | | | | This seems to have no apparent effect on anything. As such I went ahead and removed this dead code.
* fix(yt_dlp): Typos in stringsBenedikt Peetz2025-06-17
|
* fix(yt_dlp/post_processors): Register in pythonBenedikt Peetz2025-06-17
| | | | | | | | | | | We need to tell yt_dlp about our post processors, as they would otherwise not take full effect. For example, changing the title would previously only have changed the title in the *in-memory* info json, the actual file on disk (video and .info.json) would still have the old title, as yt_dlp did not know about our post processor. Registering it via their api also has the upside of being able to determine when to run.
* fix(yt_dlp/post_processors/dearrow): Migrate to curl for api requestsBenedikt Peetz2025-06-17
| | | | | | The reqwest crate will panic if it is blockingly run inside another executor. But we cannot make this function async, as the whole api is forced to be sync by python ffi.
* chore(treewide): Add missing copyright headersBenedikt Peetz2025-06-16
|
* feat(yt_dlp): Support a DeArrow post processorBenedikt Peetz2025-06-16
|
* refactor(yt_dlp/lib): De-duplicate the info json sanitize codeBenedikt Peetz2025-06-16
|
* refactor(yt_dlp/lib): Explicitly convert python exceptions into an errorBenedikt Peetz2025-06-16
| | | | This avoids having to wrap all blocks into a `match` statement.
* fix(yt_dlp/json_{cast,get}): Improve error reportingBenedikt Peetz2025-06-15
|
* fix(yt_dlp): Avoid writing the json output to diskBenedikt Peetz2025-06-15
| | | | | There is no point in doing this anymore, as we no longer need to deserialize it.
* feat({yt/update,yt_dlp}): Use yt_dlp errors againBenedikt Peetz2025-06-14
| | | | | This code was temporarily commented out, as I had not migrated it in the pyo3 -> rustpython migration.
* feat({yt_dlp,yt}): Migrate from pyo3 to rustpythonBenedikt Peetz2025-06-13
| | | | | | | | That allows us to avoid cpython's GIL and gives us full ability to leverage async/concurrent code to speed up python operations. I have also taken the opportunity to change the `InfoJson` struct to an untyped json value, as that is what it actually is.
* chore(yt_dlp/wrappers/info_json): Add additional missing fieldBenedikt Peetz2025-03-21
|
* refactor(yt_dlp): Remove the unneeded `async` from the public functionsBenedikt Peetz2025-03-21
|
* chore(treewide): Add/Update the license headersBenedikt Peetz2025-02-22
|
* chore(crates/yt_dlp/wrappers/info_json): Add further fieldsBenedikt Peetz2025-02-21
|
* style(treewide): Re-formatBenedikt Peetz2025-02-16
|
* fix(crates/yt_dlp/wrappers/info_json): Serialize the `InfoType`s with their ↵Benedikt Peetz2025-02-16
| | | | correct name
* fix(crates/yt_dlp/wrappers/info_json): Don't serialize `None` valuesBenedikt Peetz2025-02-16
| | | | This keeps the jsons, which we internally parse, shorter.
* feat(crates/yt_dlp/lib): Wrap `process_ie_result` functionBenedikt Peetz2025-02-16
|
* fix(crates/yt_dlp/lib): Actually resolve the `entries` generator objectBenedikt Peetz2025-02-16
| | | | Previously, we just ignored it.
* fix(crates/yt_dlp/lib): Swallow all error logs from yt_dlpBenedikt Peetz2025-02-16
| | | | | | These are already returned as `PythonError`s and thus often printed twice. As such, removing the python print gives the consumer more liberty of how to handle the error.
* fix(crates/yt_dlp/progress_hook): Print the progress to stderrBenedikt Peetz2025-02-16
|
* fix(crates/yt_dlp/error::PythonError): Add the python type as `kind`Benedikt Peetz2025-02-16
|
* chore(crates/yt_dlp/wrappers/info_json): Add further fieldsBenedikt Peetz2025-02-14
|
* test(crates/yt_dlp): Ignore tests that hang foreverBenedikt Peetz2025-02-14
|