8

I had a nice and hacky Perl script to automatically scrape and download sales report files from iTunes Connect. As of today, Apple overhauled the sales report site. It looks a lot nicer, but it uses a lot of JavaScript and simple scraping isn't going to work any more.

So, does anybody know of a way to scrape this new site effectively?

Some previous questions point to various scripts and online services. I presume they are all broken now as well. If you know of one that is still functional, please let me know.

Community
  • 1
  • 1
Daniel Dickison
  • 21,832
  • 13
  • 69
  • 89

2 Answers2

7

http://code.google.com/p/appdailysales/ was just updated to support the Sept 2010 iTunes connect changes.

Edit: please use http://www.apple.com/itunesnews/docs/Autoingestion.class.zip or something based on that, like https://github.com/danieldickison/appdailysales

Hafthor
  • 16,358
  • 9
  • 56
  • 65
  • To be clear, this is not my work. It is http://stackoverflow.com/users/245020/kirby-t – Hafthor Sep 14 '10 at 17:03
  • Is it possible that Apple has changed things again in the last 24 hours?! I just tried the script v2.0.1 and it's not working (error on line 245: list index out of range) – Brian Sep 15 '10 at 14:40
  • Figured it out - there's an error on line 244 (change "value1" to "value") – Brian Sep 15 '10 at 15:10
  • Apple recently released a Java command line tool to fetch reports without needing to do any screen scraping. I've forked appdailysales to call out to this tool, and it works nicely: https://github.com/danieldickison/appdailysales – Daniel Dickison Aug 29 '11 at 14:18
  • Does sales report also tell us no of downloads ? – Usman Iqbal Jun 17 '20 at 08:42
0

http://twitter.com/viva/status/24133713255

just need to sift through the ajax cruft. if it's even possible. very annoyed with apple at the moment.