2021-03-11 14:20:10 +01:00
|
|
|
// ignore_for_file: avoid_print
|
2021-09-28 16:49:38 +02:00
|
|
|
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
|
2021-03-26 10:07:54 +01:00
|
|
|
|
2020-02-20 19:50:10 +01:00
|
|
|
Future<void> main() async {
|
2021-03-26 10:07:54 +01:00
|
|
|
var yt = YoutubeExplode();
|
2021-11-12 21:04:53 +01:00
|
|
|
var streamInfo = await yt.videos.streamsClient.getManifest('fRh_vgS2dFE');
|
2020-02-20 19:50:10 +01:00
|
|
|
|
2021-11-12 21:04:53 +01:00
|
|
|
print(streamInfo);
|
2020-11-13 09:21:36 +01:00
|
|
|
|
2021-03-26 10:07:54 +01:00
|
|
|
// Close the YoutubeExplode's http client.
|
2020-11-13 09:21:36 +01:00
|
|
|
yt.close();
|
2020-02-20 19:50:10 +01:00
|
|
|
}
|