Removed unused stuff
This commit is contained in:
parent
8e82f6245e
commit
73275306fb
@ -17,11 +17,6 @@ Future<String> getInput(int year, int day) async {
|
||||
File(filePath).create(recursive: true);
|
||||
|
||||
var url = Uri.parse('https://adventofcode.com/$year/day/$day/input');
|
||||
final Map<String, String> _headers = {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json",
|
||||
};
|
||||
|
||||
var response = await http.get(url, headers: getCookieHeaders());
|
||||
File(filePath).writeAsStringSync(response.body);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user