0 purchases
youtube dart
Youtube Dart #
Youtube dart for scrape youtube in cross platform and support server side,
no required api for get data,
Quickstart
import 'dart:convert';
import 'dart:io';
import 'package:youtube_dart/youtube_dart.dart';
void main(List<String> arguments) async {
Youtube yt = Youtube("SQssRqqE0yo");
var res = await yt.info(null);
print(res);
}
copied to clipboard
{
"ok": true,
"result": {
"title": "Cara Build Azkagram Di github actions || Azkadev",
"author_name": "Azkadev",
"author_url": "https://www.youtube.com/channel/UC928-F8HenjZD1zNdMY42vA",
"type": "video",
"height": 113,
"width": 200,
"version": "1.0",
"provider_name": "YouTube",
"provider_url": "https://www.youtube.com/",
"thumbnail_height": 360,
"thumbnail_width": 480,
"thumbnail_url": "https://i.ytimg.com/vi/SQssRqqE0yo/hqdefault.jpg",
"html": "<iframe width=\"200\" height=\"113\" src=\"https://www.youtube.com/embed/SQssRqqE0yo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen title=\"Cara Build Azkagram Di github actions || Azkadev\"></iframe>",
"thumbnail": {
"hd": "https://img.youtube.com/vi/SQssRqqE0yo/hqdefault.jpg",
"sd": "https://img.youtube.com/vi/SQssRqqE0yo/sddefault.jpg",
"mq": "https://img.youtube.com/vi/SQssRqqE0yo/mqdefault.jpg",
"small": "https://img.youtube.com/vi/SQssRqqE0yo/default.jpg"
}
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.