Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sacad for openSUSE:Factory checked in at 2023-10-25 18:03:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sacad (Old) and /work/SRC/openSUSE:Factory/.sacad.new.24901 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sacad" Wed Oct 25 18:03:52 2023 rev:11 rq:1120180 version:2.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/sacad/sacad.changes 2023-03-06 18:55:44.964725341 +0100 +++ /work/SRC/openSUSE:Factory/.sacad.new.24901/sacad.changes 2023-10-25 18:04:42.974263997 +0200 @@ -1,0 +2,6 @@ +Wed Oct 25 05:04:37 UTC 2023 - ming li <m...@suse.com> + +- update to 2.7.5: + * fix workaround Amazon sources 503 error + +------------------------------------------------------------------- Old: ---- sacad-2.7.4.tar.gz New: ---- sacad-2.7.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sacad.spec ++++++ --- /var/tmp/diff_new_pack.XQRwMz/_old 2023-10-25 18:04:43.518282294 +0200 +++ /var/tmp/diff_new_pack.XQRwMz/_new 2023-10-25 18:04:43.522282428 +0200 @@ -17,7 +17,7 @@ Name: sacad -Version: 2.7.4 +Version: 2.7.5 Release: 0 Summary: Search and download music album covers License: MPL-2.0 ++++++ sacad-2.7.4.tar.gz -> sacad-2.7.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sacad-2.7.4/sacad/__init__.py new/sacad-2.7.5/sacad/__init__.py --- old/sacad-2.7.4/sacad/__init__.py 2023-02-19 14:32:27.000000000 +0100 +++ new/sacad-2.7.5/sacad/__init__.py 2023-06-13 22:55:01.000000000 +0200 @@ -2,7 +2,7 @@ """ Smart Automatic Cover Art Downloader : search and download music album covers. """ -__version__ = "2.7.4" +__version__ = "2.7.5" __author__ = "desbma" __license__ = "MPL 2.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sacad-2.7.4/sacad/sources/amazonbase.py new/sacad-2.7.5/sacad/sources/amazonbase.py --- old/sacad-2.7.4/sacad/sources/amazonbase.py 2023-02-19 14:32:27.000000000 +0100 +++ new/sacad-2.7.5/sacad/sources/amazonbase.py 2023-06-13 22:55:01.000000000 +0200 @@ -22,18 +22,6 @@ """See CoverSource.processQueryString.""" return __class__.unaccentuate(__class__.unpunctuate(s.lower())) - def updateHttpHeaders(self, headers): - """See CoverSource.updateHttpHeaders.""" - # mimic Firefox headers - headers["User-Agent"] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:110.0) Gecko/20100101 Firefox/110.0" - headers["Accept"] = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" - headers["Accept-Language"] = "en-US,en;q=0.9" - headers["DNT"] = "1" - headers["Connection"] = "Keep-Alive" - headers["Upgrade-Insecure-Requests"] = "1" - headers["Cache-Control"] = "max-age=0" - headers["TE"] = "Trailers" - def isBlocked(self, html): """Return True if Amazon source has blocked our IP (temporarily), and is sending a captcha.""" blocked_titles = ("Robot Check", "Bot Check", "Amazon CAPTCHA")