local-mirror

1.0.2 • Public • Published

Local Mirror

Get a local mirror of a web page using browser simulation. This is very useful for websites that render code dynamically instead of having static html.

Currently, is a half-baked mostly AI written equivalent of

wget \
--recursive \
--mirror \
--page-requisites \
--convert-links \
--no-parent \
--adjust-extension \
--span-hosts \
--wait="2" \
--random-wait \
--no-clobber \
--timestamping \
-e robots=off \
--keep-session-cookies \
--user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0" \
--load-cookies cookies.txt \
"${@}"

Install

npm i -g local-mirror

Usage

local-mirror <url>

Readme

Keywords

Package Sidebar

Install

npm i local-mirror

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

9.34 kB

Total Files

3

Last publish

Collaborators

  • lyr_7d1h