Comment
Comment by liotier
Expect can easily save your day, but only consider it as a last resort - when all better ways of interacting are not available : like web scraping, it is quite fragile because the stability of the 'API' is usually far from guaranteed.