#1
|
|||
|
|||
Packagizer REGEX - capture group without underscopes
Hi again! Last week, if someone show me this:
Code:
(https?://somesite.*\/)(\d+[-|_])(.+\.)(html) But with all effort and patience i have witnessed here in this forum, i cant thank you enough for that...i am now able to write that regex code despite it taking 3 hours lol... But since i got infected with knowledge, and the journey being endless, i cant stop but wonder if i can make a better capture... this code above gets me what i want in "capture group 3". original page link Code:
**External links are only visible to Support Staff** Code:
some-page-title-with-dashes Code:
<jd:source:3><jd:orgfiletype> Code:
some page title with dashes.extension Last edited by I3ordo; 08.05.2022 at 22:31. |
#2
|
||||
|
||||
Hi again,
this is not possible using the Packagizer. The only way you could currently do this is by either writing a custom JD plugin ur using a simple EventScripter script. ...of course you could also simply use external tools to rename such files afterwards. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
||||
|
||||
@I3ordo: check/ask https://board.jdownloader.org/showthread.php?t=70525
I'm sure there already exists a script for such rename action. In doubt, ask in the thread.
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|