pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/yt-dlp yt-dlp: update to 2022.6.22.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8ba1082317cb
branches: trunk
changeset: 381061:8ba1082317cb
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jun 27 13:33:29 2022 +0000
description:
yt-dlp: update to 2022.6.22.1.
Deprecate support for Python 3.6
Add option --download-sections to download video partially
Chapter regex and time ranges are accepted (Eg: --download-sections *1:10-2:20)
Add option --alias
Add option --lazy-playlist to process entries as they are received
Add option --retry-sleep
Add slicing notation to --playlist-items
Adds support for negative indices and step
Add -I as alias for --playlist-index
Makes --playlist-start, --playlist-end, --playlist-reverse, --no-playlist-reverse redundant
--config-location - to provide options interactively
[build] Add Linux standalone builds
[update] Self-restart after update
Merge youtube-dl: Upto commit/8a158a9
Add --no-update
Allow extractors to specify section_start/end for clips
Do not print progress to stderr with -q
Ensure pre-processor errors do not block video download
Fix --simulate --max-downloads
Improve error handling of bad config files
Return an error code if update fails
Fix bug in 3a408f9
[ExtractAudio] Allow conditional conversion
[ModifyChapters] Fix repeated removal of small segments
[ThumbnailsConvertor] Allow conditional conversion
[cookies] Detect profiles for cygwin/BSD by moench-tegeder
[dash] Show fragment count with --live-from-start by flashdagger
[extractor] Add _search_json by coletdjnz, pukkandan
[extractor] Add default parameter to _search_json by coletdjnz, pukkandan
[extractor] Add dev option --load-pages
[extractor] Handle json_ld with multiple @types
[extractor] Import _ALL_CLASSES lazily
[extractor] Recognize src attribute from HTML5 media elements by Lesmiscore
[extractor/generic] Revert e6ae51c
[f4m] Bugfix
[ffmpeg] Check version lazily
[jsinterp] Some optimizations and refactoring by dirkf, pukkandan
[utils] Improve performance using functools.cache
[utils] Send HTTP/1.1 ALPN extension by coletdjnz
[utils] ExtractorError: Fix exc_info
[utils] ISO3166Utils: Add EU and AP
[utils] Popen: Refactor to use contextmanager
[utils] locked_file: Fix for PyPy on Windows
[update] Expose more functionality to API
[update] Use .git folder to distinguish source/unknown
[build] Fix updating homebrew formula
[compat] Add functools.cached_property
[test] Fix FakeYDL signatures by coletdjnz
[docs] Improvements
[cleanup, ExtractAudio] Refactor
[cleanup, downloader] Refactor report_progress
[cleanup, extractor] Refactor _download_... methods
[cleanup, extractor] Rename extractors.py to _extractors.py
[cleanup, utils] Don't use kwargs for format_field
[cleanup, build] Refactor
[cleanup, docs] Re-indent "Usage and Options" section
[cleanup] Deprecate YoutubeDL.parse_outtmpl
[cleanup] Misc fixes and cleanup by Lesmiscore, MrRawes, christoph-heinrich, flashdagger, gamer191, kwconder, pukkandan
[extractor/DailyWire] Add extractors by HobbyistDev, pukkandan
[extractor/fourzerostudio] Add extractors by Lesmiscore
[extractor/GoogleDrive] Add folder extractor by evansp, pukkandan
[extractor/MirrorCoUK] Add extractor by LunarFang416, pukkandan
[extractor/atscaleconfevent] Add extractor by Ashish0804
[extractor/freetv] Add extractor by elyse0
[extractor/ixigua] Add Extractor by HobbyistDev
[extractor/kicker.de] Add extractor by HobbyistDev
[extractor/netverse] Add extractors by HobbyistDev, pukkandan
[extractor/playsuisse] Add extractor by pukkandan, sbor23
[extractor/substack] Add extractor by elyse0
[extractor/youtube] Support downloading clips
[extractor/youtube] Add innertube_host and innertube_key extractor args by coletdjnz
[extractor/youtube] Add warning for PostLiveDvr
[extractor/youtube] Bring back _extract_chapters_from_description
[extractor/youtube] Extract comment_count from webpage
[extractor/youtube] Fix :ytnotifications extractor by coletdjnz
[extractor/youtube] Fix initial player response extraction by coletdjnz, pukkandan
[extractor/youtube] Fix live chat for videos with content warning by coletdjnz
[extractor/youtube] Make signature extraction non-fatal
[extractor/youtube:tab] Detect videoRenderer in _post_thread_continuation_entries
[extractor/BiliIntl] Fix metadata extraction
[extractor/BiliIntl] Fix subtitle extraction by HobbyistDev
[extractor/FranceCulture] Fix extractor by aurelg, pukkandan
[extractor/PokemonSoundLibrary] Remove extractor by Lesmiscore
[extractor/StreamCZ] Fix extractor by adamanldo, dirkf
[extractor/WatchESPN] Support free videos and BAM_DTC by ischmidt20
[extractor/animelab] Remove extractor by gamer191
[extractor/bloomberg] Change playback endpoint by m4tu4g
[extractor/ccc] Extract view_count by vkorablin
[extractor/crunchyroll:beta] Fix extractor after API change by Burve, tejing1
[extractor/curiositystream] Get auth_token from cookie by mnn
[extractor/digitalconcerthall] Fix extractor by ZhymabekRoman
[extractor/dropbox] Extract the correct mountComponent
[extractor/dropout] Login is not mandatory
[extractor/duboku] Fix for hostname change by mozbugbox
[extractor/espn] Add WatchESPN extractor by ischmidt20, pukkandan
[extractor/expressen] Fix extractor by aejdl
[extractor/foxnews] Update embed extraction by elyse0
[extractor/ina] Fix extractor by elyse0
[extractor/iwara:user] Make paging better by Lesmiscore
[extractor/jwplatform] Look for data-video-jw-id
[extractor/lbry] Update livestream API by flashdagger
[extractor/mediaset] Improve _VALID_URL
[extractor/naver] Add navernow extractor by ping
[extractor/niconico:series] Fix extractor by sqrtNOT
[extractor/npr] Use stream url from json-ld by r5d
[extractor/pornhub] Extract uploader_id field by Lesmiscore
[extractor/radiofrance] Add more radios by bubbleguuum
[extractor/rumble] Detect JS embed
[extractor/rumble] Extract subtitles by fstirlitz
[extractor/southpark] Add southpark.lat extractor by darkxex
[extractor/spotify:show] Fix extractor
[extractor/tiktok] Detect embeds
[extractor/tiktok] Extract SIGI_STATE by dirkf, pukkandan, sulyi
[extractor/tver] Fix extractor by Lesmiscore
[extractor/vevo] Fix extractor by Lesmiscore
[extractor/yahoo:gyao] Fix extractor
[extractor/zattoo] Fix live streams by miseran
[extractor/zdf] Improve format sorting by elyse0
diffstat:
net/yt-dlp/Makefile | 4 +-
net/yt-dlp/PLIST | 47 +++++++++++++--
net/yt-dlp/distinfo | 9 +-
net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py | 36 ------------
4 files changed, 46 insertions(+), 50 deletions(-)
diffs (226 lines):
diff -r 25fcb62b5773 -r 8ba1082317cb net/yt-dlp/Makefile
--- a/net/yt-dlp/Makefile Mon Jun 27 13:26:29 2022 +0000
+++ b/net/yt-dlp/Makefile Mon Jun 27 13:33:29 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2022/06/02 22:07:41 leot Exp $
+# $NetBSD: Makefile,v 1.14 2022/06/27 13:33:29 wiz Exp $
-DISTNAME= yt-dlp-2022.5.18
+DISTNAME= yt-dlp-2022.6.22.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yt-dlp/}
# \TODO: create symlink, as mpv makes use of youtube-dl?
diff -r 25fcb62b5773 -r 8ba1082317cb net/yt-dlp/PLIST
--- a/net/yt-dlp/PLIST Mon Jun 27 13:26:29 2022 +0000
+++ b/net/yt-dlp/PLIST Mon Jun 27 13:33:29 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/06/02 22:07:41 leot Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/06/27 13:33:29 wiz Exp $
bin/yt-dlp
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -36,6 +36,9 @@
${PYSITELIB}/yt_dlp/compat/compat_utils.py
${PYSITELIB}/yt_dlp/compat/compat_utils.pyc
${PYSITELIB}/yt_dlp/compat/compat_utils.pyo
+${PYSITELIB}/yt_dlp/compat/functools.py
+${PYSITELIB}/yt_dlp/compat/functools.pyc
+${PYSITELIB}/yt_dlp/compat/functools.pyo
${PYSITELIB}/yt_dlp/compat/imghdr.py
${PYSITELIB}/yt_dlp/compat/imghdr.pyc
${PYSITELIB}/yt_dlp/compat/imghdr.pyo
@@ -99,6 +102,9 @@
${PYSITELIB}/yt_dlp/extractor/__init__.py
${PYSITELIB}/yt_dlp/extractor/__init__.pyc
${PYSITELIB}/yt_dlp/extractor/__init__.pyo
+${PYSITELIB}/yt_dlp/extractor/_extractors.py
+${PYSITELIB}/yt_dlp/extractor/_extractors.pyc
+${PYSITELIB}/yt_dlp/extractor/_extractors.pyo
${PYSITELIB}/yt_dlp/extractor/abc.py
${PYSITELIB}/yt_dlp/extractor/abc.pyc
${PYSITELIB}/yt_dlp/extractor/abc.pyo
@@ -174,9 +180,6 @@
${PYSITELIB}/yt_dlp/extractor/amp.py
${PYSITELIB}/yt_dlp/extractor/amp.pyc
${PYSITELIB}/yt_dlp/extractor/amp.pyo
-${PYSITELIB}/yt_dlp/extractor/animelab.py
-${PYSITELIB}/yt_dlp/extractor/animelab.pyc
-${PYSITELIB}/yt_dlp/extractor/animelab.pyo
${PYSITELIB}/yt_dlp/extractor/animeondemand.py
${PYSITELIB}/yt_dlp/extractor/animeondemand.pyc
${PYSITELIB}/yt_dlp/extractor/animeondemand.pyo
@@ -237,6 +240,9 @@
${PYSITELIB}/yt_dlp/extractor/atresplayer.py
${PYSITELIB}/yt_dlp/extractor/atresplayer.pyc
${PYSITELIB}/yt_dlp/extractor/atresplayer.pyo
+${PYSITELIB}/yt_dlp/extractor/atscaleconf.py
+${PYSITELIB}/yt_dlp/extractor/atscaleconf.pyc
+${PYSITELIB}/yt_dlp/extractor/atscaleconf.pyo
${PYSITELIB}/yt_dlp/extractor/atttechchannel.py
${PYSITELIB}/yt_dlp/extractor/atttechchannel.pyc
${PYSITELIB}/yt_dlp/extractor/atttechchannel.pyo
@@ -609,6 +615,9 @@
${PYSITELIB}/yt_dlp/extractor/dailymotion.py
${PYSITELIB}/yt_dlp/extractor/dailymotion.pyc
${PYSITELIB}/yt_dlp/extractor/dailymotion.pyo
+${PYSITELIB}/yt_dlp/extractor/dailywire.py
+${PYSITELIB}/yt_dlp/extractor/dailywire.pyc
+${PYSITELIB}/yt_dlp/extractor/dailywire.pyo
${PYSITELIB}/yt_dlp/extractor/damtomo.py
${PYSITELIB}/yt_dlp/extractor/damtomo.pyc
${PYSITELIB}/yt_dlp/extractor/damtomo.pyo
@@ -843,6 +852,9 @@
${PYSITELIB}/yt_dlp/extractor/fourtube.py
${PYSITELIB}/yt_dlp/extractor/fourtube.pyc
${PYSITELIB}/yt_dlp/extractor/fourtube.pyo
+${PYSITELIB}/yt_dlp/extractor/fourzerostudio.py
+${PYSITELIB}/yt_dlp/extractor/fourzerostudio.pyc
+${PYSITELIB}/yt_dlp/extractor/fourzerostudio.pyo
${PYSITELIB}/yt_dlp/extractor/fox.py
${PYSITELIB}/yt_dlp/extractor/fox.pyc
${PYSITELIB}/yt_dlp/extractor/fox.pyo
@@ -861,9 +873,6 @@
${PYSITELIB}/yt_dlp/extractor/fptplay.py
${PYSITELIB}/yt_dlp/extractor/fptplay.pyc
${PYSITELIB}/yt_dlp/extractor/fptplay.pyo
-${PYSITELIB}/yt_dlp/extractor/franceculture.py
-${PYSITELIB}/yt_dlp/extractor/franceculture.pyc
-${PYSITELIB}/yt_dlp/extractor/franceculture.pyo
${PYSITELIB}/yt_dlp/extractor/franceinter.py
${PYSITELIB}/yt_dlp/extractor/franceinter.pyc
${PYSITELIB}/yt_dlp/extractor/franceinter.pyo
@@ -876,6 +885,9 @@
${PYSITELIB}/yt_dlp/extractor/freespeech.py
${PYSITELIB}/yt_dlp/extractor/freespeech.pyc
${PYSITELIB}/yt_dlp/extractor/freespeech.pyo
+${PYSITELIB}/yt_dlp/extractor/freetv.py
+${PYSITELIB}/yt_dlp/extractor/freetv.pyc
+${PYSITELIB}/yt_dlp/extractor/freetv.pyo
${PYSITELIB}/yt_dlp/extractor/frontendmasters.py
${PYSITELIB}/yt_dlp/extractor/frontendmasters.pyc
${PYSITELIB}/yt_dlp/extractor/frontendmasters.pyo
@@ -1125,6 +1137,9 @@
${PYSITELIB}/yt_dlp/extractor/iwara.py
${PYSITELIB}/yt_dlp/extractor/iwara.pyc
${PYSITELIB}/yt_dlp/extractor/iwara.pyo
+${PYSITELIB}/yt_dlp/extractor/ixigua.py
+${PYSITELIB}/yt_dlp/extractor/ixigua.pyc
+${PYSITELIB}/yt_dlp/extractor/ixigua.pyo
${PYSITELIB}/yt_dlp/extractor/izlesene.py
${PYSITELIB}/yt_dlp/extractor/izlesene.pyc
${PYSITELIB}/yt_dlp/extractor/izlesene.pyo
@@ -1170,6 +1185,9 @@
${PYSITELIB}/yt_dlp/extractor/khanacademy.py
${PYSITELIB}/yt_dlp/extractor/khanacademy.pyc
${PYSITELIB}/yt_dlp/extractor/khanacademy.pyo
+${PYSITELIB}/yt_dlp/extractor/kicker.py
+${PYSITELIB}/yt_dlp/extractor/kicker.pyc
+${PYSITELIB}/yt_dlp/extractor/kicker.pyo
${PYSITELIB}/yt_dlp/extractor/kickstarter.py
${PYSITELIB}/yt_dlp/extractor/kickstarter.pyc
${PYSITELIB}/yt_dlp/extractor/kickstarter.pyo
@@ -1188,6 +1206,9 @@
${PYSITELIB}/yt_dlp/extractor/krasview.py
${PYSITELIB}/yt_dlp/extractor/krasview.pyc
${PYSITELIB}/yt_dlp/extractor/krasview.pyo
+${PYSITELIB}/yt_dlp/extractor/kth.py
+${PYSITELIB}/yt_dlp/extractor/kth.pyc
+${PYSITELIB}/yt_dlp/extractor/kth.pyo
${PYSITELIB}/yt_dlp/extractor/ku6.py
${PYSITELIB}/yt_dlp/extractor/ku6.pyc
${PYSITELIB}/yt_dlp/extractor/ku6.pyo
@@ -1401,6 +1422,9 @@
${PYSITELIB}/yt_dlp/extractor/mirrativ.py
${PYSITELIB}/yt_dlp/extractor/mirrativ.pyc
${PYSITELIB}/yt_dlp/extractor/mirrativ.pyo
+${PYSITELIB}/yt_dlp/extractor/mirrorcouk.py
+${PYSITELIB}/yt_dlp/extractor/mirrorcouk.pyc
+${PYSITELIB}/yt_dlp/extractor/mirrorcouk.pyo
${PYSITELIB}/yt_dlp/extractor/mit.py
${PYSITELIB}/yt_dlp/extractor/mit.pyc
${PYSITELIB}/yt_dlp/extractor/mit.pyo
@@ -1527,6 +1551,9 @@
${PYSITELIB}/yt_dlp/extractor/neteasemusic.py
${PYSITELIB}/yt_dlp/extractor/neteasemusic.pyc
${PYSITELIB}/yt_dlp/extractor/neteasemusic.pyo
+${PYSITELIB}/yt_dlp/extractor/netverse.py
+${PYSITELIB}/yt_dlp/extractor/netverse.pyc
+${PYSITELIB}/yt_dlp/extractor/netverse.pyo
${PYSITELIB}/yt_dlp/extractor/netzkino.py
${PYSITELIB}/yt_dlp/extractor/netzkino.pyc
${PYSITELIB}/yt_dlp/extractor/netzkino.pyo
@@ -1800,6 +1827,9 @@
${PYSITELIB}/yt_dlp/extractor/playstuff.py
${PYSITELIB}/yt_dlp/extractor/playstuff.pyc
${PYSITELIB}/yt_dlp/extractor/playstuff.pyo
+${PYSITELIB}/yt_dlp/extractor/playsuisse.py
+${PYSITELIB}/yt_dlp/extractor/playsuisse.pyc
+${PYSITELIB}/yt_dlp/extractor/playsuisse.pyo
${PYSITELIB}/yt_dlp/extractor/playtvak.py
${PYSITELIB}/yt_dlp/extractor/playtvak.pyc
${PYSITELIB}/yt_dlp/extractor/playtvak.pyo
@@ -2241,6 +2271,9 @@
${PYSITELIB}/yt_dlp/extractor/stv.py
${PYSITELIB}/yt_dlp/extractor/stv.pyc
${PYSITELIB}/yt_dlp/extractor/stv.pyo
+${PYSITELIB}/yt_dlp/extractor/substack.py
+${PYSITELIB}/yt_dlp/extractor/substack.pyc
+${PYSITELIB}/yt_dlp/extractor/substack.pyo
${PYSITELIB}/yt_dlp/extractor/sunporno.py
${PYSITELIB}/yt_dlp/extractor/sunporno.pyc
${PYSITELIB}/yt_dlp/extractor/sunporno.pyo
diff -r 25fcb62b5773 -r 8ba1082317cb net/yt-dlp/distinfo
--- a/net/yt-dlp/distinfo Mon Jun 27 13:26:29 2022 +0000
+++ b/net/yt-dlp/distinfo Mon Jun 27 13:33:29 2022 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.11 2022/06/02 22:07:41 leot Exp $
+$NetBSD: distinfo,v 1.12 2022/06/27 13:33:29 wiz Exp $
-BLAKE2s (yt-dlp-2022.5.18.tar.gz) = c1c3c8f37d938c71692e6d558e039e437d552210de690964c7af9570ebec1c1c
-SHA512 (yt-dlp-2022.5.18.tar.gz) = d0c11e6dba336124898e73234c5935386163af8a9dbbe3e2c38ec834ff631557a763e5224c30747dcffcf98364b95b7f1b6121c50ef91ed56653e2ce453548b5
-Size (yt-dlp-2022.5.18.tar.gz) = 2277146 bytes
+BLAKE2s (yt-dlp-2022.6.22.1.tar.gz) = 19ce6b22a7922255d696c4489fc6220fef02b586590694908d56bdf1041217aa
+SHA512 (yt-dlp-2022.6.22.1.tar.gz) = 0a0a4b25e0a75774bc659770af7d83a307d2ff4a3eef11c02ca422c0f4920ba47e02350cd72a4c4a4903aa7f97879b979c755318d3b48def6be738e09d72c3c6
+Size (yt-dlp-2022.6.22.1.tar.gz) = 2314891 bytes
SHA1 (patch-setup.py) = 7f3394a2b9737424e4c47c0f31488a8b2fef0bcb
-SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = 6cf38b7b677509973eb4ce922c206efa0c9e0144
diff -r 25fcb62b5773 -r 8ba1082317cb net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py
--- a/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py Mon Jun 27 13:26:29 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.6 2022/06/02 22:07:41 leot Exp $
-
-Also look and use ffmpeg[234]/ffprobe[234] if possible, preferring
-the unversioned one (i.e. selected via alternatives framework)
-or the newest one.
-From: pkgsrc/net/youtube-dl
-
---- yt_dlp/postprocessor/ffmpeg.py.orig 2022-05-18 03:37:24.000000000 +0000
-+++ yt_dlp/postprocessor/ffmpeg.py
-@@ -85,7 +85,7 @@ class FFmpegPostProcessor(PostProcessor)
- _version_cache, _features_cache = {}, {}
-
- def _determine_executables(self):
-- programs = ['avprobe', 'avconv', 'ffmpeg', 'ffprobe']
-+ programs = ['avprobe', 'avconv', 'ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2']
-
- def get_ffmpeg_version(path, prog):
- if path in self._version_cache:
-@@ -138,7 +138,7 @@ class FFmpegPostProcessor(PostProcessor)
- basename = os.path.splitext(os.path.basename(location))[0]
- basename = next((p for p in programs if basename.startswith(p)), 'ffmpeg')
- dirname = os.path.dirname(os.path.abspath(location))
-- if basename in ('ffmpeg', 'ffprobe'):
-+ if basename in ('ffmpeg', 'ffmpeg5', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe5', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
- prefer_ffmpeg = True
-
- self._paths = {
-@@ -231,7 +231,7 @@ class FFmpegPostProcessor(PostProcessor)
- return None
-
- def get_metadata_object(self, path, opts=[]):
-- if self.probe_basename != 'ffprobe':
-+ if not self.probe_basename.startswith('ffprobe'):
- if self.probe_available:
- self.report_warning('Only ffprobe is supported for metadata extraction')
- raise PostProcessingError('ffprobe not found. Please install or provide the path using --ffmpeg-location')
Home |
Main Index |
Thread Index |
Old Index