summaryrefslogtreecommitdiff
path: root/app/Console/Commands/ScrapeFile.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-06-20 21:07:45 +0100
committerFbenas <philbeansburton@gmail.com>2020-06-20 21:07:45 +0100
commit8d6e8b306d7836e4075a13ad98617bfe5afaa1a0 (patch)
tree99c44e28da231cac0d9e513aabc1ee0768972426 /app/Console/Commands/ScrapeFile.php
parent897b68ac107f2fb0d4dc1d31ce96ce24c862eb27 (diff)
Add new scripts for youtube downloading and syncing with existing matches
Diffstat (limited to 'app/Console/Commands/ScrapeFile.php')
-rw-r--r--app/Console/Commands/ScrapeFile.php2
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();