Official-Husko / NN-Downloader

Easily download all of your favorite Naughty images from multiple sites.
Mozilla Public License 2.0
47 stars 8 forks source link

Tag downloads for AI training #12

Closed Nechochwen-D closed 6 months ago

Nechochwen-D commented 6 months ago

Would it be possible to add an option to download the tags associated with an image, possibly to a /metadata/[date][time][tags]/ directory?

Official-Husko commented 6 months ago

I a bit confused on what you mean exactly. Do you have an example? A folder layout or whatever might make my monkey brain understand this.

Nechochwen-D commented 6 months ago

Something like this, image 4593278.json made that .json by hand.

Official-Husko commented 6 months ago

That should be doable. I will take a look into it later today to see what i can do.

Official-Husko commented 6 months ago

@Nechochwen-D I have a test build ready. Please give it a shot and if it fulfills your needs tag me so i can release the update publicly as a full build.

Windows/Compiled: NN-Downloader-EXPERIMENTAL.zip Linux/Source: dev.zip

you can also view or get the files from the dev branch if you need to get it like that.

Nechochwen-D commented 6 months ago

I am getting an error message.

  File "/home/user/NN-Downloader/main.py", line 1, in <module>
    from modules import *
  File "/home/user/NN-Downloader/modules/__init__.py", line 1, in <module>
    from .proxyScraper import ProxyScraper
ModuleNotFoundError: No module named 'modules.proxyScraper'

switched to the /dev branch.

Nechochwen-D commented 6 months ago

The compiled version seems to work through wine however. And the file layout works just fine too.

Nechochwen-D commented 6 months ago

@Official-Husko I think there is an issue with the capitalization's of the files being called not matching. You may want to take a look at that.

Nechochwen-D commented 6 months ago

edited.zip This seems to work for me. I manually merged the changes from your dev branch to the files I got from the master branch.

Nechochwen-D commented 6 months ago

Thanks.

Official-Husko commented 6 months ago

I am getting an error message.

  File "/home/user/NN-Downloader/main.py", line 1, in <module>
    from modules import *
  File "/home/user/NN-Downloader/modules/__init__.py", line 1, in <module>
    from .proxyScraper import ProxyScraper
ModuleNotFoundError: No module named 'modules.proxyScraper'

switched to the /dev branch.

Ah yes sorry about that, that's a linux specific issue i forgot to fix on the dev branch. Glad to hear you were able to fix it. i will finish the update and release it publicly with the linux issue solved directly.