mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 18:28:54 +00:00
Updated namecleaner
This commit is contained in:
@@ -591,6 +591,14 @@ class nameCleaning
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.downunder")
|
||||
{
|
||||
//RWlgVffClWxD0vXT1peIwb9DubTLMiYm3nvD1aMMDe[04/16] - "A9jFik7Fk4hCG4GWuxAg.r02" yEnc
|
||||
if (preg_match('/^([a-zA-Z0-9]{5,}\[)\d+\/\d+\] - ".+?" yEnc$/', $subject, $match))
|
||||
return $match[1];
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.dvd")
|
||||
{
|
||||
//thnx to original poster [00/98] - "2669DFKKFD2008.nzb ` 2669DFKKFD2008 " yEnc
|
||||
@@ -628,6 +636,14 @@ class nameCleaning
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.font")
|
||||
{
|
||||
//RWlgVffClWxD0vXT1peIwb9DubTLMiYm3nvD1aMMDe[04/16] - "A9jFik7Fk4hCG4GWuxAg.r02" yEnc
|
||||
if (preg_match('/^([a-zA-Z0-9]{5,}\[)\d+\/\d+\] - ".+?" yEnc$/', $subject, $match))
|
||||
return $match[1];
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.fz")
|
||||
{
|
||||
//>ghost-of-usenet.org>Monte.Cristo.GERMAN.2002.AC3.DVDRiP.XviD.iNTERNAL-HACO<HAVE FUN> "haco-montecristo-xvid-a.par2" yEnc
|
||||
@@ -758,11 +774,24 @@ class nameCleaning
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.milo")
|
||||
{
|
||||
//RWlgVffClWxD0vXT1peIwb9DubTLMiYm3nvD1aMMDe[04/16] - "A9jFik7Fk4hCG4GWuxAg.r02" yEnc
|
||||
//H8XxBd44qXBGk [05/15] - "H8XxBd44qXBGk.part5.rar" yEnc
|
||||
if (preg_match('/^([a-zA-Z0-9]{5,} ?\[)\d+\/\d+\] - ".+?" yEnc$/', $subject, $match))
|
||||
return $match[1];
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
else if ($groupName === "alt.binaries.mojo")
|
||||
{
|
||||
//[17/61] - "www.realmom.info - xvid - xf-devilstomb.r14" - 773,11 MB - yEnc
|
||||
if (preg_match('/^\[\d+\/\d+\] - "(.+?)'.$this->e0.' - \d+[,.]\d+ [mMkKgG][bB] - yEnc$/', $subject, $match))
|
||||
return $match[1];
|
||||
//RWlgVffClWxD0vXT1peIwb9DubTLMiYm3nvD1aMMDe[04/16] - "A9jFik7Fk4hCG4GWuxAg.r02" yEnc
|
||||
//3JgtmNAbZbJ6Q [14/21] - "parfile.par2" yEnc
|
||||
else if (preg_match('/^([a-zA-Z0-9]{5,} ?\[)\d+\/\d+\] - ".+?" yEnc$/', $subject, $match))
|
||||
return $match[1];
|
||||
else
|
||||
return $this->releaseCleanerHelper($subject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user