mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Merge branch 'dev' of https://github.com/NNTmux/newznab-tmux into dev
This commit is contained in:
@@ -1042,6 +1042,8 @@ class Categorize extends Category
|
||||
switch(true) {
|
||||
case $this->checkPoster( '/oz@lot[.]com/i', $this->poster, Category::XXX_CLIPSD):
|
||||
return true;
|
||||
case $this->checkPoster( '/anon@y[.]com/i', $this->poster, Category::XXX_CLIPSD):
|
||||
return true;
|
||||
case stripos($this->releaseName, 'SDPORN') !== false:
|
||||
$this->tmpCat = Category::XXX_CLIPSD;
|
||||
return true;
|
||||
|
||||
@@ -778,7 +778,7 @@ class NameFixer
|
||||
|
||||
$this->fixed++;
|
||||
|
||||
if(!empty($release['fromname']) && preg_match('/oz@lot[.]com/i', $release['fromname'])) {
|
||||
if(!empty($release['fromname']) && (preg_match('/oz@lot[.]com/i', $release['fromname']) || preg_match('/anon@y[.]com/i', $release['fromname']))) {
|
||||
$newName = preg_replace('/(KTR|GUSH|BIUK|WEIRD)$/', 'SDCLiP', $newName);
|
||||
}
|
||||
$newName = explode("\\", $newName);
|
||||
|
||||
Reference in New Issue
Block a user