diff --git a/addon.xml b/addon.xml index 00af4fd..071e33b 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/changelog.txt b/changelog.txt index 2a77a36..417c576 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,10 @@ CHANGE HISTORY Kodi-Addon-FlickrExplorer Releases: https://github.com/rols1/Kodi-Addon-FlickrExplorer/releases -------------- +26.09.2021 0.7.4 RequestUrl: ssl.SSLContext(ssl.PROTOCOL_TLSv1) changed to + ssl.create_default_context() for security reasons. + RequestUrl: UrlopenTimeout changed from 3 to 10 (sec). + 15.10.2020 0.7.3 ShowPhotoObject: for albums-lists api-call photos.getSizes added to get the sizes-list for every photo in the loop. If no Original-mark is found, the addon takes the last list-entry (ascending sorted). diff --git a/flickrexplorer.py b/flickrexplorer.py index b82786d..710b656 100644 --- a/flickrexplorer.py +++ b/flickrexplorer.py @@ -56,8 +56,8 @@ # +++++ FlickrExplorer - Addon Kodi-Version, migriert von der Plexmediaserver-Version +++++ -VERSION = '0.7.3' -VDATE = '15.10.2020' +VERSION = '0.7.4' +VDATE = '26.09.2021' # # diff --git a/resources/lib/util_flickr.py b/resources/lib/util_flickr.py index 12c0c54..38426b0 100644 --- a/resources/lib/util_flickr.py +++ b/resources/lib/util_flickr.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # util_flickr.py # -# Stand: 23.09.2020 +# Stand: 26.09.2021 # Python3-Kompatibilität: from __future__ import absolute_import @@ -768,7 +768,7 @@ def L(string): # def RequestUrl(CallerName, url): PLog('RequestUrl: ' + url) - UrlopenTimeout = 3 # Timeout sec + UrlopenTimeout = 10 # Timeout sec msg='' loc = Dict('load', 'loc') # Bsp. fr, loc_browser nicht benötigt @@ -783,7 +783,7 @@ def RequestUrl(CallerName, url): req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.3') req.add_header('Accept-Language', '%s, en;q=0.9, %s;q=0.7' % (loc, loc)) - gcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1) + gcontext = ssl.create_default_context() gcontext.check_hostname = False gcontext.verify_mode = ssl.CERT_NONE ret = urlopen(req, context=gcontext, timeout=UrlopenTimeout)