Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package you-get for openSUSE:Factory checked 
in at 2021-08-16 10:11:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/you-get (Old)
 and      /work/SRC/openSUSE:Factory/.you-get.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "you-get"

Mon Aug 16 10:11:53 2021 rev:40 rq:912244 version:0.4.1545

Changes:
--------
--- /work/SRC/openSUSE:Factory/you-get/you-get.changes  2021-07-12 
01:25:34.452983300 +0200
+++ /work/SRC/openSUSE:Factory/.you-get.new.1899/you-get.changes        
2021-08-16 10:18:01.882618752 +0200
@@ -1,0 +2,5 @@
+Sun Aug 15 08:31:04 UTC 2021 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.4.1545 (no changelog)
+
+-------------------------------------------------------------------

Old:
----
  you-get-0.4.1536.tar.gz

New:
----
  you-get-0.4.1545.tar.gz

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

Other differences:
------------------
++++++ you-get.spec ++++++
--- /var/tmp/diff_new_pack.fJkRiF/_old  2021-08-16 10:18:02.294618091 +0200
+++ /var/tmp/diff_new_pack.fJkRiF/_new  2021-08-16 10:18:02.294618091 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           you-get
-Version:        0.4.1536
+Version:        0.4.1545
 Release:        0
 Summary:        Dumb downloader that scrapes the web
 License:        MIT

++++++ you-get-0.4.1536.tar.gz -> you-get-0.4.1545.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/extractors/flickr.py 
new/you-get-0.4.1545/src/you_get/extractors/flickr.py
--- old/you-get-0.4.1536/src/you_get/extractors/flickr.py       2021-07-11 
18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/src/you_get/extractors/flickr.py       2021-08-15 
06:47:09.000000000 +0200
@@ -73,7 +73,7 @@
     match = match1(page, pattern_inline_api_key)
     # this happens only when the url points to a gallery page
     # that contains no inline api_key(and never makes xhr api calls)
-    # in fact this might be a better approch for getting a temporary api key
+    # in fact this might be a better approach for getting a temporary api key
     # since there's no place for a user to add custom information that may
     # misguide the regex in the homepage
     if not match:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/extractors/iwara.py 
new/you-get-0.4.1545/src/you_get/extractors/iwara.py
--- old/you-get-0.4.1536/src/you_get/extractors/iwara.py        2021-07-11 
18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/src/you_get/extractors/iwara.py        2021-08-15 
06:47:09.000000000 +0200
@@ -27,6 +27,9 @@
     api_url = video_url + '/api/video/' + video_hash
     content = get_content(api_url, headers=headers)
     data = json.loads(content)
+    if len(data)<1 :
+        print('Maybe is Private Video?'+'['+title+']')
+        return True;
     down_urls = 'https:' + data[0]['uri']
     type, ext, size = url_info(down_urls, headers=headers)
     print_info(site_info, title+data[0]['resolution'], type, size)
@@ -35,10 +38,8 @@
         download_urls([down_urls], title, ext, size, output_dir, merge=merge, 
headers=headers)
 
 def download_playlist_by_url( url, **kwargs):
-    video_page = get_content(url)
-    # url_first=re.findall(r"(http[s]?://[^/]+)",url)
+    video_page = get_html(url)
     url_first=match1(url, r"(http[s]?://[^/]+)")
-    # print (url_first)
     videos = set(re.findall(r'<a href="(/videos/[^"]+)"', video_page))
     if(len(videos)>0):
         for video in videos:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/extractors/mtv81.py 
new/you-get-0.4.1545/src/you_get/extractors/mtv81.py
--- old/you-get-0.4.1536/src/you_get/extractors/mtv81.py        2021-07-11 
18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/src/you_get/extractors/mtv81.py        2021-08-15 
06:47:09.000000000 +0200
@@ -28,7 +28,7 @@
     #
     # rtmpdump  -r 
