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 20200324
details: https://anonhg.NetBSD.org/pkgsrc/rev/11a8eb190be5
branches: trunk
changeset: 425811:11a8eb190be5
user: leot <leot%pkgsrc.org@localhost>
date: Mon Mar 23 20:32:23 2020 +0000
description:
youtube-dl: Update to 20200324
pkgsrc changes:
- Update patch-youtube__dl_extractor_la7.py tests with the version shared
upstream. Thanks to Elia Geretto!
Changes:
20200324
--------
Core
- [utils] Revert support for cookie files with spaces used instead of tabs
Extractors
* [teachable] Update upskillcourses and gns3 domains
* [generic] Look for teachable embeds before wistia
+ [teachable] Extract chapter metadata (#24421)
+ [bilibili] Add support for player.bilibili.com (#24402)
+ [bilibili] Add support for new URL schema with BV ids (#24439, #24442)
* [limelight] Remove disabled API requests (#24255)
* [soundcloud] Fix download URL extraction (#24394)
+ [cbc:watch] Add support for authentication (#19160)
* [hellporno] Fix extraction (#24399)
* [xtube] Fix formats extraction (#24348)
* [ndr] Fix extraction (#24326)
* [nhk] Update m3u8 URL and use native HLS downloader (#24329)
- [nhk] Remove obsolete rtmp formats (#24329)
* [nhk] Relax URL regular expression (#24329)
- [vimeo] Revert fix showcase password protected video extraction (#24224)
diffstat:
net/youtube-dl/Makefile | 4 +-
net/youtube-dl/distinfo | 12 +-
net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py | 50 +++++++-------
3 files changed, 34 insertions(+), 32 deletions(-)
diffs (112 lines):
diff -r 92fdd4b7fbf2 -r 11a8eb190be5 net/youtube-dl/Makefile
--- a/net/youtube-dl/Makefile Mon Mar 23 20:07:29 2020 +0000
+++ b/net/youtube-dl/Makefile Mon Mar 23 20:32:23 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.203 2020/03/08 11:48:03 leot Exp $
+# $NetBSD: Makefile,v 1.204 2020/03/23 20:32:23 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.03.08
+VERSION_DATE= 2020.03.24
DISTNAME= youtube-dl-${VERSION_DATE}
PKGNAME= ${DISTNAME:S/.//:S/.//}
CATEGORIES= net
diff -r 92fdd4b7fbf2 -r 11a8eb190be5 net/youtube-dl/distinfo
--- a/net/youtube-dl/distinfo Mon Mar 23 20:07:29 2020 +0000
+++ b/net/youtube-dl/distinfo Mon Mar 23 20:32:23 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.185 2020/03/08 11:48:03 leot Exp $
+$NetBSD: distinfo,v 1.186 2020/03/23 20:32:23 leot Exp $
-SHA1 (youtube-dl-2020.03.08.tar.gz) = 80517f18c9d3e1d1bc06584cda835183f1cc85a4
-RMD160 (youtube-dl-2020.03.08.tar.gz) = 83fd943ff94d27aad5d177b121cccfe53da3e11f
-SHA512 (youtube-dl-2020.03.08.tar.gz) = 09636e3ec526dbcb043cf61ed4dda5c5c00fac2ecd741bf3cb338ca8de72d1395a95a6189bccced140ca1c37eb3f693332e757ff01eb1a25279b100ccdf39b65
-Size (youtube-dl-2020.03.08.tar.gz) = 3164037 bytes
+SHA1 (youtube-dl-2020.03.24.tar.gz) = 888324814bf5fe6144ac55e044ff5a6f1eaf1d5a
+RMD160 (youtube-dl-2020.03.24.tar.gz) = 9c6028fbc1db93b931e8bd9a4382a11077896d70
+SHA512 (youtube-dl-2020.03.24.tar.gz) = 421c0ae412977cdf94d079aa7982360ffdfc4271bb7af27a598adbdb8454c2044e5c44ff3a9f339e9b0989c1264223ca83bba6a9151d01052f8f72c076d9e369
+Size (youtube-dl-2020.03.24.tar.gz) = 3165706 bytes
SHA1 (patch-setup.py) = a67074ae7cfe5e77847c2f610337ea553eddb69b
-SHA1 (patch-youtube__dl_extractor_la7.py) = d104c32abb21f9dfe982c0f42e049aeff0f50d67
+SHA1 (patch-youtube__dl_extractor_la7.py) = e246750808305343227060acdc5a38583ef071e9
SHA1 (patch-youtube__dl_extractor_rai.py) = ae67a6fb599c90491fd68b72bf71821659a2eca4
SHA1 (patch-youtube__dl_postprocessor_ffmpeg.py) = f96676170a448d9205d542a7def4beca615a1490
diff -r 92fdd4b7fbf2 -r 11a8eb190be5 net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py
--- a/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py Mon Mar 23 20:07:29 2020 +0000
+++ b/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py Mon Mar 23 20:32:23 2020 +0000
@@ -1,19 +1,19 @@
-$NetBSD: patch-youtube__dl_extractor_la7.py,v 1.1 2020/01/15 08:22:03 leot Exp $
+$NetBSD: patch-youtube__dl_extractor_la7.py,v 1.2 2020/03/23 20:32:23 leot Exp $
-[la7] Fix extraction
+[la7] Fix extraction (closes #23323)
Parsing `videoParams' or `videoLa7' JavaScript snippets as JSON is getting too
-for js_to_json. Just extract the `vid' from there and use _search_og_* for all
-other data.
+hard for js_to_json. Just extract the `vid' from there and use _search_og_*
+for all other data.
-Update 2nd test with an existent video.
+Remove the 2nd test: unfortunately the page are removed after a couple of
+days/weeks.
+
+Thanks to Elia Geretto for spotting and suggesting several problems with the
+tests!
Closes #23323.
-Shared upstream via:
-
- <https://github.com/ytdl-org/youtube-dl/pull/23641>
-
--- youtube_dl/extractor/la7.py.orig
+++ youtube_dl/extractor/la7.py
@@ -3,7 +3,6 @@ from __future__ import unicode_literals
@@ -24,28 +24,30 @@
smuggle_url,
)
-@@ -31,12 +30,16 @@ class LA7IE(InfoExtractor):
+@@ -23,21 +22,12 @@ class LA7IE(InfoExtractor):
+ 'id': '0_42j6wd36',
+ 'ext': 'mp4',
+ 'title': 'Inc.Cool8',
+- 'description': 'Benvenuti nell\'incredibile mondo della INC. COOL. 8. dove â??INC.â?? sta per â??Incorporatedâ?? â??COOLâ?? sta per â??fashionâ?? ed Eight sta per il gesto atletico',
++ 'description': 'Benvenuti nell\'incredibile mondo della INC. COOL. 8. dove â??INC.â?? sta per â??Incorporatedâ?? â??COOLâ?? sta per â??fashionâ?? ed Eight sta per il gesto atletico',
+ 'thumbnail': 're:^https?://.*',
+ 'uploader_id': 'kdla7pillole%iltrovatore.it@localhost',
+ 'timestamp': 1443814869,
+ 'upload_date': '20151002',
},
- }, {
- # 'src' is a dictionary
+- }, {
+- # 'src' is a dictionary
- 'url': 'http://tg.la7.it/repliche-tgla7?id=189080',
- 'md5': '6b0d8888d286e39870208dfeceaf456b',
-+ 'url': 'http://tg.la7.it/repliche-tgla7?id=300465',
-+ 'md5': '9440057f4531005c426421487770b756',
- 'info_dict': {
+- 'info_dict': {
- 'id': '189080',
-+ 'id': '0_i2fn53i6',
- 'ext': 'mp4',
+- 'ext': 'mp4',
- 'title': 'TG LA7',
-+ 'title': 'Repliche Tgla7',
-+ 'description': 'Repliche Tgla7',
-+ 'uploader_id': 'kdla7pillole%iltrovatore.it@localhost',
-+ 'timestamp': 1578231030,
-+ 'upload_date': '20200105',
- },
+- },
}, {
'url': 'http://www.la7.it/omnibus/rivedila7/omnibus-news-02-07-2016-189077',
-@@ -48,20 +51,19 @@ class LA7IE(InfoExtractor):
+ 'only_matching': True,
+@@ -48,20 +38,19 @@ class LA7IE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
Home |
Main Index |
Thread Index |
Old Index