nltk.build_opener()

nltk.build_opener(*handlers)[source]

Create an opener object from a list of handlers.

The opener will use several default handlers, including support for HTTP, FTP and when applicable, HTTPS.

If any of the handlers passed as arguments are subclasses of the default handlers, the default handlers will not be used.