Stats functionality restored
7 February 2022 11:00 pmRight, I think I've finally created a working command-line script to highlight, record and allow me to query changes in my AO3 stats on a monthly basis -- functionality which the site itself conspicuously fails to supply :-p
( limitations )
The script is based on the old FFstats script I developed in order to highlight which stories had received hits recently (e.g. since I last saved the status), plus the added ability to display the number of hits over the whole of a selected month, information made available natively on FFnet but not provided by AO3. The latter displays only data for the entire lifetime of a story, and it's nice to be able to see how the figures change over time.
So you can display either a list of which stories received hits since your last download/save (with the option to record that data and restart the comparison from zero, or to exit without saving and keep accumulating more hits until the differences are sufficiently numerous that you start losing track of where the changes are), or a list of which stories received hits over a user-specified month. I didn't provide any flexibility to query the figures over any period other than a calendar month, simply because I wasn't used to being able to do that in the old days and hence haven't really felt the need ;-)
I only have a relatively limited amount of data saved so far during the development period (from 19th Jan onwards), so I haven't been able to test exhaustively for all possibilities, although I've experimented with fake figures for testing purposes. More bugs will probably show up with use.
( Sample output )
( limitations )
The script is based on the old FFstats script I developed in order to highlight which stories had received hits recently (e.g. since I last saved the status), plus the added ability to display the number of hits over the whole of a selected month, information made available natively on FFnet but not provided by AO3. The latter displays only data for the entire lifetime of a story, and it's nice to be able to see how the figures change over time.
So you can display either a list of which stories received hits since your last download/save (with the option to record that data and restart the comparison from zero, or to exit without saving and keep accumulating more hits until the differences are sufficiently numerous that you start losing track of where the changes are), or a list of which stories received hits over a user-specified month. I didn't provide any flexibility to query the figures over any period other than a calendar month, simply because I wasn't used to being able to do that in the old days and hence haven't really felt the need ;-)
I only have a relatively limited amount of data saved so far during the development period (from 19th Jan onwards), so I haven't been able to test exhaustively for all possibilities, although I've experimented with fake figures for testing purposes. More bugs will probably show up with use.
( Sample output )