iTunes 应用商店网页抓取
我希望用户在网站上输入应用程序 ID,保存应用程序(我的 sql 数据库)中的信息,然后在网站上显示该信息。
如果有人介意分享用于执行此操作的代码/流程,或者是否有教程可以指导我学习如何执行此操作?
如果您能帮助我,我将非常感激。谢谢。
I'm looking to have a user enter an app ID on a website, save the information from their app (my sql database), and then display that information on the website.
If anyone would mind sharing the code/process that would be used to do this or are there tutorials that you can point me in the direction of learning how to do this?
If you could help me out at all I will be very grateful. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您不能通过屏幕抓取来执行此操作。阅读 Apple 的使用条款
您需要做的是调查 Apple 的合作伙伴计划,其中包括针对开发人员的计划,我相信会授予您访问 API 的权限,您可以在其中直接查询并接收您想要在您的网站上显示的信息(例如应用程序描述),甚至可能获得当人们通过链接从 Apple 购买商品时产生的销售佣金在您的网站等上。
很可能其他人您看到的显示来自 Apple 商店的此类信息的网站与 Apple 有附属机构/合作伙伴安排。 (如果没有,他们迟早会被网站屏蔽、在苹果外行的邮件中发现“停止”和“停止”信件、被起诉,或者这三者的某种组合。
You CANNOT do this via screen scraping. Read Apple's Terms Of Use
What you need to do is investigate Apple's Partner Program which includes a program for developers and I believe would grant you access to an API where you would be able to directly query for and receive the info you wanted (such as app descriptions) to display on your site and perhaps even get a commission for sales you generate when people purchase something from apple via links on your site etc.
Odds are that the other site you see which is displaying such info from Apple's store, has an affiliate/partner arrangement with apple. (and if not, it's just a matter of time till they get blocked from the site, find cease and desist letters in the mail from apple's laywers, get sued, or some combination of those three.
你真的应该先看看这些。
https://stackoverflow.com/questions/822380/how-legal-is-screen-scraping< /一>
<一href="https://stackoverflow.com/questions/396778/legalities-of-screen-scraping">https://stackoverflow.com/questions/396778/legalities-of-screen-scraping
了解苹果,他们可能会起诉你。他们提起诉讼,要求赔偿更少。或者IOW谁没有起诉过?
You should really look at these first.
https://stackoverflow.com/questions/822380/how-legal-is-screen-scraping
https://stackoverflow.com/questions/396778/legalities-of-screen-scraping
Knowing Apple, they'll probably sue you. They have sued for less. Or IOW who haven't they sued?
如果您想将信息保存到数据库中,那么您可能需要查看 Appfetcher 程序,网址为 http://www.altraware。 com。
它使用苹果提供的Xml,因此应该不存在合法性问题。
If you want to save the information to your database then you might want to look at the program Appfetcher at http://www.altraware.com.
It uses the Xml that apple provides so there should be no legality issues.