Hello community,

here is the log from the commit of package youtube-dl for openSUSE:Factory 
checked in at 2020-07-28 17:27:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/youtube-dl (Old)
 and      /work/SRC/openSUSE:Factory/.youtube-dl.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "youtube-dl"

Tue Jul 28 17:27:21 2020 rev:136 rq:823123 version:2020.07.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/youtube-dl/youtube-dl.changes    2020-06-28 
23:08:51.763364091 +0200
+++ /work/SRC/openSUSE:Factory/.youtube-dl.new.3592/youtube-dl.changes  
2020-07-28 17:28:56.194149683 +0200
@@ -1,0 +2,12 @@
+Tue Jul 28 08:43:35 UTC 2020 - Paolo Stivanin <[email protected]>
+
+- Update to release 2020.07.28
+  * [youtube] Fix sigfunc name extraction
+  * [youtube] Improve description extraction 
+  * [wistia] Restrict embed regular expression
+  * [youtube] Prevent excess HTTP 301 
+  * [youtube:playlists] Extend URL regular expression
+  * [bellmedia] Add support for cp24.com clip URLs 
+  * [brightcove] Improve embed detection
+
+-------------------------------------------------------------------

Old:
----
  youtube-dl-2020.06.16.1.tar.gz
  youtube-dl-2020.06.16.1.tar.gz.sig

New:
----
  youtube-dl-2020.07.28.tar.gz
  youtube-dl-2020.07.28.tar.gz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-youtube-dl.spec ++++++
--- /var/tmp/diff_new_pack.P1lJoP/_old  2020-07-28 17:28:58.098151843 +0200
+++ /var/tmp/diff_new_pack.P1lJoP/_new  2020-07-28 17:28:58.102151848 +0200
@@ -19,7 +19,7 @@
 %define modname youtube-dl
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-youtube-dl
-Version:        2020.06.16.1
+Version:        2020.07.28
 Release:        0
 Summary:        A Python module for downloading from video sites for offline 
watching
 License:        SUSE-Public-Domain AND CC-BY-SA-3.0

++++++ youtube-dl.spec ++++++
--- /var/tmp/diff_new_pack.P1lJoP/_old  2020-07-28 17:28:58.122151870 +0200
+++ /var/tmp/diff_new_pack.P1lJoP/_new  2020-07-28 17:28:58.126151875 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           youtube-dl
-Version:        2020.06.16.1
+Version:        2020.07.28
 Release:        0
 Summary:        A tool for downloading from video sites for offline watching
 License:        SUSE-Public-Domain AND CC-BY-SA-3.0

