如何从Playstation商店获得价格

Leo*_*Leo 3 html php remote-access ps3

我猜它是由ajax加载的.

我已经尝试过CURL,DOMDocument和PHP Simple HTML DOM Parser

细节:

我试图在Playstation Store上获得游戏的价格.我有一个网址https://store.sonyentertainmentnetwork.com/#!/en-us/jogos/shadow-of-the-colossus/cid=UP9000-NPUA80677_00-SOTC000000000001,我想得到的价格.<div class="price">$19.99</div>

我只是注意到,如果你检查页面的源代码,它没有在页面上显示任何元素,这是因为我相信所有都是由ajax之类的东西加载,我想PHP解析将永远不会在这里工作.

我尝试了Jquery AJax(),Get()和Load()函数,但我没有成功.跨域的一些问题.

有一个名为PSN价格的网站可以做到这一点.

附加信息:

这完全是出于个人目的,我只是想做一些愿望清单并自己跟踪价格.

对不起我的英文.

Cor*_*ell 6

通过JSON检索价格:https://store.sonyentertainmentnetwork.com/chihiroview/storetree2?https% 3A%2F%2Fstore.sonyentertainmentnetwork.com%2Fstore%2Fapi%2Fchihiro%2F00_09_000%2Fcontainer%2FUS%2Fen%2F999% 2FSTORE -MSF77008-BASE%3FsessionCountry%3DUS%26sessionLang%3Den%26geoCountry%3DPT%26size%3D30

搜索19.99

"DISPLAY_PRICE": "$ 19.99"

编辑:

游戏网址:

https://store.sonyentertainmentnetwork.com/#!/en-us/jogos/shadow-of-the-colossus/cid= UP9000-NPUA80677_00-SOTC000000000001

JSON网址:

https://store.sonyentertainmentnetwork.com/store/api/chihiro/00_09_000/container/US/en/999/ UP9000-NPUA80677_00-SOTC000000000001

使用http://jsonformatter.curiousconcept.com/使其更容易,似乎你需要得到

default_sku-> DISPLAY_PRICE