JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > Soporte en Español > Spanish
Reply
 
Thread Tools Display Modes
  #1  
Old 06.01.2023, 15:07
RydemStorm RydemStorm is offline
Modem User
 
Join Date: Jan 2023
Posts: 3
Default 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)
Attached Images
File Type: png JD01-Rule.png (171.4 KB, 1 views)
File Type: png JD01-Rule-Test-Ok2.png (286.5 KB, 1 views)
File Type: png JD01-Rule-Parcially-Work2.png (188.8 KB, 1 views)

Last edited by RydemStorm; 06.01.2023 at 15:11.
Reply With Quote
  #2  
Old 09.01.2023, 19:05
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

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?://[^\"]+)\""
  }
]
Rule as plaintext for easier copy & paste:
pastebin.com/raw/9ecw9qv2
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 09.01.2023, 22:46
RydemStorm RydemStorm is offline
Modem User
 
Join Date: Jan 2023
Posts: 3
Default

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
 }
]
Attached Images
File Type: png JDCR.png (139.9 KB, 1 views)

Last edited by RydemStorm; 09.01.2023 at 22:59. Reason: Corrección gramatical
Reply With Quote
  #4  
Old 10.01.2023, 17:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,121
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5  
Old 10.01.2023, 18:24
RydemStorm RydemStorm is offline
Modem User
 
Join Date: Jan 2023
Posts: 3
Default

Quote:
Originally Posted by pspzockerscene View Post
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?[^\"]+)"
  }
]
Thanks a lot.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:55.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.