Version 0.11.6

This commit is contained in:
Paco8 committed 2026-04-15 12:25:33 +02:00
1 parent 6aab76c47d
commit 930b238204
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1332,7 +1332,7 @@ class Movistar(object):
shutil.copyfile(self.cache.config_directory + 'credentials.json', filename)
def delete_session_files(self):
for f in ['access_token.conf', 'account.json', 'device_id.conf', 'devices.json', 'profile_id.conf', 'tokens.json', 'channels2.json', 'channels_UHD.json', 'channels_HD.json', 'epg2.json', 'epg_UHD.json', 'epg_HD.json']:
for f in ['access_token.conf', 'account.json', 'device_id.conf', 'devices.json', 'profile_id.conf', 'tokens.json', 'channels2.json', 'channels_UHD.json', 'channels_HD.json', 'epg2.json', 'epg_UHD.json', 'epg_HD.json', 'cdn.conf']:
self.cache.remove_file(f)
def get_profile_image_url(self, img_id):
+1
View File
@@ -14,6 +14,7 @@ class CustomAdapter(HTTPAdapter, object):
def init_poolmanager(self, connections, maxsize, block=False):
ctx = ssl.create_default_context()
ctx.options |= 0x4 # OP_LEGACY_SERVER_CONNECT
ctx.set_ciphers('DEFAULT:!BRAINPOOL')
self.poolmanager = PoolManager(
num_pools=connections,
maxsize=maxsize,
+1 -1
View File
@@ -123,7 +123,7 @@ def play(params):
manifest_headers = 'User-Agent=' + useragent
if True: #stype in ['tv', 'u7d', 'rec']:
cdn_token = m.cache.load('cdn.conf')
cdn_token = m.cache.load('cdn.conf', 60)
if not cdn_token:
cdn_token = m.get_cdntoken()
m.cache.save_file('cdn.conf', cdn_token)