Closed sybarix closed 2 years ago
1) --verbose doesn't seem to generate debug.log
py kemono-dl.py --cookies "kemono.party_cookies.txt,coomer.party_cookies.txt" --kemono-fav-users all --coomer-fav-users all --skip-filetypes PSD --inline --content --comments --extract-links --icon --banner --yt-dlp --dirname-pattern "Downloads\{username} [{user_id}]" --filename-pattern "({published}) {index} - {filename} [{id}].{ext}" --verbose pause
I am aware of this. I still needed to redo the debug info so --verbose
is kind of useless in this build.
2) single quote used in example on main post, but doesn't work with spaces. Double quotes needed.
py kemono-dl.py --cookies "kemono.party_cookies.txt,coomer.party_cookies.txt" --kemono-fav-users all --coomer-fav-users all --skip-filetypes PSD --inline --content --comments --extract-links --icon --banner --yt-dlp --dirname-pattern 'Downloads\{username} [{user_id}]' --filename-pattern '({published}) {index} - {filename} [{id}].{ext}' --verbose pause
Oops kind of just copied them from the script. Forgot windows terminal doesn't like single quotes.
3) Can't change output path
--dirname-pattern "D:\Storage\..."
expected result: output changes to "D:\Storage..." actual result: output changes to "D:_\Storage..." fix: use symlinks for now i guess
Yes it seems I forgot to re add the absolute path check so the :
is getting turned into an _
4) Date command doesn't work as expected
command 1:
--date-strf-pattern %y%m%d
expected result: using {published} in filename results in 220423 actual result: using {published} in filename results in (md)
command 2:
--date-strf-pattern %Y%m%d
expected result: using {published} in filename results in 20220423 actual result: using {published} in filename results in ('md')
command 3:
--date-strf-pattern %y/%m/%d
expected result: using {published} in filename results in 22/04/23 actual result: using {published} in filename results in (m_d)
You must be running it from a windows batch script so you must use %% to pass a literal %. That is a windows batch limitation not the scripts.
You must be running it from a windows batch script so you must use %% to pass a literal %. That is a windows batch limitation not the scripts.
Yup I'm using a batch script. Replacing % with %% makes it work as expected, thanks!
For issue 3 I actually found why it is doing that weird _
. I'll push an update in like 30 minutes.
Version
Version: 2022.04.22
1) --verbose doesn't seem to generate debug.log
2) single quote used in example on main post, but doesn't work with spaces. Double quotes needed.
Error messages and tracebacks
Fix: replace ' with " and it works
3) Can't change output path
expected result: output changes to "D:\Storage..." actual result: output changes to "D:_\Storage..." fix: use symlinks for now i guess
4) Date command doesn't work as expected
command 1:
expected result: using {published} in filename results in 220423 actual result: using {published} in filename results in (md)
command 2:
expected result: using {published} in filename results in 20220423 actual result: using {published} in filename results in ('md')
command 3:
expected result: using {published} in filename results in 22/04/23 actual result: using {published} in filename results in (m_d)