Direct Image Link E6AI

Ripper of image ( links for download | names for file ) managers

As of 2023-10-04. See the latest version.

Author
Rainbow-Spike
Ratings
0 0 0
Version
2023.10.04
Created
2023-06-08
Updated
2023-10-04
Size
3.43 KB
License
N/A
Applies to

(I) A direct link extractor for download managers for media from the recent e6AI for, er, neurofurryporn. Userscript features:
1. All individual functions have levers, lever 0 turns the function off, lever 1 turns it on
2. The variable "wanted" - "whitelist" of tags. By default the tags ""pussy"", "tribadism" and "camel_toe" are enabled
3. The variable "unwanted" - "blacklist" of tags + style for muting thumbnails with specified tags. By default, "censored", "gore", "male/male" and "my_little_pony" tags are turned off
4. The variable "toplinks" - insert the field at the page's top, filled with customizable (with second style) columns of data from all images on the page, taking both "lists" if enabled
There are three "mode_lever" modes for data sampling:
- mode 0 "filenames", for managing pictures in file managers like Total Commander, where there is cm_LoadSelectionFromClip command (can be hung on a hotkey; there is also cm_CopyNamesToClip)
- mode 1 "full links", for adding to download managers like Download Master, where there is an option to read links from memory; enabled by default
- mode 2 "post numbers", for managing pictures downloaded through The Wolf Stash android application
5. The variable "piclinks" - insert the link with MD5-code under each picture, stylized to be wrapped anywhere
6. The variable "downloaded" - data cutoff for already downloaded pictures + "codes" attribute - self-populating [ 'array of', 'MD5-codes' ] + fourth style to muting their thumbnails; to reduce the size of the user-script, I left a couple of dummies with zeros in the array

(II) A bit about general image management:
1. Start a subfolder "_info" in the pictures folder, there you can store text files with:
- planned tags for downloading
- a spare double of the array to avoid losing it when the user-script is updated
- regulars described below to replenish the array
2. Start a subfolder "1 input" and to have everything downloaded from e6ai.net dumped directly into it, open "Settings" - "Site Manager" in Download Master and write down its full path for e6ai.net
3. Start a subfolder "2 script", periodically move pictures there for batch replenishment of the userscript array; read block (III)
4. Only after that you can delete unwanted pictures without fear of downloading them again, and move wanted ones to the subfolder "3 clean"
5. If you use "Grabber" from Bionus with the function "Rename existing images" for further sorting by authors/characters/etc, it is better to work it out in the subfolder "4 sort"

(III) Now about replenishing the array in the script:
1. In Total Commander go to the folder with images, Ctrl+B expand all subfolders, * select all, cm_CopyNamesToClip (or its hotkey) copy file names, in the subfolder "_info" Ctrl+F4 create a text file with any name
2. In a regularity-enabled notepad like Notepad++, press: Ctrl+V paste, Edit/Operations with strings/Sort by ascending alphabet, Ctrl+H replace dialog, check the "Regulars mode" box at the bottom

// explanation //
// search //
// replace //

trimming
^.*([0-9a-f]{32}).*$
\1

merge into one line
\n
', '

enclose in apostrophes
(.+)
'\1'

slice by 10
(.{359})space
\1\n

NOTE, in the last regular I marked the "space" as text!

3. Ctrl+A select all, Ctrl+C copy, close Notepad++.
4. Go to userscript-addon in the browser, open the editor for "Direct Image Link E6AI", go to the attribute "downloaded . codes" and inside [] press Ctrl+V paste
5. Ctrl+S save
6. Save the regulars as a separate text file in the "_info" subfolder so you don't have to crawl here again for hints
How wonderful it would be if there was a ready-made program for this!