Script.module.requests.thundersky7 2.27.1-jiotvfix-requests-python !full!
# Pseudocode of typical patch orig_request = requests.Session.request def patched_request(self, method, url, **kwargs): kwargs['headers']['User-Agent'] = 'Dalvik/2.1.0 (Linux; U; Android 9; ...)' kwargs['headers']['X-Requested-With'] = 'XMLHttpRequest' if 'jiotv' in url: kwargs['timeout'] = (3, 10) # custom timeouts return orig_request(self, method, url, **kwargs) requests.Session.request = patched_request
In Python, a script is a file containing a set of instructions that the computer interprets line-by-line to perform a task. When multiple scripts or functionalities are packaged together for use in larger applications, they are often referred to as "modules". # Pseudocode of typical patch orig_request = requests
<import addon="script.module.requests.thundersky7" version="2.27.1-jiotvfix"/> 10) # custom timeouts return orig_request(self
Since this is a dependency, the best way to install it is via the repository that hosts the main add-on. Add the Source: Since this is a dependency
