yaydl is Yet Another Youtube Down Loader, written in Rust.

⌈⌋ ⎇ branch:  Yet Another Youtube (and more) Down Loader


Check-in [0e61b87666]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated Invidious default instance. Fixes #22 (release will follow some day later)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0e61b876663b81ca9fb2c3c324a0134640042a9b61ca7fcbcec0fcbc8437b004
User & Date: Cthulhux 2025-01-23 16:16:11
Context
2025-02-03
20:43
Updated README, thank you Edan! Leaf check-in: 3f26731c24 user: Cthulhux tags: trunk
2025-01-23
16:16
Updated Invidious default instance. Fixes #22 (release will follow some day later) check-in: 0e61b87666 user: Cthulhux tags: trunk
2025-01-21
19:35
yaydl 0.17.2: updated dependencies, fixed the rest of the handlers which weren't using the proxy yet. check-in: ea40110aa4 user: Cthulhux tags: release-0.17.2, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/handlers/youtube.rs.

27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

// Starting with yaydl 0.13.0, this handler uses Invidious instead
// of YouTube. In no way am I interested in playing cat and mouse
// against Google.

// The environment variable YAYDL_INVIDIOUS_INSTANCE can be used to
// define the instance to use, otherwise, yaydl defaults to this:
const INVIDIOUS_INSTANCE: &str = "https://invidious.privacyredirect.com";

fn get_invidious_instance() -> String {
    let invidious_env = env::var("YAYDL_INVIDIOUS_INSTANCE");
    if invidious_env.is_ok() {
        invidious_env.unwrap_or(INVIDIOUS_INSTANCE.to_string())
    } else {
        INVIDIOUS_INSTANCE.to_string()







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

// Starting with yaydl 0.13.0, this handler uses Invidious instead
// of YouTube. In no way am I interested in playing cat and mouse
// against Google.

// The environment variable YAYDL_INVIDIOUS_INSTANCE can be used to
// define the instance to use, otherwise, yaydl defaults to this:
const INVIDIOUS_INSTANCE: &str = "https://invidious.nerdvpn.de";

fn get_invidious_instance() -> String {
    let invidious_env = env::var("YAYDL_INVIDIOUS_INSTANCE");
    if invidious_env.is_ok() {
        invidious_env.unwrap_or(INVIDIOUS_INSTANCE.to_string())
    } else {
        INVIDIOUS_INSTANCE.to_string()