File tree Expand file tree Collapse file tree
addons/plugin.video.hdrezka.tv Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <addon id =" plugin.video.hdrezka.tv" name =" Hdrezka.tv" version =" 3.2.2 " provider-name =" MrStealth, dandy, DesSolo" >
2+ <addon id =" plugin.video.hdrezka.tv" name =" Hdrezka.tv" version =" 3.2.3 " provider-name =" MrStealth, dandy, DesSolo" >
33 <requires >
44 <import addon =" xbmc.python" version =" 3.0.0" />
55 <import addon =" script.module.xbmc.helpers" version =" 3.0.0" />
Original file line number Diff line number Diff line change @@ -578,6 +578,10 @@ def _normalize_url(self, item):
578578 item = self .url + item
579579 return item
580580
581+ def correct_cookies (cookies ):
582+ cookies ['hdmbbs' ] = '1'
583+ return cookies
584+
581585def authorize (plugin ):
582586 log ('*** authorize' )
583587
@@ -591,7 +595,7 @@ def authorize(plugin):
591595 if not data .get ('success' ):
592596 raise Exception ('Authorization failed status: %s text: %s' % (login_response .status_code , login_response .text ))
593597
594- plugin .addon .setSetting ('cookies' , helpers .dump_cookies (login_response .cookies ))
598+ plugin .addon .setSetting ('cookies' , helpers .dump_cookies (correct_cookies ( login_response .cookies ) ))
595599
596600def main ():
597601 plugin = HdrezkaTV ()
You can’t perform that action at this time.
0 commit comments