in reply to Ignore 3xx redirects

Please read: How (Not) To Ask A Question

We can't provide much help at all unless you give us more information. How is your script grabbing the page? What does your existing code look like?