Requests the new URL instead. This might need some polishing or
modifications.
Edit: To elaborate, I was scraping some HTML pages for stylesheets and tried to parse the files. On a certain site, I received a status code 302. The stylesheet had been moved, and css_parser threw an error. This patch requests the new location instead and returns that.
Requests the new URL instead. This might need some polishing or modifications.
Edit: To elaborate, I was scraping some HTML pages for stylesheets and tried to parse the files. On a certain site, I received a status code 302. The stylesheet had been moved, and css_parser threw an error. This patch requests the new location instead and returns that.