Commit Graph

17 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 19e01c762d Add --source & :HTML-URL to resolve relative URLs
Now, relative URLs in the input file can be
mirrored in relation to a given URL.
2024-05-31 22:29:47 -05:00
Jaidyn Ann b0edcf78a4 Fix UNIX cli error-handling
… I made a silly, brainless mistake here. :P
2024-05-31 21:40:05 -05:00
Jaidyn Ann e765f14583 Remove unused macro 2024-05-31 21:39:54 -05:00
Jaidyn Ann 25b412d307 Accept HTML from stdin, instead of requiring a file
This is much more handy (not to mention UNIX-y)!
2024-05-31 21:34:47 -05:00
Jaidyn Ann 7604512684 Add error-reporting to UNIX cli client 2024-05-31 15:48:43 -05:00
Jaidyn Ann 1097b4d0b3 Add --base and --downloads parameters to cli 2024-05-31 15:09:22 -05:00
Jaidyn Ann 74acf3fa2d Replace our RELATIVE-PATHNAME with PATHNAME-UTIL’s 2024-05-31 14:44:33 -05:00
Jaidyn Ann e2f2f38f01 Support separate download-dir and URL-dir 2024-05-31 14:41:46 -05:00
Jaidyn Ann 771241cb1d Fix URLs not getting substituted after download
That is, on the first run of MIRROR-IMG, no
mirrored URLs got substituted — and on subsequent
runs, only previously-downloaded URLS did.
2024-05-31 12:11:31 -05:00
Jaidyn Ann 7807afece2 Replace cl-strings with split-sequence
… which is already pulled in as an indirect
dependency, anyway.
2024-05-29 22:03:08 -05:00
Jaidyn Ann 43cc123057 Fix URL-substitions with some tags (<link>) 2024-05-29 21:55:59 -05:00
Jaidyn Ann 93022814fd Fix crunching of mirrored filenames
Previously, a “!” was enough to throw off the
crunching; that’s fixed now! Huzzah!
2024-05-29 21:55:08 -05:00
Jaidyn Ann d9bead00b4 Fix error with URL-parsing
Query parameters (post-?) were previously ignored.
2024-05-29 21:26:38 -05:00
Jaidyn Ann 0a26e42b6f Fix URL-encoding issue with port-numbers
:80 and :443 would be redundantly added to HTTP
and HTTPS URLs, respectively.
2024-05-28 23:12:36 -05:00
Jaidyn Ann 927f80e1ee Use keyword rather than optional arguments 2024-05-28 15:07:27 -05:00
Jaidyn Ann 3a26997f2d Begin UNIX cli front-end 2024-05-27 23:46:30 -05:00
Jaidyn Ann 0316d7ca9e Move mirror-img.lisp into src/ directory 2024-05-27 23:15:56 -05:00