Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从特定的在线广播/电视广播 url 获取歌曲或节目名称的详细信息。这个 url 可以是带有 *.pls 扩展名的文件或 mms 协议形式的文件。
是否有任何网络请求技术、php 库或任何流行语言?
我不太确定这个答案是否会对您有所帮助,但它可以引导您找到解决方案
$url = parse_url(URL);
abouve url 将为您提供以下格式的数组
Array
( [scheme] => http [host] => eksensc.radyotvonline.com [path] => /listen.pls )
你可以$url['path']从那个数组中得到,
$url['path']
希望它有帮助!谢谢