The Wayback Machine - https://web.archive.org/web/20200705025832/https://github.com/SoundByteOSS/youtube-extractor
Skip to content
Branch: master
Go to file
Code

Latest commit

DominicMaas committed 6884fdb Sep 30, 2019
Merge pull request #17 from w4ll3/master
Added method that gets videoId from URL and fixed hlsLiveStreamUrl that now comes from playerResponse

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

YouTube Extractor

Pub

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

import 'package:youtube_extractor/youtube_extractor.dart';

var extractor = YouTubeExtractor();

main() async {
  // Get the stream info for the passed video
  var streamInfo = await extractor.getMediaStreamsAsync('a1ExYqrBJio');
  
  // Print the audio stream url
  print('Audio URL: ${streamInfo.audio.first.url}');
}

About

YouTube stream extractor library for Dart. Based on YouTubeExplode by Tyrrrz.

Topics

Resources

License

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.