From c3a8c104515b47597f8b72eeabc7dcd266ec0316 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 28 Jun 2025 16:36:51 +0200 Subject: chore(yt_dlp/package_hacks): Add missing license headers --- crates/yt_dlp/src/package_hacks/mod.rs | 10 ++++++++++ crates/yt_dlp/src/package_hacks/urllib3.rs | 10 ++++++++++ crates/yt_dlp/src/package_hacks/urllib3_polyfill.py | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/crates/yt_dlp/src/package_hacks/mod.rs b/crates/yt_dlp/src/package_hacks/mod.rs index 0327dfa..53fe323 100644 --- a/crates/yt_dlp/src/package_hacks/mod.rs +++ b/crates/yt_dlp/src/package_hacks/mod.rs @@ -1 +1,11 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see . + pub(super) mod urllib3; diff --git a/crates/yt_dlp/src/package_hacks/urllib3.rs b/crates/yt_dlp/src/package_hacks/urllib3.rs index 68a94aa..28ae37a 100644 --- a/crates/yt_dlp/src/package_hacks/urllib3.rs +++ b/crates/yt_dlp/src/package_hacks/urllib3.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2025 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see . + use rustpython::vm::{PyResult, VirtualMachine}; // NOTE(@bpeetz): Remove this, once rust-python supports these features. <2025-06-27> diff --git a/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py b/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py index 760b200..610fd99 100644 --- a/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py +++ b/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py @@ -1,3 +1,13 @@ +# yt - A fully featured command line YouTube client +# +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Yt. +# +# You should have received a copy of the License along with this program. +# If not, see . + import ssl ssl.SSLContext.verify_flags = 0 -- cgit 1.4.1