Version 1.0.0

This commit is contained in:
Paco8 committed 2026-11-05 09:55:25 +01:00
1 parent 6511fa80b0
commit ccc17b4e5c
3 files changed
+18 -26

No files matched your search

+6 -2
View File
@@ -479,7 +479,9 @@ class Movistar(object):
def load_epg_data(self, date_str, duration=2, channels=''):
demarcation = self.account['demarcation']
url = self.endpoints['rejilla'].format(deviceType='webplayer', profile=self.account['platform'], UTCDATETIME=date_str, DURATION=duration, CHANNELS=channels, NETWORK='movistarplus', mdrm='true', demarcation=demarcation)
#dplayer = 'webplayer'
dplayer = self.dplayer
url = self.endpoints['rejilla'].format(deviceType=dplayer, profile=self.account['platform'], UTCDATETIME=date_str, DURATION=duration, CHANNELS=channels, NETWORK='movistarplus', mdrm='true', demarcation=demarcation)
if self.quality == 'UHD': url += '&filterQuality=UHD'
#LOG(url)
data = self.net.load_data(url)
@@ -628,7 +630,9 @@ class Movistar(object):
if content:
data = json.loads(content)
else:
url = self.endpoints['canales'].format(deviceType='webplayer', profile=profile, mdrm='true', demarcation=demarcation)
#dplayer = 'webplayer'
dplayer = self.dplayer
url = self.endpoints['canales'].format(deviceType=dplayer, profile=profile, mdrm='true', demarcation=demarcation)
if self.quality == 'UHD': url += '&filterQuality=UHD'
#LOG(url)
data = self.net.load_data(url)