Closed zaifullahbandung closed 5 years ago
and this is the full error
E/flutter (18797): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Video [rnMhnbcU7vo] is not available and cannot be processed. Code: 2. Reason: Invalid parameters..
E/flutter (18797): #0 YouTubeExtractor._getVideoInfoParserAsync (package:youtube_extractor/youtube_extractor.dart:266:7)
E/flutter (18797):
Error at this line: https://github.com/SoundByteOSS/youtube-extractor/blob/master/lib/youtube_extractor.dart#L262
The result return from youtube is reason=Invalid+parameters.&status=fail&errorcode=2
Should be changed to https://www.youtube.com/get_video_info?video_id=$videoId
Published the fixed package
Unhandled Exception: Video [HZ7PAyCDwEg] is not available and cannot be processed. Code: 2. Reason: Invalid parameters..