diff options
author | leot <leot@pkgsrc.org> | 2020-03-23 20:32:23 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2020-03-23 20:32:23 +0000 |
commit | 4cc18e8f307082be3f8e87840d876d5a043372f7 (patch) | |
tree | fe68337a5ce7852e3bf88d480829aad78015f147 /net/youtube-dl | |
parent | 37b20c2ae40f082bda0f91b6f2f52d211ccd71f8 (diff) | |
download | pkgsrc-4cc18e8f307082be3f8e87840d876d5a043372f7.tar.gz |
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 (limited to 'net/youtube-dl')
-rw-r--r-- | net/youtube-dl/Makefile | 4 | ||||
-rw-r--r-- | net/youtube-dl/distinfo | 12 | ||||
-rw-r--r-- | net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py | 50 |
3 files changed, 34 insertions, 32 deletions
diff --git a/net/youtube-dl/Makefile b/net/youtube-dl/Makefile index bbad20ae502..ad8f1f34615 100644 --- a/net/youtube-dl/Makefile +++ b/net/youtube-dl/Makefile @@ -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 --git a/net/youtube-dl/distinfo b/net/youtube-dl/distinfo index 2299ffc0c46..c5566115eb3 100644 --- a/net/youtube-dl/distinfo +++ b/net/youtube-dl/distinfo @@ -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 --git a/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py b/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py index 5b2c0f60b28..e72e03bdd8d 100644 --- a/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py +++ b/net/youtube-dl/patches/patch-youtube__dl_extractor_la7.py @@ -1,18 +1,18 @@ -$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. -Closes #23323. - -Shared upstream via: +Thanks to Elia Geretto for spotting and suggesting several problems with the +tests! - <https://github.com/ytdl-org/youtube-dl/pull/23641> +Closes #23323. --- youtube_dl/extractor/la7.py.orig +++ youtube_dl/extractor/la7.py @@ -24,28 +24,30 @@ Shared upstream via: 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', + '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', -+ '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) |