2023-01-26 22:35:58 +01:00
|
|
|
import 'dart:core';
|
|
|
|
|
|
|
|
import 'package:funkblubber/funkblubber.dart' as funkblubber;
|
|
|
|
import 'package:funkblubber/console.dart' as console;
|
|
|
|
import 'package:funkblubber/funkentity.dart';
|
|
|
|
import 'package:funkblubber/parser.dart' as parser;
|
|
|
|
|
|
|
|
void main(final List<String> arguments) async {
|
2023-01-29 23:18:41 +01:00
|
|
|
final object =
|
|
|
|
parser.extract(['https://fw.ponychord.rocks/library/albums/2034/']);
|
2023-01-26 22:35:58 +01:00
|
|
|
if (object.kind == FunkEntity.error) {
|
|
|
|
console.error("'funkblubber --help 'for more");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
await funkblubber.download(object: object);
|
|
|
|
}
|