灯塔多个URL [英] Lighthouse Multiple URLs

查看:104
本文介绍了灯塔多个URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要对一个网站进行全面审核,但是我想知道是否有任何方法可以使Lighthouse做到这一点.我知道他们不支持完整的站点审核或多个URL,但是我发现可以使用bash脚本来完成.因此,在这种情况下,我将不胜感激!还是您可能会推荐的其他Lighthouse替代品?

There's a website I need to do a full audit on, but I'm wondering if there's any way to make Lighthouse do it. I know they don't support full site audits or multiple URLs, but I found out that it could maybe be done with using bash scripts. So I would appreciate any help on this case! Or maybe any Lighthouse alternatives you'd recommend?

先谢谢您!

推荐答案

在我的公司中,我们希望在着陆网站,应用程序产品以及竞争对手产品中的大多数页面上收集网站的性能数据,因此有时有数百个URL需要审核.

In my company, we wanted to collect website's performance data on most of the pages on our landing website, app product, and also our rivals' product, so sometimes there are hundreds of URLs that need to be audited.

我创建了一个工具:

灯塔-批量-平行

lighthouse-batch-parallel

可以审核多个URL.您可以通过JS Object,JSON,CSV流获取报告结果,也可以仅使用提供的cli工具在 .csv .json 中生成报告.

which could audit multiple URLs. You can get the report result in JS Object, JSON, CSV stream, or you can just use the provided cli-tool to generate the report in .csv or .json.

这篇关于灯塔多个URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