Hello , I read almost the whole topic (and it took me a lifetime);
I've already copied and tried some scripts , but I didn't find what I was looking for (there was something approaching but I have no idea how I could modify it).
So I ask those who know the topic for help , is it possible to have a script that changes the name of the "packages" obtained with "linkcrawler" / plugin?
I try to explain myself better: (es)
I copy link of site "X" , "Y" ... etc.
--> JD do is work , grab the file and pack them (ok)
--> in the Linkgrabbe tab show something like:
Quote:
-Shounin Yuusha wa Isekai wo Gyuujiru!-Vol 1-Ch 1
-Shounin Yuusha wa Isekai wo Gyuujiru!-Vol 1-Ch 2
-Shounin Yuusha wa Isekai wo Gyuujiru!-Vol 1-Ch 3
-Kenja no Mago-Ch 28 1
-Kenja no Mago-Ch 10 5
-Kenja no Mago-Vol 4-Ch 17 7
-[G-Wara] Under the Night Sky
-[Momoduki Suzu] Keeping My Junior All to Myself ❤ (Comic Kairakuten 2020-02)
-[mogg] Home Tutor ~Lesson 2 Siblings~ (Comic Kairakuten 2020-02)
|
each "package" / "folder" contains its files.
now with [ Trigger: Toolbar Button Pressed] , I would need a script that checks the package names and replaces or modifies some of them based on values specified in the script, example:
a) if you find "Vol " replace with "V0"
b) if you find "~" replace with "-"
c) if you find "Darkwing duck & co" replace with "nada"
.... etc
"clean up" replace strange characters like "❤,:,/,\,*,%,^,",°" with " "
therefore after starting the script the titles of the example should become:
Quote:
-Shounin Yuusha wa Isekai wo Gyuujiru!-V01-Ch 1
-Shounin Yuusha wa Isekai wo Gyuujiru!-V01-Ch 2
-Shounin Yuusha wa Isekai wo Gyuujiru!-V01-Ch 3
-Kenja no Mago-Ch 28 1
-Kenja no Mago-Ch 10 5
-Kenja no Mago-V04-Ch 17 7
-[G-Wara] Under the Night Sky
-[Momoduki Suzu] Keeping My Junior All to Myself (Comic Kairakuten 2020-02)
-[mogg] Home Tutor -Lesson 2 Siblings- (Comic Kairakuten 2020-02)
|
note: the names of the individual files are as good as they are,
what I have to change is just the name of the package