Open VAdri opened 5 days ago
In the first example, there are no inner links. The second example does not work anymore (I'm pretty sure it used to work in the past) because there are no link with a resolved URL starting with "https://www.wikipedia.org/" in the page.
Is it supposed to work only for inner links? Because I did put the option --crawl-inner-links-only=false
in my first example.
But even with inner links only it doesn't do the trick apparently:
./single-file https://matklad.github.io/2024/09/23/what-is-io-uring.html --crawl-links=true --crawl-max-depth=1 --crawl-inner-links-only=true --crawl-replace-urls=true
That was not working because --crawl-replace-urls
written in lowercase did not work. I fixed this issue in the last version I've just published.
The option
--crawl-replace-urls
indicates:So if I understand correctly the HTML extracted by
single-file
should have all its URLs crawled with the option--crawl-links
replaced by the file path on which they are exported.However, when I try this command I get only the original URLs:
I also tried this command from the README using the option
--crawl-rewrite-rule
but it did not work either:I was able to make it work on v2.0.0 but not since v2.0.2.