urllib を介していくつかの URL をフェッチし、プロキシを介して機械化しようとしています。
機械化を使用して、次のことを試します。
from mechanize import Browser
import re
br = Browser()
br.set_proxies({"http": "MYUSERNAME:*******@itmalsproxy.italy.local:8080"})
br.open("http://www.example.com/")
次のエラーが表示されます。
httperror_seek_wrapper: HTTP Error 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.
プロキシ、ユーザー名、パスワードは正しいのですが、何が問題なのですか?