【问题标题】:Is there still a way to open an iTunes search API trackViewUrl in iTunes Store and not Apple Music?是否还有办法在 iTunes Store 而不是 Apple Music 中打开 iTunes 搜索 API trackViewUrl?
【发布时间】:2021-11-23 22:38:26
【问题描述】:

this question 之后,我们可以从 iTunes 搜索 API 获得 JSON 响应,以将用户引导至trackViewUrl。答案建议附加 &app=itunes 让 iOS 设备在 iTunes Store 而不是 Apple Music 中打开 URL,但我的测试表明这不起作用并且 Apple Music 仍然打开。

例如,结果的第一项:

https://itunes.apple.com/search?term=pink+floyd%20high%20hopes

显示trackViewUrl 的:

https://music.apple.com/us/album/high-hopes/1067444712?i=1067444898&uo=4,

附加的请求是:

https://music.apple.com/us/album/high-hopes/1067444712?i=1067444898&uo=4&app=itunes

但是,此链接会在 iOS 设备上打开 Apple Music。

有没有办法改为打开 iTunes Store?或者以另一种方式将 iTunes Store 打开到特定曲目?我需要 DRM 免费曲目。

【问题讨论】:

    标签: ios itunes-store apple-music itunes-search-api


    【解决方案1】:

    现在正确的做法是使用StoreKit

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-08-28
      • 2011-03-13
      • 2019-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-04
      相关资源
      最近更新 更多