prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Fox.com.tr not work with Streamlink
  ## **Checklist**
  
  - [x] This is a bug report.
  - [ ] This is a feature request.
  - [ ] ] This is a plugin (improvement) request.
  - [ ] I have read the contribution guidelines.
  
  ##  **Description**
  
   i cant see anything at fox.com.tr 
   i have test it with this links but i became black screen 
  
  ## **Reproduction steps / Explicit stream URLs to test**
  
  https://www.fox.com.tr/canli-yayin
  
  --- 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/foxtr.py`
  Content:
  ```
  1 from __future__ import print_function
  2 import re
  3 
  4 from streamlink.plugin import Plugin
  5 from streamlink.plugin.api import http
  6 from streamlink.plugin.api import validate
  7 from streamlink.stream import HLSStream
  8 
  9 
  10 class FoxTR(Plugin):
  11     """
  12     Support for Turkish Fox live stream: http://www.fox.com.tr/canli-yayin
  13     """
  14     url_re = re.compile(r"https?://www.fox.com.tr/canli-yayin")
  15     playervars_re = re.compile(r"desktop\s*:\s*\[\s*\{\s*src\s*:\s*'(.*?)'", re.DOTALL)
  16 
  17     @classmethod
  18     def can_handle_url(cls, url):
  19         return cls.url_re.match(url) is not None
  20 
  21     def _get_streams(self):
  22         res = http.get(self.url)
  23         match = self.playervars_re.search(res.text)
  24         if match:
  25             stream_url = match.group(1)
  26             return HLSStream.parse_variant_playlist(self.session, stream_url)
  27 
  28 
  29 __plugin__ = FoxTR
  30
  ```
  --- 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/foxtr.py b/src/streamlink/plugins/foxtr.py
  --- a/src/streamlink/plugins/foxtr.py
  +++ b/src/streamlink/plugins/foxtr.py
  @@ -12,7 +12,7 @@
       Support for Turkish Fox live stream: http://www.fox.com.tr/canli-yayin
       """
       url_re = re.compile(r"https?://www.fox.com.tr/canli-yayin")
  -    playervars_re = re.compile(r"desktop\s*:\s*\[\s*\{\s*src\s*:\s*'(.*?)'", re.DOTALL)
  +    playervars_re = re.compile(r"source\s*:\s*\[\s*\{\s*videoSrc\s*:\s*'(.*?)'", re.DOTALL)
   
       @classmethod
       def can_handle_url(cls, url):
  
verification_info: {"golden_diff": "diff --git a/src/streamlink/plugins/foxtr.py b/src/streamlink/plugins/foxtr.py\n--- a/src/streamlink/plugins/foxtr.py\n+++ b/src/streamlink/plugins/foxtr.py\n@@ -12,7 +12,7 @@\n     Support for Turkish Fox live stream: http://www.fox.com.tr/canli-yayin\n     \"\"\"\n     url_re = re.compile(r\"https?://www.fox.com.tr/canli-yayin\")\n-    playervars_re = re.compile(r\"desktop\\s*:\\s*\\[\\s*\\{\\s*src\\s*:\\s*'(.*?)'\", re.DOTALL)\n+    playervars_re = re.compile(r\"source\\s*:\\s*\\[\\s*\\{\\s*videoSrc\\s*:\\s*'(.*?)'\", re.DOTALL)\n \n     @classmethod\n     def can_handle_url(cls, url):\n", "issue": "Fox.com.tr not work with Streamlink\n## **Checklist**\r\n\r\n- [x] This is a bug report.\r\n- [ ] This is a feature request.\r\n- [ ] ] This is a plugin (improvement) request.\r\n- [ ] I have read the contribution guidelines.\r\n\r\n##  **Description**\r\n\r\n i cant see anything at fox.com.tr \r\n i have test it with this links but i became black screen \r\n\r\n## **Reproduction steps / Explicit stream URLs to test**\r\n\r\nhttps://www.fox.com.tr/canli-yayin\n", "before_files": [{"content": "from __future__ import print_function\nimport re\n\nfrom streamlink.plugin import Plugin\nfrom streamlink.plugin.api import http\nfrom streamlink.plugin.api import validate\nfrom streamlink.stream import HLSStream\n\n\nclass FoxTR(Plugin):\n    \"\"\"\n    Support for Turkish Fox live stream: http://www.fox.com.tr/canli-yayin\n    \"\"\"\n    url_re = re.compile(r\"https?://www.fox.com.tr/canli-yayin\")\n    playervars_re = re.compile(r\"desktop\\s*:\\s*\\[\\s*\\{\\s*src\\s*:\\s*'(.*?)'\", re.DOTALL)\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 = http.get(self.url)\n        match = self.playervars_re.search(res.text)\n        if match:\n            stream_url = match.group(1)\n            return HLSStream.parse_variant_playlist(self.session, stream_url)\n\n\n__plugin__ = FoxTR\n", "path": "src/streamlink/plugins/foxtr.py"}], "after_files": [{"content": "from __future__ import print_function\nimport re\n\nfrom streamlink.plugin import Plugin\nfrom streamlink.plugin.api import http\nfrom streamlink.plugin.api import validate\nfrom streamlink.stream import HLSStream\n\n\nclass FoxTR(Plugin):\n    \"\"\"\n    Support for Turkish Fox live stream: http://www.fox.com.tr/canli-yayin\n    \"\"\"\n    url_re = re.compile(r\"https?://www.fox.com.tr/canli-yayin\")\n    playervars_re = re.compile(r\"source\\s*:\\s*\\[\\s*\\{\\s*videoSrc\\s*:\\s*'(.*?)'\", re.DOTALL)\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 = http.get(self.url)\n        match = self.playervars_re.search(res.text)\n        if match:\n            stream_url = match.group(1)\n            return HLSStream.parse_variant_playlist(self.session, stream_url)\n\n\n__plugin__ = FoxTR\n", "path": "src/streamlink/plugins/foxtr.py"}]}