From 8d6e8b306d7836e4075a13ad98617bfe5afaa1a0 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sat, 20 Jun 2020 21:07:45 +0100 Subject: Add new scripts for youtube downloading and syncing with existing matches --- app/Console/Commands/ScrapeFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Console/Commands/ScrapeFile.php') 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(); -- cgit v1.2.3