Skip to content

Commit

Permalink
Updated namecleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Aug 15, 2013
1 parent 8a8585a commit c5df754
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions test/namecleaner.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,14 @@ public function releaseCleaner($subject, $groupID)
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
Expand Down Expand Up @@ -628,6 +636,14 @@ public function releaseCleaner($subject, $groupID)
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
Expand Down Expand Up @@ -758,11 +774,24 @@ public function releaseCleaner($subject, $groupID)
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);
}
Expand Down

0 comments on commit c5df754

Please sign in to comment.