T.v.Dein
15b2e7f2a7
update go, dependencies, catch Fprint and Close errors ( #138 )
...
Co-authored-by: Thomas von Dein <tom@vondein.org >
2025-05-04 12:05:59 +02:00
T.v.Dein
6675c4d232
Fix/timeformat ( #122 )
...
* Fix #121 : confused day with month thanks to time.Format
* Add outdir template variable example
2025-02-10 22:20:25 +01:00
31b27beee5
fix error handling when trying to open files
2024-12-13 11:23:24 +01:00
2288806105
fix #77 : use processed ad dir for duplicate checking, not slug
2024-02-10 15:15:43 +01:00
5a2c277f0e
fix #71 and #73 : add support for outdir template and enhance docs
2024-02-10 14:44:09 +01:00
612ed2aa79
fix #74 : warn if about to write to already visited ad, overwrite if -f
2024-02-10 14:44:09 +01:00
a84f0e1436
get rid of duplicate bytes.Buffer, use bytes.Reader instead, #39
2024-01-27 17:34:44 +01:00
T.v.Dein
14f8c3fd43
Fix/linter ( #66 )
...
* added lint targets
* fix linter errors
* enhance error handling
* !!BREAKING!! rename Id to ID in tpls
2024-01-25 19:04:15 +01:00
e971070f9f
added image diff hash distance caching to not overwrite similar images
2024-01-22 18:43:44 +01:00
5abbab9527
added template for ad directory, by default include id now
2024-01-19 18:38:35 +01:00
T.v.Dein
f893f9c3d7
Test/add mock tests ( #24 )
...
* add scrape unit test using httpmock lib
2024-01-19 18:38:35 +01:00
T.v.Dein
ae5e3daea3
Dev ( #8 )
...
* fixed conf parsing: variables can now be omitted from the config
* fix newlines: use CRLF on windows
* bump version
---------
Co-authored-by: Thomas von Dein <tom@vondein.org >
2024-01-19 18:38:35 +01:00
4d4577c9f8
fix #4 , use filepath.Join to create portable path's
2024-01-19 18:38:27 +01:00
f932d7be83
re-orgainzied code a little, using go templates instead format string
2023-12-17 17:32:05 +01:00