pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/youtube-dl youtube-dl: Update to 20201101.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d6f9223ba25
branches:  trunk
changeset: 441346:2d6f9223ba25
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Nov 01 18:38:59 2020 +0000

description:
youtube-dl: Update to 20201101.1

Changes:
20201101.1
----------
Core
* [utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851)
* [downloader/http] Properly handle missing message in SSLError (#26646)
* [downloader/http] Fix access to not yet opened stream in retry

Extractors
* [youtube] Fix JS player URL extraction
* [ytsearch] Fix extraction (#26920)
* [afreecatv] Fix typo (#26970)
* [23video] Relax URL regular expression (#26870)
+ [ustream] Add support for video.ibm.com (#26894)
* [iqiyi] Fix typo (#26884)
+ [expressen] Add support for di.se (#26670)
* [iprima] Improve video id extraction (#26507, #26494)

diffstat:

 net/youtube-dl/Makefile                                       |   5 +-
 net/youtube-dl/distinfo                                       |  11 ++---
 net/youtube-dl/patches/patch-youtube__dl_extractor_youtube.py |  19 -----------
 3 files changed, 7 insertions(+), 28 deletions(-)

diffs (61 lines):

diff -r d96793c1ccea -r 2d6f9223ba25 net/youtube-dl/Makefile
--- a/net/youtube-dl/Makefile   Sun Nov 01 16:48:49 2020 +0000
+++ b/net/youtube-dl/Makefile   Sun Nov 01 18:38:59 2020 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.216 2020/11/01 12:14:48 leot Exp $
+# $NetBSD: Makefile,v 1.217 2020/11/01 18:38:59 leot Exp $
 
 # XXX: VERSION_DATE can contains also an optional part that indicates
 # XXX: possible same day revisions. PKGNAME preserves that dotted part as is.
-VERSION_DATE=  2020.09.20
+VERSION_DATE=  2020.11.01.1
 DISTNAME=      youtube-dl-${VERSION_DATE}
 PKGNAME=       ${DISTNAME:S/.//:S/.//}
-PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  https://youtube-dl.org/downloads/${VERSION_DATE}/
 
diff -r d96793c1ccea -r 2d6f9223ba25 net/youtube-dl/distinfo
--- a/net/youtube-dl/distinfo   Sun Nov 01 16:48:49 2020 +0000
+++ b/net/youtube-dl/distinfo   Sun Nov 01 18:38:59 2020 +0000
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.198 2020/11/01 12:14:48 leot Exp $
+$NetBSD: distinfo,v 1.199 2020/11/01 18:38:59 leot Exp $
 
-SHA1 (youtube-dl-2020.09.20.tar.gz) = 2902fa18c30cc3851d5b7fc2932f3f986432b9ac
-RMD160 (youtube-dl-2020.09.20.tar.gz) = 107732952ec9238057a1bfc3fd7147ce4026f451
-SHA512 (youtube-dl-2020.09.20.tar.gz) = ed511016d0cfcbbee0cd651f793cb31cdb46d80243f86186de1cc54cb2a2055fae2f5cc3e16f838fc2ba47f3ff6f3b484219c8a707904fbc30193a2b28a1e30c
-Size (youtube-dl-2020.09.20.tar.gz) = 3188480 bytes
+SHA1 (youtube-dl-2020.11.01.1.tar.gz) = dcca4795a77713b7ba56dec95df6e34544601a3b
+RMD160 (youtube-dl-2020.11.01.1.tar.gz) = 55dd100d3f2204a11e0cedd3e1700d58804ad484
+SHA512 (youtube-dl-2020.11.01.1.tar.gz) = 2c84305a71776808797a651e22690a396c1bd4c922ab6f15b086516b836aa6ac3acf5b08f556567b11f470c0d972adbf67fb110dc34ccfc5c0897e576e42ebab
+Size (youtube-dl-2020.11.01.1.tar.gz) = 3190146 bytes
 SHA1 (patch-setup.py) = a67074ae7cfe5e77847c2f610337ea553eddb69b
 SHA1 (patch-youtube__dl_extractor_bandcamp.py) = 81855a3f4f8c03f61fe543eb339c0e67bf52682e
 SHA1 (patch-youtube__dl_extractor_la7.py) = e246750808305343227060acdc5a38583ef071e9
 SHA1 (patch-youtube__dl_extractor_rai.py) = 3dbad7852b38e7364a248a5c9851c50cd2ff9b38
-SHA1 (patch-youtube__dl_extractor_youtube.py) = e056cbffa3b99dbeddbbf3e32f14a53513d97b64
 SHA1 (patch-youtube__dl_postprocessor_ffmpeg.py) = f96676170a448d9205d542a7def4beca615a1490
diff -r d96793c1ccea -r 2d6f9223ba25 net/youtube-dl/patches/patch-youtube__dl_extractor_youtube.py
--- a/net/youtube-dl/patches/patch-youtube__dl_extractor_youtube.py     Sun Nov 01 16:48:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-youtube__dl_extractor_youtube.py,v 1.1 2020/11/01 12:14:48 leot Exp $
-
-Update JS player URL to current one.
-
-Via:
-
- https://github.com/blackjack4494/yt-dlc/pull/35
-
---- youtube_dl/extractor/youtube.py.orig       2020-09-20 05:29:46.000000000 +0000
-+++ youtube_dl/extractor/youtube.py
-@@ -2086,7 +2086,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor
- 
-                 if cipher:
-                     if 's' in url_data or self._downloader.params.get('youtube_include_dash_manifest', True):
--                        ASSETS_RE = r'"assets":.+?"js":\s*("[^"]+")'
-+                        ASSETS_RE = r'(?:"assets":.+?"js":\s*("[^"]+"))|(?:"jsUrl":\s*("[^"]+"))'
-                         jsplayer_url_json = self._search_regex(
-                             ASSETS_RE,
-                             embed_webpage if age_gate else video_webpage,



Home | Main Index | Thread Index | Old Index