Restrict parsed stream quality suffixes (#49869)

* fix: restrict parsed stream quality suffixes

* test: reuse playlist export fixture for quality suffix
This commit is contained in:
chen zhihao authored and GitHub committed 2026-09-04 09:28:26 +02:00
1 parent 1e283edf33
commit f3ef256bdf
4 files changed
+26 -13

No files matched your search

@@ -1,15 +1,25 @@
[
{
"channel": null,
"feed": null,
"title": "Daawah TV",
{
"channel": null,
"feed": null,
"title": "Daawah TV",
"url": "http://51.15.246.58:8081/daawahtv/daawahtv2/playlist.m3u8",
"referrer": null,
"user_agent": null,
"quality": null,
"label": null
},
{
"quality": null,
"label": null
},
{
"channel": null,
"feed": null,
"title": "Example (720|)",
"url": "https://example.com/live.m3u8",
"referrer": null,
"user_agent": null,
"quality": null,
"label": null
},
{
"channel": null,
"feed": null,
"title": "Andorra TV",
@@ -79,4 +89,4 @@
"quality": "720p",
"label": null
}
]
]