issue 1
(Script failed due to Apple's inconsistency in date format) reported by johankool
- Some dates in late November early December had another date format
Solution:
Replace:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%Y%m%d")
with:
try:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%Y%m%d")
except ValueError:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%m/%d/%Y")
Some dates in late November early December had another date format
Solution:
Replace:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%Y%m%d")
with:
try:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%Y%m%d")
except ValueError:
oneStat['date'] = time.strptime(fields[headerFields.index("Begin Date")], "%m/%d/%Y")
Aug 10, 2008
r4
(Country names are now resolved.) committed by jonathanj
- Country names are now resolved.
Country names are now resolved.
Aug 07, 2008
r3
(Now ignoring unpaid upgrades.) committed by jonathanj
- Now ignoring unpaid upgrades.
Now ignoring unpaid upgrades.
Aug 07, 2008
r2
(Initial import.) committed by jonathanj
- Initial import.
Initial import.
Aug 07, 2008
Project appstorestats
created by jonathanj
- A Python script to help organize and group iTunes store sales for applications
A Python script to help organize and group iTunes store sales for applications