13 lines
308 B
Dart
13 lines
308 B
Dart
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
|
|
|
|
Future<void> main() async {
|
|
var yt = YoutubeExplode();
|
|
var video =
|
|
await yt.videos.get('https://www.youtube.com/watch?v=bo_efYhYU2A');
|
|
|
|
print('Title: ${video.title}');
|
|
|
|
// Close the YoutubeExplode's http client.
|
|
yt.close();
|
|
}
|