forked from pool/yt-dlp
Compare commits
42 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
e50549a2d3 | ||
|
b81e686639 | ||
|
25b5a9d306 | ||
|
ab98d0853b | ||
|
50d4f428d5 | ||
|
103f4e03d9 | ||
|
6d5ce714d1 | ||
|
75fba21ea3 | ||
|
7408a39b50 | ||
|
78e878e627 | ||
|
a01765742f | ||
|
bdcbfcc4d5 | ||
|
398ff6dd21 | ||
|
1fad9943f6 | ||
|
81b879156f | ||
|
249d58ed2a | ||
|
a1ea5cfb1f | ||
|
96512f901f | ||
|
4312dae86e | ||
|
e6a1a25549 | ||
|
80116729e0 | ||
|
a9a26075b6 | ||
|
adeb2d7f6a | ||
|
6fb1c01801 | ||
|
ea986638e7 | ||
|
5e9977ee84 | ||
|
d7542917f2 | ||
|
1397f7f8fa | ||
|
6be522beb0 | ||
|
410e5acbfc | ||
|
0febb9ccd3 | ||
|
9dffe4ef38 | ||
|
dd0331268d | ||
|
e627107d0b | ||
|
013a3c9244 | ||
|
b8a7476236 | ||
|
b6ffb00093 | ||
|
4e124dbb89 | ||
|
1366d74a0b | ||
|
d9e3374691 | ||
ec67df018b | |||
56060aedbc |
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1737062953
|
||||
commit: 0b49e4fcfb19e0992afbc169757fceae498ea5d8505a4a8d49e7993c599362bb
|
||||
url: https://src.opensuse.org/jengelh/yt-dlp
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af659a142ddcc5acdbe93df6448728d81cf674e9c2569fafc82525956ab23c87
|
||||
size 256
|
1
yt-dlp-rpmlintrc
Normal file
1
yt-dlp-rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
addFilter("files-duplicate")
|
132
yt-dlp.changes
132
yt-dlp.changes
@ -1,3 +1,135 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 21:28:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.01.15
|
||||
* youtube: Do not use web_creator as a default client
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 00:14:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2025.01.12
|
||||
* yt: fix DASH formats incorrectly skipped in some situations
|
||||
* yt: refactor cookie auth
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 25 09:38:56 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Fix 15.6 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 24 01:26:36 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.12.23
|
||||
* yt: add age-gate workaround for some embeddable videos
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 12:28:50 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.12.13
|
||||
* yt: fix signature function extraction for 2f1832d2
|
||||
* yt: prioritize original language over auto-dubbed audio
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 12:50:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.12.06
|
||||
* yt: fix ``n`` sig extraction for player 3bb1f723
|
||||
* yt: fix signature function extraction
|
||||
* yt: player client maintenance
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 3 20:59:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.12.03
|
||||
* bilibili: Always try to extract HD formats
|
||||
* youtube: Adjust player clients for site changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 19:30:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.11.18
|
||||
* cloudflarestream: Avoid extraction via videodelivery.net
|
||||
* youtube: remove broken OAuth support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 21:48:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.11.04
|
||||
* Prioritize AV1
|
||||
* Remove Python <= 3.8 support
|
||||
* youtube: Adjust OAuth refresh token handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 08:32:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.10.22
|
||||
* yt: Remove broken android_producer client
|
||||
* yt: Remove broken age-restriction workaround
|
||||
* yt: Support logging in with OAuth
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 08:49:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.10.07
|
||||
* Fix cookie load error handling
|
||||
* youtube: Change default player clients to ios,mweb
|
||||
* patreon: Extract all m3u8 formats for locked posts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 29 19:34:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.09.27
|
||||
* Support excluding player_clients in extractor-arg
|
||||
* clip: Prioritize https formats
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.08.06
|
||||
* youtube: Fix `n` function name extraction for player `b12cc44b`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 13 18:34:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Merge sh completion packages into main package
|
||||
- Add yt-dlp-youtube-dl subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 15:48:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.08.01
|
||||
* youtube:
|
||||
* Change default player clients to ios,tv
|
||||
* Fix n function name extraction for player 20dfca59
|
||||
* Fix age-verification workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 25 04:08:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.07.25
|
||||
* youtube: Fix n function name extraction for player 3400486c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 05:29:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.07.16
|
||||
* Support auto-tty and no_color-tty for --color
|
||||
* youtube: Avoid poToken experiment player responses
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 07:18:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2024.07.09
|
||||
* youtube: Remove broken n function extraction fallback
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 10:30:24 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to release 2024.07.01:
|
||||
* Properly sanitize file-extension to prevent file system
|
||||
modification and RCE. Unsafe extensions are now blocked from
|
||||
being downloaded. [CVE-2024-38519 boo#1227305]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 06:39:46 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
69
yt-dlp.spec
69
yt-dlp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package yt-dlp
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,15 +19,19 @@
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define skip_python37 1
|
||||
%{?sle15_python_module_pythons}
|
||||
%if 0%{?sle_version} == 150600
|
||||
%global pythons python312
|
||||
%endif
|
||||
|
||||
Name: yt-dlp
|
||||
Version: 2024.05.27
|
||||
Version: 2025.01.15
|
||||
Release: 0
|
||||
Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching
|
||||
License: CC-BY-SA-3.0 AND SUSE-Public-Domain
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
URL: https://github.com/yt-dlp/yt-dlp
|
||||
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
|
||||
Source9: yt-dlp-rpmlintrc
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
@ -35,6 +39,12 @@ BuildRequires: make >= 4
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zip
|
||||
BuildArch: noarch
|
||||
Obsoletes: yt-dlp-bash-completion < %version-%release
|
||||
Provides: yt-dlp-bash-completion = %version-%release
|
||||
Obsoletes: yt-dlp-fish-completion < %version-%release
|
||||
Provides: yt-dlp-fish-completion = %version-%release
|
||||
Obsoletes: yt-dlp-zsh-completion < %version-%release
|
||||
Provides: yt-dlp-zsh-completion = %version-%release
|
||||
# %%primary_python not available in Leap yet
|
||||
Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g')
|
||||
%define python_subpackage_only 1
|
||||
@ -44,32 +54,14 @@ Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g')
|
||||
yt-dlp is a command-line program to retrieve videos from
|
||||
YouTube.com and other video sites for later watching.
|
||||
|
||||
%package -n yt-dlp-bash-completion
|
||||
Summary: Bash completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: bash-completion
|
||||
Supplements: (yt-dlp and bash-completion)
|
||||
%package -n yt-dlp-youtube-dl
|
||||
Summary: Compat symlinks for youtube-dl
|
||||
Requires: yt-dlp
|
||||
Provides: youtube-dl
|
||||
Conflicts: youtube-dl
|
||||
|
||||
%description -n yt-dlp-bash-completion
|
||||
Bash command line completion support for yt-dlp.
|
||||
|
||||
%package -n yt-dlp-fish-completion
|
||||
Summary: Fish completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: fish
|
||||
Supplements: (yt-dlp and fish)
|
||||
|
||||
%description -n yt-dlp-fish-completion
|
||||
Fish command line completion support for yt-dlp.
|
||||
|
||||
%package -n yt-dlp-zsh-completion
|
||||
Summary: Zsh Completion for yt-dlp
|
||||
Group: System/Shells
|
||||
Requires: zsh
|
||||
Supplements: (yt-dlp and zsh)
|
||||
|
||||
%description -n yt-dlp-zsh-completion
|
||||
ZSH command line completion support for yt-dlp.
|
||||
%description -n yt-dlp-youtube-dl
|
||||
This package installs "youtube-dl" as a symlink to yt-dlp.
|
||||
|
||||
%package -n python-yt-dlp
|
||||
Summary: yt-dlp Python library
|
||||
@ -99,24 +91,31 @@ rm -f youtube-dl yt-dlp
|
||||
%install
|
||||
b="%buildroot"
|
||||
%pyproject_install
|
||||
%fdupes %buildroot/usr
|
||||
ln -s yt-dlp "$b/%_bindir/youtube-dl"
|
||||
rm -Rf "$b/%_datadir/doc"
|
||||
# if you leave everything as-is, rpmlint complains about
|
||||
# python312-yt-dlp.noarch: W: files-duplicate
|
||||
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.pyc
|
||||
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.opt-1.pyc
|
||||
# if you add fdupes, rpmlint complains about
|
||||
# python312-yt-dlp.noarch: E: python-bytecode-inconsistent-mtime
|
||||
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/__pycache__/screencastomatic.cpython-312.pyc
|
||||
# 2024-09-29T18:11:02
|
||||
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/screencastomatic.py
|
||||
# 2024-09-29T18:11:01
|
||||
|
||||
%files -n yt-dlp
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%_bindir/%name
|
||||
%_mandir/man1/%name.1%ext_man
|
||||
|
||||
%files -n yt-dlp-bash-completion
|
||||
%_datadir/bash-completion/
|
||||
|
||||
%files -n yt-dlp-fish-completion
|
||||
%_datadir/fish/
|
||||
|
||||
%files -n yt-dlp-zsh-completion
|
||||
%_datadir/zsh/
|
||||
|
||||
%files -n yt-dlp-youtube-dl
|
||||
%_bindir/youtube-dl
|
||||
|
||||
%files %{python_files yt-dlp}
|
||||
%python_sitelib/y*
|
||||
|
||||
|
BIN
yt-dlp.tar.gz
(Stored with Git LFS)
BIN
yt-dlp.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user