youtube_extractor 0.1.0 copy "youtube_extractor: ^0.1.0" to clipboard
youtube_extractor: ^0.1.0 copied to clipboard

discontinuedreplaced by: youtube_explode_dart
outdated

A library for extracting YouTube audio and video streams.

YouTube Extractor #

YouTube Extractor is a library for Dart (and Flutter) that provides an interface to resolve and download YouTube video and audio streams. This library is being primarily developed to provide YouTube support for the mobile SoundByte apps.

YouTube Extractor is a port of YouTubeExplode for Dart (minus some extra features that were not needed).

Features #

  • Download YouTube audio and video streams.
  • Access the YouTube live steaming url.

Usage #

YouTube Extractor has a single entry point, the YouTubeExtractor class. See the example folder for more information.

Get an audio stream #

main() async {
  // Get the stream info for the passed video
  var streamInfo = await YouTubeExtractor().getVideoMediaStreamInfosAsync('a1ExYqrBJio');
  
  // Print the audio stream url
  print('Audio URL: ${streamInfo.audio.first.url}');
}
46
likes
0
pub points
27%
popularity

Publisher

unverified uploader

A library for extracting YouTube audio and video streams.

Homepage

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on youtube_extractor