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
T.v.Dein
46be48af38
Generic attributes ( #120 )
...
* fix #117 : use a generic attribute parser, still support fixed attrs
2025-02-10 18:20:54 +01:00
T.v.Dein
09948a6b39
add color detail as well ( #119 )
...
Co-authored-by: Thomas von Dein <tom@vondein.org >
2025-02-06 20:13:08 +01:00
T.v.Dein
bc01391872
Fix ad condition parsing ( #118 )
...
* fix #117 : use details slice and pre-set to properly extract condition
* also added the type part of the detail content (original de: "Art")
---------
Co-authored-by: Thomas von Dein <tom@vondein.org >
2025-02-06 13:48:20 +01:00
528ecdd43d
updated deps
2025-02-01 18:04:25 +01:00
34dfc25e87
bump version
2025-01-17 12:00:21 +01:00
2239a83f76
properly check image format for storing and distance hashing
2025-01-06 18:42:19 +01:00
31b27beee5
fix error handling when trying to open files
2024-12-13 11:23:24 +01:00
07ebd7afad
bump version
2024-11-01 12:21:04 +01:00
c9a75e3f91
bump version
2024-10-02 10:52:24 +02:00
e4edde082b
bump version
2024-09-25 15:43:15 +02:00
4c10ae89f8
bump version
2024-04-26 13:42:28 +02:00
8cc5a9e3ed
missed commits
2024-02-12 13:36:29 +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
bcf920c91e
correct #39 add --ignoreerrors flag
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
9cd1fc0596
behavior changes: UserAgent configurable, test cookies, check errors
2024-01-24 19:22:31 +01:00
8df3ebfa6d
add throttling to image download
2024-01-24 19:22:31 +01:00
ddae6ed8be
bump version (feature update)
2024-01-22 18:43:44 +01:00
e2afc1350b
added -f to override d-hash, better debug and error handling
2024-01-22 18:43:44 +01:00
T.v.Dein
8771ec1108
added support to calculate and store the ad expire date ( #43 )
2024-01-19 18:38:35 +01:00
T.v.Dein
1896209b96
use new yadu log handler, +tests, +upd modules, +version
2024-01-19 18:38:35 +01:00
T.v.Dein
3c93c9fce0
added docker image support
...
* added environment variable support
* added docker instructions
* added .env hint
2024-01-19 18:38:35 +01:00
T.v.Dein
5fa46ff106
Add HTTP retries and the possibility to ignore image download errors ( #33 )
...
added HTTP retry and --ignoreerrors which ignores image download errors, fix #30
2024-01-19 18:38:35 +01:00
T.v.Dein
dce7604afb
fix #30 : revert default adnamedir to just use the slug as before ( #31 )
2024-01-19 18:38:35 +01:00
5abbab9527
added template for ad directory, by default include id now
2024-01-19 18:38:35 +01:00
8455c193eb
pass a io.Writer to loggers and outputs so we can test the cmdline
2024-01-19 18:38:35 +01:00
T.v.Dein
c4e88d98f2
fix linter errors ( #23 )
2024-01-19 18:38:35 +01:00
T.v.Dein
73c09ec38b
Revert "Fix/newline windows ( #18 )" ( #19 )
...
This reverts commit eaf4db6cef .
2024-01-19 18:38:35 +01:00
T.v.Dein
f901af4f0c
Fix/newline windows ( #18 )
...
* fix #17 : use fmt.Println() after stats
* bump version
2024-01-19 18:38:35 +01:00
T.v.Dein
b8977df986
Bugfixes ( #13 )
...
* several fixes:
- fix #9 + #10 : switched to koanf module and dropped support for HCL
- fix #11 : disabling colors on windows
- fix #12 : fixed race condition in go routine call inside for loop,
images had been downloaded multiple times
- remove hcl support and use toml format (same thing, better parser)
- update documentation and example config on TOML format of config file
- use Config as arg instead of singular args
- use x/errgroup instead of sync.Waitgroup inside image download loop
---------
Co-authored-by: Thomas von Dein <tom@vondein.org >
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
52b39d91a3
fix version finding + bump version
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
e904ed6687
added custom template support, added more ad data, use concurrency
2023-12-16 20:32:10 +01:00
1b55d887bc
enhancements:
...
- english README (german version will be put to the homepage)
- better commandline options
- enhanced logging capabilities and error handling
- config file support
- support to backup one or more singular ads
- add id to adlisting
- added manual page
- fixed config file reading
- fixed typo
2023-12-15 17:19:44 +01:00