gildas-lormeau / SingleFile

Web Extension for saving a faithful copy of a complete web page in a single HTML file
GNU Affero General Public License v3.0
14.31k stars 945 forks source link

CLI Possible Bug #1491

Closed anotatta closed 2 days ago

anotatta commented 2 days ago

Thanks, great addon. I am trying out the cli version to crawl.

Win10 environment. running the cli example: single-file https://www.wikipedia.org -browser-wait-until=load --browser-executable-path "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --crawl-links=true --crawl-inner-links-only=false --crawl-external-links-max-depth=1 --crawl-rewrite-rule="^.*wikipedia.*$"

Error: Unreachable URL: file:///Users/gildas/Desktop/Dev/project-single-file/single-file-cli/single-file-cli-api.js URL: file:///Users/gildas/Desktop/Dev/project-single-file/single-file-cli/single-file-cli-api.js Stack: Error: Unreachable URL: file:///Users/gildas/Desktop/Dev/project-single-file/single-file-cli/single-file-cli-api.js at Connection.onFrameNavigated (file:///Users/gildas/Desktop/Dev/project-single-file/single-file-cli/lib/cdp-client.js:306:15) at innerInvokeEventListeners (ext:deno_web/02_event.js:754:7) at invokeEventListeners (ext:deno_web/02_event.js:801:5) at dispatch (ext:deno_web/02_event.js:658:9) at Connection.dispatchEvent (ext:deno_web/02_event.js:1043:12) at Connection.#onMessage (https://jsr.io/@simple-cdp/simple-cdp/1.8.5/mod.js:205:18) at WebSocket.<anonymous> (https://jsr.io/@simple-cdp/simple-cdp/1.8.5/mod.js:168:83) at innerInvokeEventListeners (ext:deno_web/02_event.js:754:7) at invokeEventListeners (ext:deno_web/02_event.js:801:5) at dispatch (ext:deno_web/02_event.js:658:9)

Why is it referencing you file .../gildas/...