In the case of the cpsc.gov site, it looks like a refresh header, which is incorrectly handled by the HTTPRefreshProcessor mechanization. However, you can solve this problem as follows:
import mechanize url = 'http://www.cpsc.gov/cpscpub/prerel/prhtml03/03059.html' br = mechanize.Browser() br.set_handle_refresh(False) br.open(url)
source share