use wget handle redirect