Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.57k stars 220 forks source link

When saving the %source:unsafe% tag to a local danbooru instance it should not convert underscores in the filename to spaces. #2652

Closed GlassedSilver closed 2 years ago

GlassedSilver commented 2 years ago

Bug description

Basically refer to our chat we just had on Discord :) (or see title :P)

Steps to reproduce

  1. Go to Options
  2. Click on Commands
  3. Enter the string to use a local danbooru instance to send posts to, make sure to use the %source:unsafe% tag
  4. Hit okay and save an image. In the log you will see that the source will be passed with underscores converted to spaces.

Expected behavior

Unsafe to not alter anything in any direction. :)

Context

we had a chat about this :)

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Additional context

n/a

Bionus commented 2 years ago

I added a new raw option that does not touch the value at all. So you should use %source:raw% instead 👍 I also updated the docs to match.

If you try on the nightly release, does that fix the issue?