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