Iranian authorities have arrested thousands of demonstrators who say the presidential vote was rigged .