I have a script that receives a meta refresh webpage. I need to parse the extracted page, but mechanization seems to follow the redirect. How to make him stop following him?
You can just turn it off
import mechanize browser = mechanize.Browser() browser.set_handle_refresh(False)
Source: https://habr.com/ru/post/1761229/More articles:adding syntax highlighting to web pages (HTML / php) - htmlAndroid server login page - androidCaching for a single property or method in .NET. - cachingsetting the style and size of font axes in asp.net graphics? - c #Transferring data between Wordpress pages - environment-variablesHow to write this condition to the HBM NHibernate mapping? - c #select in sql server 2005 - sqlBest way to write a survey app - c #Declaring a reference to a C ++ constant - c ++Unable to install IIS7 and ASP.NET 3.5 on Win7 64-bit - asp.netAll Articles