mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Improve pc game categorization
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$rc = new ReflectionClass(\Blacklight\Games::class);
|
||||
$games = $rc->newInstanceWithoutConstructor();
|
||||
|
||||
$inputs = [
|
||||
'[FitGirl] Red.Dead.Redemption.2.v1.0.1436.28.Repack',
|
||||
'Baldurs_Gate_3_v1.0.2_MULTI12-EMPRESS',
|
||||
'Starfield.Update.1.7.29.Patch-FLT',
|
||||
];
|
||||
foreach ($inputs as $in) {
|
||||
$res = $games->parseTitle($in);
|
||||
echo $in, ' => ', json_encode($res, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), "\n";
|
||||
}
|
||||
Reference in New Issue
Block a user