Direct Image Link E621/926

Ripper of image links / names / numbers

Author
Rainbow-Spike
Daily installs
0
Total installs
179
Ratings
1 0 0
Version
2023.10.07
Created
2016-02-27
Updated
2023-10-07
License
N/A
Applies to

(I) A direct link extractor for download managers for media from Glutamate and Bleach. The userscript features:
- switches for each function;
- "white" and "black" tag lists;
- download cutoff by a refillable list;
- full list at the page top, with 3 modes;
- inserts under pictures, with 2 modes.

(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!