diff --git a/src/Jackett.Common/Definitions/divteam.yml b/src/Jackett.Common/Definitions/divteam.yml index db9445875..a80226e95 100644 --- a/src/Jackett.Common/Definitions/divteam.yml +++ b/src/Jackett.Common/Definitions/divteam.yml @@ -125,13 +125,19 @@ search: optional: true filters: - name: append - args: " [English]" + args: " English" title: selector: a[href^="index.php?page=torrent-details"][onmouseover]:not(:contains("VOSE")) optional: true filters: + - name: re_replace + args: ["\\W", "."] # Spaces and other characters -> . - name: append - args: " [Spanish] [English]" + args: ".Spanish-DivTeam" + - name: re_replace + args: ["\\.+", "."] # More than 1 dot -> . + - name: re_replace + args: ["^\\.", ""] # Delete first dot banner: selector: a[onmouseover][href^="index.php?page=torrent-details"] attribute: onmouseover