Comment by ohans
Looks good! You could push to npm so that running it could be as easy as:
npx webclone URL (no repo cloning required)
Also, FYI, when running the example code
node webclone.js https://www.example.com/
It fails (at least for me) until I either install yt-dlp or ignore videos via:
node webclone.js https://www.example.com/
Great feedback! Will get this fixed. Thank you.