<?php
$text = '<script type="text/javascript">
var player = new Playerjs({
id: "videoplayer2535",
file:"https://ashdi.vip/content/stream/films/zavtra_ne_pomre_nkoli_2535/hls/index.m3u8",
poster:"https://ashdi.vip/content/stream/films/zavtra_ne_pomre_nkoli_2535/screen.jpg",
subtitle:"",
});
</script>';
preg_match('/file:"\K[^"]+/', $text, $matches);
echo $matches[0];
- Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
- https://ashdi.vip/content/stream/films/zavtra_ne_pomre_nkoli_2535/hls/index.m3u8
preferences:
135.48 ms | 403 KiB | 187 Q