Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
メタ リフレッシュで Web ページを取得するスクリプトがあります。取得したページを解析する必要がありますが、mechanize はリダイレクトに従っているようです。フォローをやめさせるにはどうすればいいですか?
あなたは単にそれを無効にすることができます
import mechanize browser = mechanize.Browser() browser.set_handle_refresh(False)