npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

web-image-crawler

v2.0.6

Published

爬取网站的图片

Downloads

5

Readme

🕷️ Image Crawler

高级网站图片爬虫工具 - 深度抓取网页中的所有图片资源

English | 中文

✨ 特性

  • 📊 深度爬取: 递归爬取同域名下的子页面,自动URL去重

🛠️ 安装

作为 CLI 工具安装

npx playwright install
npm install -g web-image-crawler

注意:

  • Playwright 浏览器下载包约 300MB,请确保网络连接稳定
  • 支持 Chrome/Chromium、Firefox、Safari(WebKit) 多种浏览器引擎
  • 推荐使用轻量级模式,覆盖90%的使用场景且无需下载浏览器

📖 CLI 使用方法

基础命令

image-crawler <url> [选项]

使用示例

image-crawler https://example.com output_path

查看帮助

# 查看帮助信息
image-crawler --help

⚠️ 注意事项

  1. 遵守 robots.txt: 使用前请检查目标网站的爬虫政策
  2. 合理控制频率: 避免对目标服务器造成过大压力
  3. 版权问题: 请遵守相关法律法规,尊重版权
  4. 网络环境: 某些网站可能需要代理或特殊配置

🛡️ 法律声明

本工具仅供学习和研究使用,用户在使用时应:

  • 遵守目标网站的使用条款和robots.txt协议
  • 不要用于商业用途或侵犯他人权益
  • 合理控制爬取频率,避免对服务器造成压力
  • 尊重版权,不要用于侵权用途

🤝 贡献

欢迎提交 Issue 和 Pull Request!

🖼️ 图片浏览器

抓取完图片后,您可以使用图片浏览器来查看和管理下载的图片:

🌐 图片浏览器地址: https://image-browser.aqiegames.com/

图片浏览器提供了现代化的网页界面,方便您浏览、搜索和组织抓取的图片。

📄 许可证

MIT License - 详见 LICENSE 文件


⭐ 如果这个工具对你有帮助,请给个 Star!