/** * Updates now playing movies from external sources. * * @return void */ public function updatePlaying() { $this->scraper->updateNowPlaying(); Event::fire('titles.nowPlayingUpdated', Carbon::now()); return Redirect::back()->withSuccess(trans('dash.updated now playing successfully')); }
/** * Fully scrapes specified amount of titles in db. * * @return Response */ public function scrapeFully() { $amount = Input::get('amount'); $amount = $this->scraper->inDb($amount); return Redirect::back()->withSuccess(trans('dash.fully scraped', array('amount' => $amount))); }