youtube_explode_dart 1.9.0-nullsafety.4 youtube_explode_dart: ^1.9.0-nullsafety.4 copied to clipboard
A port in dart of the youtube explode library. Supports several API functions without the need of Youtube API Key.
// ignore_for_file: avoid_print
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
Future<void> main() async {
final yt = YoutubeExplode();
var manifest = await yt.videos.closedCaptions.getManifest('Pxgvgh9IFqA');
print(manifest.tracks);
print('\n\n---------------------\n\n');
manifest = await yt.videos.closedCaptions.getManifest('Pxgvgh9IFqA');
print(manifest.tracks);
yt.close();
}