Repository: streamlink/streamlink

Issue:
plugins.mangomolo: After Kuwait changes URL of streaming, plugin doesn't work anymroe
### Checklist

- [x] This is a [plugin issue](https://streamlink.github.io/plugins.html) and not [a different kind of issue](https://github.com/streamlink/streamlink/issues/new/choose)
- [x] [I have read the contribution guidelines](https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#contributing-to-streamlink)
- [x] [I have checked the list of open and recently closed plugin issues](https://github.com/streamlink/streamlink/issues?q=is%3Aissue+label%3A%22plugin+issue%22)
- [x] [I have checked the commit log of the master branch](https://github.com/streamlink/streamlink/commits/master)

### Collaboration

- [x] [I will provide feedback should a pull request be opened with a fix for the plugin](https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#pull-request-feedback)

### Streamlink version

streamlink --no-config --version-check

### Description

Kuwait channel has changed streaming hosting URL to a new one.
Current URL that streams multiple channels is: https://51.com.kw/live/

URL redirects to default channel: https://51.com.kw/live/355/AlKuwait


### Debug log

```text
streamlink  https://51.com.kw/live/355/AlKuwait --loglevel=debug
[cli][debug] OS:         Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.35
[cli][debug] Python:     3.10.12
[cli][debug] OpenSSL:    OpenSSL 3.0.2 15 Mar 2022
[cli][debug] Streamlink: 7.0.0
[cli][debug] Dependencies:
[cli][debug]  certifi: 2023.7.22
[cli][debug]  exceptiongroup: 1.2.0
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.8.0
[cli][debug]  pycountry: 20.7.3
[cli][debug]  pycryptodome: 3.20.0
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.31.0
[cli][debug]  trio: 0.24.0
[cli][debug]  trio-websocket: 0.11.1
[cli][debug]  typing-extensions: 4.9.0
[cli][debug]  urllib3: 2.0.7
[cli][debug]  websocket-client: 1.2.3
[cli][debug] Arguments:
[cli][debug]  url=https://51.com.kw/live/355/AlKuwait
[cli][debug]  --loglevel=debug
error: No plugin can handle URL: https://51.com.kw/live/355/AlKuwait
```


Discussion:

Patch:
diff --git a/src/streamlink/plugins/mangomolo.py b/src/streamlink/plugins/mangomolo.py
index a811d429d7e..50a69a1cdc8 100644
--- a/src/streamlink/plugins/mangomolo.py
+++ b/src/streamlink/plugins/mangomolo.py
@@ -23,8 +23,8 @@
     pattern=re.compile(r"https?://player\.mangomolo\.com/v1/"),
 )
 @pluginmatcher(
-    name="mediagovkw",
-    pattern=re.compile(r"https?://(www\.)?media\.gov\.kw/"),
+    name="51comkw",
+    pattern=re.compile(r"https?://51\.com\.kw/live(?:/|$)"),
 )
 class Mangomolo(Plugin):
     def _get_player_url(self):


Test patch:
diff --git a/tests/plugins/test_mangomolo.py b/tests/plugins/test_mangomolo.py
index e34244d9e7e..0c840bf93e1 100644
--- a/tests/plugins/test_mangomolo.py
+++ b/tests/plugins/test_mangomolo.py
@@ -12,19 +12,31 @@ class TestPluginCanHandleUrlMangomolo(PluginCanHandleUrl):
             + "&autoplay=true&filter=none&signature=9ea6c8ed03b8de6e339d6df2b0685f25&app_id=43",
         ),
         (
-            "mediagovkw",
-            "https://media.gov.kw/LiveTV.aspx?PanChannel=KTV1",
+            "51comkw",
+            "https://51.com.kw/live",
         ),
         (
-            "mediagovkw",
-            "https://www.media.gov.kw/LiveTV.aspx?PanChannel=KTV1",
+            "51comkw",
+            "https://51.com.kw/live/",
         ),
         (
-            "mediagovkw",
-            "https://media.gov.kw/LiveTV.aspx?PanChannel=KTVSports",
+            "51comkw",
+            "https://51.com.kw/live/355/AlKuwait",
         ),
         (
-            "mediagovkw",
-            "https://www.media.gov.kw/LiveTV.aspx?PanChannel=KTVSports",
+            "51comkw",
+            "https://51.com.kw/live/361/KTV2",
+        ),
+        (
+            "51comkw",
+            "https://51.com.kw/live/356/News",
+        ),
+        (
+            "51comkw",
+            "https://51.com.kw/live/362/Sport",
+        ),
+        (
+            "51comkw",
+            "https://51.com.kw/live/357/Sport2",
         ),
     ]