Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package youtube-dl for openSUSE:Factory checked in at 2023-02-23 16:30:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/youtube-dl (Old) and /work/SRC/openSUSE:Factory/.youtube-dl.new.1706 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "youtube-dl" Thu Feb 23 16:30:25 2023 rev:175 rq:1067344 version:2021.12.17 Changes: -------- --- /work/SRC/openSUSE:Factory/youtube-dl/youtube-dl.changes 2022-04-08 00:28:41.681664412 +0200 +++ /work/SRC/openSUSE:Factory/.youtube-dl.new.1706/youtube-dl.changes 2023-02-23 16:54:05.505374301 +0100 @@ -1,0 +2,7 @@ +Thu Feb 23 09:08:08 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Add fix-uploader-id-extraction.patch to fix uploader_id + extraction regexp (gh#ytdl-org/youtube-dl#31530, patch from + gh#yt-dlp/yt-dlp@149eb0bbf34f). + +------------------------------------------------------------------- New: ---- fix-uploader-id-extraction.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-youtube-dl.spec ++++++ --- /var/tmp/diff_new_pack.TlaaU6/_old 2023-02-23 16:54:06.177378198 +0100 +++ /var/tmp/diff_new_pack.TlaaU6/_new 2023-02-23 16:54:06.181378221 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-youtube-dl # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ youtube-dl.spec ++++++ --- /var/tmp/diff_new_pack.TlaaU6/_old 2023-02-23 16:54:06.205378360 +0100 +++ /var/tmp/diff_new_pack.TlaaU6/_new 2023-02-23 16:54:06.213378406 +0100 @@ -1,7 +1,7 @@ # # spec file for package youtube-dl # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,6 +38,10 @@ # PATCH-FEATURE-OPENSUSE no-pandoc-32bit.patch mc...@suse.com # 32bit architectures don't have pandoc Patch1: no-pandoc-32bit.patch +# PATCH-FIX-UPSTREAM fix-uploader-id-extraction.patch gh#ytdl-org/youtube-dl#31530 mc...@suse.com +# Patch from gh#yt-dlp/yt-dlp@149eb0bbf34f +# Fix uploader_id extraction regexp +Patch2: fix-uploader-id-extraction.patch BuildRequires: make >= 4 BuildRequires: python3-devel BuildRequires: python3-xml ++++++ fix-uploader-id-extraction.patch ++++++ >From 149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b Mon Sep 17 00:00:00 2001 From: bashonly <basho...@bashonly.com> Date: Thu, 16 Feb 2023 08:51:45 -0600 Subject: [PATCH] [extractor/youtube] Fix `uploader_id` extraction Closes #6247 Authored by: bashonly --- youtube_dl/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1791,7 +1791,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor microformat.get('uploadDate') or search_meta('uploadDate')), 'uploader': video_details['author'], - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, + 'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None), 'uploader_url': owner_profile_url, 'channel_id': channel_id, 'channel_url': 'https://www.youtube.com/channel/' + channel_id if channel_id else None,