'rtmpe://cp30865.edgefcs.net/ondemand/mtviestor/_!/intlod/MTVInternational/MBUS/GeoLocals/00JP/VIAMTVI/PYC/201304/7122HVAQ4/00JPVIAMTVIPYC7122HVAQ4_640x_360_1200_m30.mp4'
 -o "title.mp4" --swfVfy 
http://media.mtvnservices.com/player/prime/mediaplayerprime.1.10.8.swf
     #
-    # because rtmpdump is unstable,may try serveral times
+    # because rtmpdump is unstable,may try several times
     #
     if not info_only:
         # import pdb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/extractors/qingting.py 
new/you-get-0.4.1545/src/you_get/extractors/qingting.py
--- old/you-get-0.4.1536/src/you_get/extractors/qingting.py     2021-07-11 
18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/src/you_get/extractors/qingting.py     2021-08-15 
06:47:09.000000000 +0200
@@ -10,7 +10,7 @@
 
 class Qingting(VideoExtractor):
     # every resource is described by its channel id and program id
-    # so vid is tuple (chaanel_id, program_id)
+    # so vid is tuple (channel_id, program_id)
 
     name = 'Qingting'
     stream_types = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/extractors/youtube.py 
new/you-get-0.4.1545/src/you_get/extractors/youtube.py
--- old/you-get-0.4.1536/src/you_get/extractors/youtube.py      2021-07-11 
18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/src/you_get/extractors/youtube.py      2021-08-15 
06:47:09.000000000 +0200
@@ -77,10 +77,11 @@
         # - https://www.youtube.com/yts/jsbin/player-vflRjqq_w/da_DK/base.js
         # - 
https://www.youtube.com/yts/jsbin/player_ias-vfl-jbnrr/da_DK/base.js
         # - 
https://www.youtube.com/s/player/0b643cd1/player_ias.vflset/sv_SE/base.js
+        # - 
https://www.youtube.com/s/player/50e823fc/player_ias.vflset/sv_SE/base.js
         def tr_js(code):
             code = re.sub(r'function', r'def', code)
             # add prefix '_sig_' to prevent namespace pollution
-            code = re.sub(r'(\W)([$\w][$\w])\(', r'\1_sig_\2(', code)
+            code = re.sub(r'(\W)([$\w][$\w][$\w]?)\(', r'\1_sig_\2(', code)
             code = re.sub(r'\$', '_dollar', code)
             code = re.sub(r'\{', r': ', code)
             code = re.sub(r'\}', r'\n', code)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/src/you_get/version.py 
new/you-get-0.4.1545/src/you_get/version.py
--- old/you-get-0.4.1536/src/you_get/version.py 2021-07-11 18:46:41.000000000 
+0200
+++ new/you-get-0.4.1545/src/you_get/version.py 2021-08-15 06:47:09.000000000 
+0200
@@ -1,4 +1,4 @@
 #!/usr/bin/env python
 
 script_name = 'you-get'
-__version__ = '0.4.1536'
+__version__ = '0.4.1545'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/you-get-0.4.1536/tests/test.py 
new/you-get-0.4.1545/tests/test.py
--- old/you-get-0.4.1536/tests/test.py  2021-07-11 18:46:41.000000000 +0200
+++ new/you-get-0.4.1545/tests/test.py  2021-08-15 06:47:09.000000000 +0200
@@ -40,11 +40,11 @@
     def test_acfun(self):
         acfun.download('https://www.acfun.cn/v/ac11701912', info_only=True)
 
-    def test_soundcloud(self):
+    #def test_soundcloud(self):
         ## single song
-        soundcloud.download(
-            'https://soundcloud.com/keiny-pham/impure-bird', info_only=True
-        )
+        #soundcloud.download(
+        #    'https://soundcloud.com/keiny-pham/impure-bird', info_only=True
+        #)
         ## playlist
         #soundcloud.download(
         #    'https://soundcloud.com/anthony-flieger/sets/cytus', 
info_only=True

Reply via email to