prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  tv360.com.tr no playable stream
  ## Bug Report
  - [x] This is a bug report and I have read the contribution guidelines.
  
  ### Description
  
  can't find playable stream.
  
  ### Expected / Actual behavior
  
  stream supposed to be found
  
  ### Reproduction steps / Explicit stream URLs to test
  
  ``` 1. streamlink https://www.tv360.com.tr/canli-yayin ```
  
  ### Log output
  
  ```
  [cli][debug] OS:         Windows 10
  [cli][debug] Python:     3.8.2
  [cli][debug] Streamlink: 1.5.0
  [cli][debug] Requests(2.24.0), Socks(1.7.1), Websocket(0.57.0)
  [cli][info] Found matching plugin tv360 for URL tv360.com.tr/canli-yayin
  error: No playable streams found on this URL: tv360.com.tr/canli-yayin
  ```
  
  
  ### Additional comments, screenshots, etc.
  
  
  
  [Love Streamlink? Please consider supporting our collective. Thanks!](https://opencollective.com/streamlink/donate)
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `src/streamlink/plugins/tv360.py`
  Content:
  ```
  1 from __future__ import print_function
  2 
  3 import re
  4 
  5 from streamlink.plugin import Plugin
  6 from streamlink.plugin.api import validate
  7 from streamlink.stream import HLSStream
  8 
  9 
  10 class TV360(Plugin):
  11     url_re = re.compile(r"https?://(?:www.)?tv360.com.tr/canli-yayin")
  12     hls_re = re.compile(r'''hls.loadSource\(["'](http.*m3u8)["']\)''', re.DOTALL)
  13 
  14     hls_schema = validate.Schema(
  15         validate.transform(hls_re.search),
  16         validate.any(None, validate.all(validate.get(1)))
  17     )
  18 
  19     @classmethod
  20     def can_handle_url(cls, url):
  21         return cls.url_re.match(url) is not None
  22 
  23     def _get_streams(self):
  24         res = self.session.http.get(self.url)
  25         hls_url = self.hls_re.search(res.text)
  26 
  27         if hls_url:
  28             return HLSStream.parse_variant_playlist(self.session, hls_url.group(1))
  29 
  30 
  31 __plugin__ = TV360
  32
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/src/streamlink/plugins/tv360.py b/src/streamlink/plugins/tv360.py
  --- a/src/streamlink/plugins/tv360.py
  +++ b/src/streamlink/plugins/tv360.py
  @@ -1,5 +1,3 @@
  -from __future__ import print_function
  -
   import re
   
   from streamlink.plugin import Plugin
  @@ -9,11 +7,11 @@
   
   class TV360(Plugin):
       url_re = re.compile(r"https?://(?:www.)?tv360.com.tr/canli-yayin")
  -    hls_re = re.compile(r'''hls.loadSource\(["'](http.*m3u8)["']\)''', re.DOTALL)
  +    hls_re = re.compile(r'''src="(http.*m3u8)"''')
   
       hls_schema = validate.Schema(
           validate.transform(hls_re.search),
  -        validate.any(None, validate.all(validate.get(1)))
  +        validate.any(None, validate.all(validate.get(1), validate.url()))
       )
   
       @classmethod
  @@ -21,11 +19,10 @@
           return cls.url_re.match(url) is not None
   
       def _get_streams(self):
  -        res = self.session.http.get(self.url)
  -        hls_url = self.hls_re.search(res.text)
  +        hls_url = self.session.http.get(self.url, schema=self.hls_schema)
   
           if hls_url:
  -            return HLSStream.parse_variant_playlist(self.session, hls_url.group(1))
  +            return HLSStream.parse_variant_playlist(self.session, hls_url)
   
   
   __plugin__ = TV360
  
verification_info: {"golden_diff": "diff --git a/src/streamlink/plugins/tv360.py b/src/streamlink/plugins/tv360.py\n--- a/src/streamlink/plugins/tv360.py\n+++ b/src/streamlink/plugins/tv360.py\n@@ -1,5 +1,3 @@\n-from __future__ import print_function\n-\n import re\n \n from streamlink.plugin import Plugin\n@@ -9,11 +7,11 @@\n \n class TV360(Plugin):\n     url_re = re.compile(r\"https?://(?:www.)?tv360.com.tr/canli-yayin\")\n-    hls_re = re.compile(r'''hls.loadSource\\([\"'](http.*m3u8)[\"']\\)''', re.DOTALL)\n+    hls_re = re.compile(r'''src=\"(http.*m3u8)\"''')\n \n     hls_schema = validate.Schema(\n         validate.transform(hls_re.search),\n-        validate.any(None, validate.all(validate.get(1)))\n+        validate.any(None, validate.all(validate.get(1), validate.url()))\n     )\n \n     @classmethod\n@@ -21,11 +19,10 @@\n         return cls.url_re.match(url) is not None\n \n     def _get_streams(self):\n-        res = self.session.http.get(self.url)\n-        hls_url = self.hls_re.search(res.text)\n+        hls_url = self.session.http.get(self.url, schema=self.hls_schema)\n \n         if hls_url:\n-            return HLSStream.parse_variant_playlist(self.session, hls_url.group(1))\n+            return HLSStream.parse_variant_playlist(self.session, hls_url)\n \n \n __plugin__ = TV360\n", "issue": "tv360.com.tr no playable stream\n## Bug Report\r\n- [x] This is a bug report and I have read the contribution guidelines.\r\n\r\n### Description\r\n\r\ncan't find playable stream.\r\n\r\n### Expected / Actual behavior\r\n\r\nstream supposed to be found\r\n\r\n### Reproduction steps / Explicit stream URLs to test\r\n\r\n``` 1. streamlink https://www.tv360.com.tr/canli-yayin ```\r\n\r\n### Log output\r\n\r\n```\r\n[cli][debug] OS:         Windows 10\r\n[cli][debug] Python:     3.8.2\r\n[cli][debug] Streamlink: 1.5.0\r\n[cli][debug] Requests(2.24.0), Socks(1.7.1), Websocket(0.57.0)\r\n[cli][info] Found matching plugin tv360 for URL tv360.com.tr/canli-yayin\r\nerror: No playable streams found on this URL: tv360.com.tr/canli-yayin\r\n```\r\n\r\n\r\n### Additional comments, screenshots, etc.\r\n\r\n\r\n\r\n[Love Streamlink? Please consider supporting our collective. Thanks!](https://opencollective.com/streamlink/donate)\r\n\n", "before_files": [{"content": "from __future__ import print_function\n\nimport re\n\nfrom streamlink.plugin import Plugin\nfrom streamlink.plugin.api import validate\nfrom streamlink.stream import HLSStream\n\n\nclass TV360(Plugin):\n    url_re = re.compile(r\"https?://(?:www.)?tv360.com.tr/canli-yayin\")\n    hls_re = re.compile(r'''hls.loadSource\\([\"'](http.*m3u8)[\"']\\)''', re.DOTALL)\n\n    hls_schema = validate.Schema(\n        validate.transform(hls_re.search),\n        validate.any(None, validate.all(validate.get(1)))\n    )\n\n    @classmethod\n    def can_handle_url(cls, url):\n        return cls.url_re.match(url) is not None\n\n    def _get_streams(self):\n        res = self.session.http.get(self.url)\n        hls_url = self.hls_re.search(res.text)\n\n        if hls_url:\n            return HLSStream.parse_variant_playlist(self.session, hls_url.group(1))\n\n\n__plugin__ = TV360\n", "path": "src/streamlink/plugins/tv360.py"}], "after_files": [{"content": "import re\n\nfrom streamlink.plugin import Plugin\nfrom streamlink.plugin.api import validate\nfrom streamlink.stream import HLSStream\n\n\nclass TV360(Plugin):\n    url_re = re.compile(r\"https?://(?:www.)?tv360.com.tr/canli-yayin\")\n    hls_re = re.compile(r'''src=\"(http.*m3u8)\"''')\n\n    hls_schema = validate.Schema(\n        validate.transform(hls_re.search),\n        validate.any(None, validate.all(validate.get(1), validate.url()))\n    )\n\n    @classmethod\n    def can_handle_url(cls, url):\n        return cls.url_re.match(url) is not None\n\n    def _get_streams(self):\n        hls_url = self.session.http.get(self.url, schema=self.hls_schema)\n\n        if hls_url:\n            return HLSStream.parse_variant_playlist(self.session, hls_url)\n\n\n__plugin__ = TV360\n", "path": "src/streamlink/plugins/tv360.py"}]}