Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 476 Bytes

advanced-usage.rst

File metadata and controls

25 lines (15 loc) · 476 Bytes

Advanced Usage

Proxies

If you need to use a proxy, you can configure resource indexes with the proxies argument:

from censys.search import CensysHosts

proxies = {
    "https": "http://10.10.1.10:1080",
}

c = CensysHosts(proxies=proxies)

c.account()

Note

HTTP proxies will be ignored in favor of HTTPS proxies.

See Requests requests:proxies for more information on the format of proxies.