mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 04:01:24 +00:00
17 lines
473 B
PHP
17 lines
473 B
PHP
<?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";
|
|
}
|