/** * Download Player Matches * * @return Response */ public function matches(Request $request) { $match_player_id = $request->input('player_id'); $ss = new Scraper(); $ss->get_matches($match_player_id); $match = Match::where('player2_id', '=', $match_player_id)->get(); return redirect('admin/scraper'); }