This commit is contained in:
Mattia 2021-07-26 00:46:15 +02:00 committed by GitHub
parent 56d8281657
commit a51e38dcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ YoutubeExplode is a library that provides an interface to query metadata of YouT
Add the dependency to the pubspec.yaml (Check for the latest version)
```yaml
youtube_explode_dart: ^1.9.1
youtube_explode_dart: ^1.10.4
```
Import the library
@ -52,7 +52,7 @@ import 'package:youtube_explode_dart/youtube_explode_dart.dart';
The following example shows how you can extract various metadata from a YouTube video:
```dart
// You can provider either a video ID or URL as String or an instance of `VideoId`.
// You can provide either a video ID or URL as String or an instance of `VideoId`.
var video = yt.videos.get('https://youtube.com/watch?v=Dpp1sIL1m5Q'); // Returns a Video instance.
var title = video.title; // "Scamazon Prime"