#1
|
|||
|
|||
Problemas con Packagizer Rules animeflv.net
Cree una regla que me permite descargar en una carpeta los videos de cierto dominio.
Al probar la regla, efectivamente solo marca que los videos satisfacen dicha regla. Pero al usarla, siempre quedan urls de ficheros JS, PNG, etc, que se escapan a dicha regla y salen en el LinkGrabber. Para crear la regla lo hago de la siguiente forma: Adicionar regla. FileType: is, Custom Type, mp4 Sourceurl(s): **External links are only visible to Support Staff****External links are only visible to Support Staff** Download Directory: D:\Media\Animes Enlace de prueba: **External links are only visible to Support Staff****External links are only visible to Support Staff** Tratando de eliminar los archivos que se escapaban a la regla le añadí además: File Size: Between, 15MB, 5GB No se usa ninguna cuenta, es un servidor público, libre acceso. ID de registro de log: 05.01.23 15.33.05 <--> 05.01.23 15.46.16 jdlog://4322311370661/ De igual forma se escapan algunos archivos que no son de video. Adjunté tres imágenes. JDownloader: Build Date: Sun Jan 01 10:24:12 CET 2023 Java: Oracle Corporation - Java SE Runtime Environment - 1.8.0_162 (32bit/X86) OS: Windows 11 Enterprise 22H2 Build 22621.963 (64bit) Core: #47256 Launcher: #5663 AppWork Utilities: #3909 Browsen #47252 Updater: #1038 Antivirus y Cortafuego: Kaspersky Total Security 21.3.10.391(j) Last edited by RydemStorm; 06.01.2023 at 15:11. |
#2
|
||||
|
||||
Hi,
it doesn't work this way: The filter removes items matching that criteria. What you want is a LinkCrawler Rule which can be used to tell JD what to crawl from where (sort of more like a whitelist principle). Here is a rule that might do what you want: Code:
[ { "enabled": true, "logging": false, "maxDecryptDepth": 1, "name": "jdownloader.org example rule grab all download-URLs from animeflv.net", "pattern": "https?://\\w+\\.animeflv\\.net/ver/[a-z0-9\\-]+", "rule": "DEEPDECRYPT", "packageNamePattern": null, "deepPattern": "target=\"_blank\" rel=\"nofollow\" href=\"(https?://[^\"]+)\"" } ] pastebin.com/raw/9ecw9qv2
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
Estuve probando la regla, le he hecho algunas personalizaciones, de momento está funcionando, excepto por un detalle.
Si deshabilito la regla, me salen de 6 a 9 enlaces de descarga. Sin embargo, al habilitar la regla, solo me salen 3. Tienes alguna idea de que debería cambiar? Code:
[ { "cookies" : [ ["device","computer"], [ "PHPSESSID", "jpkk36j26g0e29inq816chtfnf" ] ], "deepPattern" : "target=\"_blank\" rel=\"nofollow\" href=\"(https?://[^\"]+)\"", "formPattern" : null, "id" : 1673295619252, "maxDecryptDepth" : 5, "name" : "animeflv", "packageNamePattern" : "<h1 class=\"Title\" title=\"(.* Episodio \\d+?)\">.+</h1>", "passwordPattern" : null, "pattern" : "https?://www3\\.animeflv\\.net/ver/.+", "rewriteReplaceWith" : null, "rule" : "DEEPDECRYPT", "enabled" : true, "logging" : false, "updateCookies" : true } ] Last edited by RydemStorm; 09.01.2023 at 22:59. Reason: Corrección gramatical |
#4
|
||||
|
||||
I've found a better deepPattern which will catch all items:
Code:
[ { "enabled": true, "logging": false, "maxDecryptDepth": 1, "name": "jdownloader.org example rule grab all download-URLs from animeflv.net", "pattern": "https?://\\w+\\.animeflv\\.net/ver/[a-z0-9\\-]+", "rule": "DEEPDECRYPT", "packageNamePattern": "<title>([^<]+)</title>", "deepPattern": "\"code\"\\s*:\\s*\"(https?[^\"]+)" } ]
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|