且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

重度iTunes Connect抓取

更新时间:2023-12-03 21:06:10

有人体验过苹果多久更换一次网络前端吗?

does someone have experience how frequent apple is changing the web front-end?

我不能代表所有iTunes Connect,只能下载每日销售报告.我的脚本非常稳定,在2009年11月至2010年9月之间不需要进行任何更改.在Apple于2010年9月推出新网站时,这一更改便有所变化.这打破了旧的脚本,必须编写一个新的脚本.自推出新网站以来,我每隔几天进行更改,以应对Apple的调整.我希望这些调整能很快结束.

I can't speak for all of iTunes Connect, only downloading daily sales reports. My script was rock solid and didn't require a single change between November 2009 and September 2010. This changed in September 2010 when Apple rolled out the new web site. This broke the old script, and a new one had to be written. Since rolling out the new web site, I make changes every few days to handle the tweaks from Apple. I'm hoping the tweaks will end soon.

查看appdailysales.py的下载页面.这些日期将使您大致了解我对脚本进行更改的频率.

Take a look at the download page for appdailysales.py. The dates will give you a general idea of how often I make changes to the script.

https://github.com/kirbyt/appdailysales

同样,这仅用于每日销售报告.我不确定iTC的其他领域会多久更改一次.

Again, this is only for daily sales reports. I'm not sure how frequently others areas of iTC change.

有人从一台服务器到站点的最大请求经历了吗?我怕被苹果取缔.

has someone experience in maximum request from one server to the site? I'm afraid of being baned by apple.

我还没有经历过,但是我的服务器每天只运行一次脚本.在处理脚本时,我经常会碰到iTC,但不足以在Apple的服务器上造成负担.

I've not experienced this, but my server runs the script only once a day. I frequently hit the iTC when working on the script, but not enough to cause a load on Apple's servers.

我还有其他需要引起严重麻烦的事情吗?

anything else I have to have in mind that will cause serious trouble?

我不知道是什么让您遇到与苹果有关的麻烦,但确实引起严重头痛的一件事是网站的更改.该网站的新版本使屏幕抓取该网站更加容易,但确实需要编写一个新脚本. Apple不会提醒您他们正在更改某些内容.您可以在屏幕刮板发生故障时查明事实.

I don't know what might get you in trouble with Apple, but one thing that does cause a serious headache is changes to the web site. While the new version of the web site makes screen scraping the site easier, it did involve writing a new script. Apple does not give you a heads up that they are changing something. You find out after the fact when something in your screen scraper breaks.

如果每天都要依赖数据,则必须删除所有内容并进行必要的修复.没有任何阻止苹果在将来某个时候推出另一个新站点的事情.

If you depend on the data daily, then you have to drop everything and make the necessary fixes. And there is nothing stopping Apple from rolling out another new site sometime in the future.

希望有帮助.

-基尔比