diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 16:36:51 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 16:36:51 +0200 |
commit | c3a8c104515b47597f8b72eeabc7dcd266ec0316 (patch) | |
tree | a0c17a2e8e5e5b61c7cf4b236f6a109b82c1b7f4 | |
parent | chore(yt/storage/video_database/set): Apply some of clippy's suggestions (diff) | |
download | yt-c3a8c104515b47597f8b72eeabc7dcd266ec0316.zip |
chore(yt_dlp/package_hacks): Add missing license headers
-rw-r--r-- | crates/yt_dlp/src/package_hacks/mod.rs | 10 | ||||
-rw-r--r-- | crates/yt_dlp/src/package_hacks/urllib3.rs | 10 | ||||
-rw-r--r-- | crates/yt_dlp/src/package_hacks/urllib3_polyfill.py | 10 |
3 files changed, 30 insertions, 0 deletions
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 <benedikt.peetz@b-peetz.de> +// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. + 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 <benedikt.peetz@b-peetz.de> +// 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. + 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 <benedikt.peetz@b-peetz.de> +# 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 <https://www.gnu.org/licenses/gpl-3.0.txt>. + import ssl ssl.SSLContext.verify_flags = 0 |