diff options
Diffstat (limited to 'app/Console/Commands/ScrapeFile.php')
-rw-r--r-- | app/Console/Commands/ScrapeFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Console/Commands/ScrapeFile.php b/app/Console/Commands/ScrapeFile.php index 4cfef90..45beda9 100644 --- a/app/Console/Commands/ScrapeFile.php +++ b/app/Console/Commands/ScrapeFile.php @@ -49,7 +49,7 @@ class ScrapeFile extends Command $raw_data = Storage::disk('local')->get($filename); - $service = new Service(new SixnationsrugbyAdapter($raw_data, 'Six Nations')); + $service = new Service(new SixnationsrugbyAdapter($raw_data, 'Six Nations ' . explode('-', explode('.txt', $filename)[0])[1])); $service->save(); |