Search using gID from title use custom regular expressions
zizzdog opened this issue · comments
I found that the original plugin can only search for numbers inside square brackets [xxx] as GID, but the GID of the files I downloaded start with a number.
Although I can read and modify the code to suit my needs, could you please explain the matching rules on the plugin page? It would be even better if there could set a regular expression input box to accommodate everyone's needs.
I usually use EhViewer to download files, and the file names are typically like this:
123456-(C100) [Group (Name)] Title [Language].zip
That's the way h@h downloader names archives, and generally the most used format (e.g. chaika downloads or pandaforever by default)
I really don't want to expose the regex since it's atrociously complex and people will mess it up, but the source code for filename parsing details it fully: