You could also try to parse the irc message sent from twitchnotify and split its message e.g. “xy subscribed for 7 months in a row” - just take everything between for and months. That’s what I did back then, before reading the caps.
Personally, I would still highly recommend to use those.