diff --git a/logic_ohli24.py b/logic_ohli24.py index 3b3e592..039c63b 100644 --- a/logic_ohli24.py +++ b/logic_ohli24.py @@ -955,11 +955,13 @@ class LogicOhli24(LogicModuleBase): def get_html( url, headers=None, referer=None, stream=False, timeout=5, stealth=False ): + # global response_data data = "" + # response_date = "" try: print("cloudflare protection bypass ==================P") - + response_date = "" if headers is not None: LogicOhli24.headers = headers @@ -995,7 +997,7 @@ class LogicOhli24(LogicModuleBase): except Exception as e: logger.error("Exception:%s", e) logger.error(traceback.format_exc()) - return response_data + # return response_data ######################################################### def add(self, episode_info):