Python CLI和Lookyloo模块
pylookyloo的Python项目详细描述
塔楼楼
这是Lookyloo的客户端API。在
安装
pip install pylookyloo
使用
- 您可以使用
lookyloo
命令对URL进行排队。在
- 或者作为图书馆
frompylookylooimportLookyloolookyloo=Lookyloo('https://url.of.lookyloo.instance')iflookyloo.is_up:# to make sure it is up and reachablepermaurl=lookyloo.enqueue('http://url.to.lookup')
您可以将以下参数添加到“排队”功能:
quiet Return only the UUID
listing Should the report be publicly listed.
user_agent Set your own user agent
Depth Set the analysis depth. Can not be more than in config
检索重定向(json)
redirect=lookyloo.get_redirects(uuid)
检索cookies(json)
cookies=lookyloo.get_cookies(uuid)
检索屏幕截图(原始)
screen=lookyloo.get_screenshot(uuid)
检索html(原始)
html=lookyloo.get_html(uuid)
检索完整捕获(原始)
capture=lookyloo.get_complete_capture(uuid)
检索统计信息(json)
capture=lookyloo.get_stats()
- 项目
标签: