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 2021.11.10.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc65a7c0f422
branches: trunk
changeset: 769389:cc65a7c0f422
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Nov 14 14:41:11 2021 +0000
description:
yt-dlp: Update to 2021.11.10.1
Changelog:
### 2021.11.10.1
* Temporarily disable MacOS Build
### 2021.11.10
* [youtube] **Fix throttling by decrypting n-sig**
* Merging extractors from [haruhi-dl](https://git.sakamoto.pl/laudom/haruhi-dl) by [selfisekai](https://github.com/selfisekai)
* [extractor] Add `_search_nextjs_data`
* [tvp] Fix extractors
* [tvp] Add TVPStreamIE
* [wppilot] Add extractors
* [polskieradio] Add extractors
* [radiokapital] Add extractors
* [polsatgo] Add extractor by [selfisekai](https://github.com/selfisekai), [sdomi](https://github.com/sdomi)
* Separate `--check-all-formats` from `--check-formats`
* Approximate filesize from bitrate
* Don't create console in `windows_enable_vt_mode`
* Fix bug in `--load-infojson` of playlists
* [minicurses] Add colors to `-F` and standardize color-printing code
* [outtmpl] Add type `link` for internet shortcut files
* [outtmpl] Add alternate forms for `q` and `j`
* [outtmpl] Do not traverse `None`
* [fragment] Fix progress display in fragmented downloads
* [downloader/ffmpeg] Fix vtt download with ffmpeg
* [ffmpeg] Detect presence of setts and libavformat version
* [ExtractAudio] Rescale --audio-quality correctly by [CrypticSignal](https://github.com/CrypticSignal), [pukkandan](https://github.com/pukkandan)
* [ExtractAudio] Use `libfdk_aac` if available by [CrypticSignal](https://github.com/CrypticSignal)
* [FormatSort] `eac3` is better than `ac3`
* [FormatSort] Fix some fields' defaults
* [generic] Detect more json_ld
* [generic] parse jwplayer with only the json URL
* [extractor] Add keyword automatically to SearchIE descriptions
* [extractor] Fix some errors being converted to `ExtractorError`
* [utils] Add `join_nonempty`
* [utils] Add `jwt_decode_hs256` by [Ashish0804](https://github.com/Ashish0804)
* [utils] Create `DownloadCancelled` exception
* [utils] Parse `vp09` as vp9
* [utils] Sanitize URL when determining protocol
* [test/download] Fallback test to `bv`
* [docs] Minor documentation improvements
* [cleanup] Improvements to error and debug messages
* [cleanup] Minor fixes and cleanup
* [3speak] Add extractors by [Ashish0804](https://github.com/Ashish0804)
* [AmazonStore] Add extractor by [Ashish0804](https://github.com/Ashish0804)
* [Gab] Add extractor by [u-spec-png](https://github.com/u-spec-png)
* [mediaset] Add playlist support by [nixxo](https://github.com/nixxo)
* [MLSScoccer] Add extractor by [Ashish0804](https://github.com/Ashish0804)
* [N1] Add support for nova.rs by [u-spec-png](https://github.com/u-spec-png)
* [PlanetMarathi] Add extractor by [Ashish0804](https://github.com/Ashish0804)
* [RaiplayRadio] Add extractors by [frafra](https://github.com/frafra)
* [roosterteeth] Add series extractor
* [sky] Add `SkyNewsStoryIE` by [ajj8](https://github.com/ajj8)
* [youtube] Fix sorting for some videos
* [youtube] Populate `thumbnail` with the best "known" thumbnail
* [youtube] Refactor itag processing
* [youtube] Remove unnecessary no-playlist warning
* [youtube:tab] Add Invidious list for playlists/channels by [rhendric](https://github.com/rhendric)
* [Bilibili:comments] Fix infinite loop by [u-spec-png](https://github.com/u-spec-png)
* [ceskatelevize] Fix extractor by [flashdagger](https://github.com/flashdagger)
* [Coub] Fix media format identification by [wlritchi](https://github.com/wlritchi)
* [crunchyroll] Add extractor-args `language` and `hardsub`
* [DiscoveryPlus] Allow language codes in URL
* [imdb] Fix thumbnail by [ozburo](https://github.com/ozburo)
* [instagram] Add IOS URL support by [u-spec-png](https://github.com/u-spec-png)
* [instagram] Improve login code by [u-spec-png](https://github.com/u-spec-png)
* [Instagram] Improve metadata extraction by [u-spec-png](https://github.com/u-spec-png)
* [iPrima] Fix extractor by [stanoarn](https://github.com/stanoarn)
* [itv] Add support for ITV News by [ajj8](https://github.com/ajj8)
* [la7] Fix extractor by [nixxo](https://github.com/nixxo)
* [linkedin] Don't login multiple times
* [mtv] Fix some videos by [Sipherdrakon](https://github.com/Sipherdrakon)
* [Newgrounds] Fix description by [u-spec-png](https://github.com/u-spec-png)
* [Nrk] Minor fixes by [fractalf](https://github.com/fractalf)
* [Olympics] Fix extractor by [u-spec-png](https://github.com/u-spec-png)
* [piksel] Fix sorting
* [twitter] Do not sort by codec
* [viewlift] Add cookie-based login and series support by [Ashish0804](https://github.com/Ashish0804), [pukkandan](https://github.com/pukkandan)
* [vimeo] Detect source extension and misc cleanup by [flashdagger](https://github.com/flashdagger)
* [vimeo] Fix ondemand videos and direct URLs with hash
* [vk] Fix login and add subtitles by [kaz-us](https://github.com/kaz-us)
* [VLive] Add upload_date and thumbnail by [Ashish0804](https://github.com/Ashish0804)
* [VRT] Fix login by [pgaig](https://github.com/pgaig)
* [Vupload] Fix extractor by [u-spec-png](https://github.com/u-spec-png)
* [wakanim] Add support for MPD manifests by [nyuszika7h](https://github.com/nyuszika7h)
* [wakanim] Detect geo-restriction by [nyuszika7h](https://github.com/nyuszika7h)
* [ZenYandex] Fix extractor by [u-spec-png](https://github.com/u-spec-png)
diffstat:
net/yt-dlp/Makefile | 5 +-
net/yt-dlp/PLIST | 24 +++++++++++-
net/yt-dlp/distinfo | 10 ++--
net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py | 32 ++++++++--------
4 files changed, 46 insertions(+), 25 deletions(-)
diffs (164 lines):
diff -r 799a878b36fa -r cc65a7c0f422 net/yt-dlp/Makefile
--- a/net/yt-dlp/Makefile Sun Nov 14 12:51:09 2021 +0000
+++ b/net/yt-dlp/Makefile Sun Nov 14 14:41:11 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/11/09 09:53:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2021/11/14 14:41:11 ryoon Exp $
-DISTNAME= yt-dlp-2021.10.22
-PKGREVISION= 1
+DISTNAME= yt-dlp-2021.11.10.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yt-dlp/}
# \TODO: create symlink, as mpv makes use of youtube-dl?
diff -r 799a878b36fa -r cc65a7c0f422 net/yt-dlp/PLIST
--- a/net/yt-dlp/PLIST Sun Nov 14 12:51:09 2021 +0000
+++ b/net/yt-dlp/PLIST Sun Nov 14 14:41:11 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/08 10:28:03 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/11/14 14:41:11 ryoon Exp $
bin/yt-dlp
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -132,6 +132,9 @@
${PYSITELIB}/yt_dlp/extractor/amara.py
${PYSITELIB}/yt_dlp/extractor/amara.pyc
${PYSITELIB}/yt_dlp/extractor/amara.pyo
+${PYSITELIB}/yt_dlp/extractor/amazon.py
+${PYSITELIB}/yt_dlp/extractor/amazon.pyc
+${PYSITELIB}/yt_dlp/extractor/amazon.pyo
${PYSITELIB}/yt_dlp/extractor/amcnetworks.py
${PYSITELIB}/yt_dlp/extractor/amcnetworks.pyc
${PYSITELIB}/yt_dlp/extractor/amcnetworks.pyo
@@ -1302,6 +1305,9 @@
${PYSITELIB}/yt_dlp/extractor/mlb.py
${PYSITELIB}/yt_dlp/extractor/mlb.pyc
${PYSITELIB}/yt_dlp/extractor/mlb.pyo
+${PYSITELIB}/yt_dlp/extractor/mlssoccer.py
+${PYSITELIB}/yt_dlp/extractor/mlssoccer.pyc
+${PYSITELIB}/yt_dlp/extractor/mlssoccer.pyo
${PYSITELIB}/yt_dlp/extractor/mnet.py
${PYSITELIB}/yt_dlp/extractor/mnet.pyc
${PYSITELIB}/yt_dlp/extractor/mnet.pyo
@@ -1626,6 +1632,9 @@
${PYSITELIB}/yt_dlp/extractor/pladform.py
${PYSITELIB}/yt_dlp/extractor/pladform.pyc
${PYSITELIB}/yt_dlp/extractor/pladform.pyo
+${PYSITELIB}/yt_dlp/extractor/planetmarathi.py
+${PYSITELIB}/yt_dlp/extractor/planetmarathi.pyc
+${PYSITELIB}/yt_dlp/extractor/planetmarathi.pyo
${PYSITELIB}/yt_dlp/extractor/platzi.py
${PYSITELIB}/yt_dlp/extractor/platzi.pyc
${PYSITELIB}/yt_dlp/extractor/platzi.pyo
@@ -1662,6 +1671,9 @@
${PYSITELIB}/yt_dlp/extractor/pokemon.py
${PYSITELIB}/yt_dlp/extractor/pokemon.pyc
${PYSITELIB}/yt_dlp/extractor/pokemon.pyo
+${PYSITELIB}/yt_dlp/extractor/polsatgo.py
+${PYSITELIB}/yt_dlp/extractor/polsatgo.pyc
+${PYSITELIB}/yt_dlp/extractor/polsatgo.pyo
${PYSITELIB}/yt_dlp/extractor/polskieradio.py
${PYSITELIB}/yt_dlp/extractor/polskieradio.pyc
${PYSITELIB}/yt_dlp/extractor/polskieradio.pyo
@@ -1737,6 +1749,9 @@
${PYSITELIB}/yt_dlp/extractor/radiojavan.py
${PYSITELIB}/yt_dlp/extractor/radiojavan.pyc
${PYSITELIB}/yt_dlp/extractor/radiojavan.pyo
+${PYSITELIB}/yt_dlp/extractor/radiokapital.py
+${PYSITELIB}/yt_dlp/extractor/radiokapital.pyc
+${PYSITELIB}/yt_dlp/extractor/radiokapital.pyo
${PYSITELIB}/yt_dlp/extractor/radlive.py
${PYSITELIB}/yt_dlp/extractor/radlive.pyc
${PYSITELIB}/yt_dlp/extractor/radlive.pyo
@@ -2178,6 +2193,9 @@
${PYSITELIB}/yt_dlp/extractor/threeqsdn.py
${PYSITELIB}/yt_dlp/extractor/threeqsdn.pyc
${PYSITELIB}/yt_dlp/extractor/threeqsdn.pyo
+${PYSITELIB}/yt_dlp/extractor/threespeak.py
+${PYSITELIB}/yt_dlp/extractor/threespeak.pyc
+${PYSITELIB}/yt_dlp/extractor/threespeak.pyo
${PYSITELIB}/yt_dlp/extractor/tiktok.py
${PYSITELIB}/yt_dlp/extractor/tiktok.pyc
${PYSITELIB}/yt_dlp/extractor/tiktok.pyo
@@ -2568,6 +2586,9 @@
${PYSITELIB}/yt_dlp/extractor/worldstarhiphop.py
${PYSITELIB}/yt_dlp/extractor/worldstarhiphop.pyc
${PYSITELIB}/yt_dlp/extractor/worldstarhiphop.pyo
+${PYSITELIB}/yt_dlp/extractor/wppilot.py
+${PYSITELIB}/yt_dlp/extractor/wppilot.pyc
+${PYSITELIB}/yt_dlp/extractor/wppilot.pyo
${PYSITELIB}/yt_dlp/extractor/wsj.py
${PYSITELIB}/yt_dlp/extractor/wsj.pyc
${PYSITELIB}/yt_dlp/extractor/wsj.pyo
@@ -2747,3 +2768,4 @@
share/doc/yt_dlp/README.txt
share/fish/vendor_completions.d/yt-dlp.fish
share/zsh/site-functions/_yt-dlp
+@pkgdir share/man/man1
diff -r 799a878b36fa -r cc65a7c0f422 net/yt-dlp/distinfo
--- a/net/yt-dlp/distinfo Sun Nov 14 12:51:09 2021 +0000
+++ b/net/yt-dlp/distinfo Sun Nov 14 14:41:11 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2021/11/09 09:53:43 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2021/11/14 14:41:11 ryoon Exp $
-BLAKE2s (yt-dlp-2021.10.22.tar.gz) = 6c09f78af13c1316038edc6c6aff2f3d67b27d955c7fcc88f367b4afa0417165
-SHA512 (yt-dlp-2021.10.22.tar.gz) = 2b590703f8d4f9454b50983019aca8046205234bd98cac4da73a6688eae177a19ef641e486aea92d86197ee7ad6c564c65f9b9496d623c00bdcc349817d5b1f8
-Size (yt-dlp-2021.10.22.tar.gz) = 2010916 bytes
-SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = 384a2938b8c2b378a07ec0a5ddd6616fc43e0911
+BLAKE2s (yt-dlp-2021.11.10.1.tar.gz) = 0ff0b9218217b12928b88ec2d2005a4cd16ede5c91f124ba5e04e98bf62cb2b7
+SHA512 (yt-dlp-2021.11.10.1.tar.gz) = 54a371d70b7b82349a184b26201fca12fabbc9a107dc199347c412062776d63879d22955d76726df61bc40ec594a7179a997e4679c683673c8c0dd41f62b16f6
+Size (yt-dlp-2021.11.10.1.tar.gz) = 2042241 bytes
+SHA1 (patch-yt__dlp_postprocessor_ffmpeg.py) = 11ebc3adf3bfbc76853f74d1abb865b7749c3b34
diff -r 799a878b36fa -r cc65a7c0f422 net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py
--- a/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py Sun Nov 14 12:51:09 2021 +0000
+++ b/net/yt-dlp/patches/patch-yt__dlp_postprocessor_ffmpeg.py Sun Nov 14 14:41:11 2021 +0000
@@ -1,32 +1,32 @@
-$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.1 2021/11/09 09:53:43 ryoon Exp $
+$NetBSD: patch-yt__dlp_postprocessor_ffmpeg.py,v 1.2 2021/11/14 14:41:11 ryoon 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 2021-10-22 20:47:09.000000000 +0000
+--- yt_dlp/postprocessor/ffmpeg.py.orig 2021-11-10 01:47:00.000000000 +0000
+++ yt_dlp/postprocessor/ffmpeg.py
-@@ -78,7 +78,7 @@ class FFmpegPostProcessor(PostProcessor)
- return FFmpegPostProcessor(downloader)._versions
+@@ -85,7 +85,7 @@ class FFmpegPostProcessor(PostProcessor)
+ return FFmpegPostProcessor.get_version_and_features(downloader)[0]
def _determine_executables(self):
- programs = ['avprobe', 'avconv', 'ffmpeg', 'ffprobe']
+ programs = ['avprobe', 'avconv', 'ffmpeg', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2']
- prefer_ffmpeg = True
- def get_ffmpeg_version(path):
-@@ -116,7 +116,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', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
- prefer_ffmpeg = True
+ def get_ffmpeg_version(path, prog):
+ out = _get_exe_version_output(path, ['-bsfs'])
+@@ -135,7 +135,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', 'ffmpeg4', 'ffmpeg3', 'ffmpeg2', 'ffprobe', 'ffprobe4', 'ffprobe3', 'ffprobe2'):
+ prefer_ffmpeg = True
- self._paths = dict(
-@@ -131,18 +131,18 @@ class FFmpegPostProcessor(PostProcessor)
- self._paths = dict((p, p) for p in programs)
+ self._paths = dict(
+@@ -148,18 +148,18 @@ class FFmpegPostProcessor(PostProcessor)
+ get_ffmpeg_version(self._paths[p], p)
if prefer_ffmpeg is False:
- prefs = ('avconv', 'ffmpeg')
Home |
Main Index |
Thread Index |
Old Index