++++++ youtube-dl-2020.06.16.1.tar.gz -> youtube-dl-2020.07.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/ChangeLog new/youtube-dl/ChangeLog
--- old/youtube-dl/ChangeLog    2020-06-16 01:21:58.000000000 +0200
+++ new/youtube-dl/ChangeLog    2020-07-28 00:12:58.000000000 +0200
@@ -1,3 +1,15 @@
+version 2020.07.28
+
+Extractors
+* [youtube] Fix sigfunc name extraction (#26134, #26135, #26136, #26137)
+* [youtube] Improve description extraction (#25937, #25980)
+* [wistia] Restrict embed regular expression (#25969)
+* [youtube] Prevent excess HTTP 301 (#25786)
++ [youtube:playlists] Extend URL regular expression (#25810)
++ [bellmedia] Add support for cp24.com clip URLs (#25764)
+* [brightcove] Improve embed detection (#25674)
+
+
 version 2020.06.16.1
 
 Extractors
Binary files old/youtube-dl/youtube-dl and new/youtube-dl/youtube-dl differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/youtube_dl/extractor/bellmedia.py 
new/youtube-dl/youtube_dl/extractor/bellmedia.py
--- old/youtube-dl/youtube_dl/extractor/bellmedia.py    2020-06-16 
01:21:45.000000000 +0200
+++ new/youtube-dl/youtube_dl/extractor/bellmedia.py    2020-07-28 
00:11:27.000000000 +0200
@@ -25,8 +25,8 @@
                 etalk|
                 marilyn
             )\.ca|
-            much\.com
-        )/.*?(?:\bvid(?:eoid)?=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6,})'''
+            (?:much|cp24)\.com
+        
)/.*?(?:\b(?:vid(?:eoid)?|clipId)=|-vid|~|%7E|/(?:episode)?)(?P<id>[0-9]{6,})'''
     _TESTS = [{
         'url': 
'https://www.bnnbloomberg.ca/video/david-cockfield-s-top-picks~1403070',
         'md5': '36d3ef559cfe8af8efe15922cd3ce950',
@@ -62,6 +62,9 @@
     }, {
         'url': 'http://www.etalk.ca/video?videoid=663455',
         'only_matching': True,
+    }, {
+        'url': 'https://www.cp24.com/video?clipId=1982548',
+        'only_matching': True,
     }]
     _DOMAINS = {
         'thecomedynetwork': 'comedy',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/youtube_dl/extractor/brightcove.py 
new/youtube-dl/youtube_dl/extractor/brightcove.py
--- old/youtube-dl/youtube_dl/extractor/brightcove.py   2020-06-16 
01:21:45.000000000 +0200
+++ new/youtube-dl/youtube_dl/extractor/brightcove.py   2020-07-28 
00:11:27.000000000 +0200
@@ -426,7 +426,7 @@
         # [2] looks like:
         for video, script_tag, account_id, player_id, embed in re.findall(
                 r'''(?isx)
-                    (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
+                    (<video(?:-js)?\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
                     (?:.*?
                         (<script[^>]+
                             src=["\'](?:https?:)?//players\.brightcove\.net/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/youtube_dl/extractor/wistia.py 
new/youtube-dl/youtube_dl/extractor/wistia.py
--- old/youtube-dl/youtube_dl/extractor/wistia.py       2020-06-16 
01:21:45.000000000 +0200
+++ new/youtube-dl/youtube_dl/extractor/wistia.py       2020-07-28 
00:11:27.000000000 +0200
@@ -56,7 +56,7 @@
             urls.append(unescapeHTML(match.group('url')))
         for match in re.finditer(
                 r'''(?sx)
-                    
<div[^>]+class=(["']).*?\bwistia_async_(?P<id>[a-z0-9]{10})\b.*?\2
+                    
<div[^>]+class=(["'])(?:(?!\1).)*?\bwistia_async_(?P<id>[a-z0-9]{10})\b(?:(?!\1).)*?\1
                 ''', webpage):
             urls.append('wistia:%s' % match.group('id'))
         for match in 
re.finditer(r'(?:data-wistia-?id=["\']|Wistia\.embed\(["\']|id=["\']wistia_)(?P<id>[a-z0-9]{10})',
 webpage):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/youtube_dl/extractor/youtube.py 
new/youtube-dl/youtube_dl/extractor/youtube.py
--- old/youtube-dl/youtube_dl/extractor/youtube.py      2020-06-16 
01:21:45.000000000 +0200
+++ new/youtube-dl/youtube_dl/extractor/youtube.py      2020-07-28 
00:11:27.000000000 +0200
@@ -303,7 +303,7 @@
                     # Downloading page may result in intermittent 5xx HTTP 
error
                     # that is usually worked around with a retry
                     more = self._download_json(
-                        'https://youtube.com/%s' % mobj.group('more'), 
playlist_id,
+                        'https://www.youtube.com/%s' % mobj.group('more'), 
playlist_id,
                         'Downloading page #%s%s'
                         % (page_num, ' (retry #%d)' % count if count else ''),
                         transform_source=uppercase_escape,
@@ -1384,7 +1384,7 @@
         funcname = self._search_regex(
             
(r'\b[cs]\s*&&\s*[adf]\.set\([^,]+\s*,\s*encodeURIComponent\s*\(\s*(?P<sig>[a-zA-Z0-9$]+)\(',
              
r'\b[a-zA-Z0-9]+\s*&&\s*[a-zA-Z0-9]+\.set\([^,]+\s*,\s*encodeURIComponent\s*\(\s*(?P<sig>[a-zA-Z0-9$]+)\(',
-             
r'\b(?P<sig>[a-zA-Z0-9$]{2})\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
+             
r'(?:\b|[^a-zA-Z0-9$])(?P<sig>[a-zA-Z0-9$]{2})\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
              
r'(?P<sig>[a-zA-Z0-9$]+)\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
              # Obsolete patterns
              r'(["\'])signature\1\s*,\s*(?P<sig>[a-zA-Z0-9$]+)\(',
@@ -1930,7 +1930,7 @@
             ''', replace_url, video_description)
             video_description = clean_html(video_description)
         else:
-            video_description = self._html_search_meta('description', 
video_webpage) or video_details.get('shortDescription')
+            video_description = video_details.get('shortDescription') or 
self._html_search_meta('description', video_webpage)
 
         if not smuggled_data.get('force_singlefeed', False):
             if not self._downloader.params.get('noplaylist'):
@@ -2776,7 +2776,7 @@
         ids = []
         last_id = playlist_id[-11:]
         for n in itertools.count(1):
-            url = 'https://youtube.com/watch?v=%s&list=%s' % (last_id, 
playlist_id)
+            url = 'https://www.youtube.com/watch?v=%s&list=%s' % (last_id, 
playlist_id)
             webpage = self._download_webpage(
                 url, playlist_id, 'Downloading page {0} of Youtube 
mix'.format(n))
             new_ids = orderedSet(re.findall(
@@ -3116,7 +3116,7 @@
 
 class YoutubePlaylistsIE(YoutubePlaylistsBaseInfoExtractor):
     IE_DESC = 'YouTube.com user/channel playlists'
-    _VALID_URL = 
r'https?://(?:\w+\.)?youtube\.com/(?:user|channel)/(?P<id>[^/]+)/playlists'
+    _VALID_URL = 
r'https?://(?:\w+\.)?youtube\.com/(?:user|channel|c)/(?P<id>[^/]+)/playlists'
     IE_NAME = 'youtube:playlists'
 
     _TESTS = [{
@@ -3142,6 +3142,9 @@
             'title': 'Chem Player',
         },
         'skip': 'Blocked',
+    }, {
+        'url': 'https://www.youtube.com/c/ChristophLaimer/playlists',
+        'only_matching': True,
     }]
 
 
@@ -3286,7 +3289,7 @@
                 break
 
             more = self._download_json(
-                'https://youtube.com/%s' % mobj.group('more'), 
self._PLAYLIST_TITLE,
+                'https://www.youtube.com/%s' % mobj.group('more'), 
self._PLAYLIST_TITLE,
                 'Downloading page #%s' % page_num,
                 transform_source=uppercase_escape,
                 headers=self._YOUTUBE_CLIENT_HEADERS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/youtube-dl/youtube_dl/version.py 
new/youtube-dl/youtube_dl/version.py
--- old/youtube-dl/youtube_dl/version.py        2020-06-16 01:21:58.000000000 
+0200
+++ new/youtube-dl/youtube_dl/version.py        2020-07-28 00:12:58.000000000 
+0200
@@ -1,3 +1,3 @@
 from __future__ import unicode_literals
 
-__version__ = '2020.06.16.1'
+__version__ = '2020.07.28'


Reply via email to