getratio must apply to both irc and url