E/flutter ( 8964): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: FatalFailureException: Failed to perform an HTTP request to YouTube due to a fatal failure.
E/flutter ( 8964): In most cases, this error indicates that YouTube most likely changed something, which broke the library.
E/flutter ( 8964): If this issue persists, please report it on the project's GitHub page.
E/flutter ( 8964): Request: GET https://youtube.com/get_video_info?video_id=U6n2NcJ7rLc&el=embedded&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2FU6n2NcJ7rLc&hl=en&html5=1&c=TVHTML5&cver=6.20180913
E/flutter ( 8964): Response: (410)
E/flutter ( 8964):
E/flutter ( 8964): #0 YoutubeHttpClient._validateResponse (package:youtube_explode_dart/src/reverse_engineering/youtube_http_client.dart:49:7)
E/flutter ( 8964): #1 YoutubeHttpClient.getString (package:youtube_explode_dart/src/reverse_engineering/youtube_http_client.dart:59:7)
E/flutter ( 8964): <asynchronous suspension>
E/flutter ( 8964): #2 VideoInfoResponse.get.<anonymous closure> (package:youtube_explode_dart/src/reverse_engineering/responses/video_info_response.dart:73:17)
E/flutter ( 8964): <asynchronous suspension>
E/flutter ( 8964): #3 retry (package:youtube_explode_dart/src/retry.dart:17:14)
E/flutter ( 8964): <asynchronous suspension>
E/flutter ( 8964): #4 VideoClient._getVideoFromWatchPage (package:youtube_explode_dart/src/videos/video_client.dart:32:9)
E/flutter ( 8964): <asynchronous suspension>
Discussed in #166
Originally posted by One-djey August 31, 2021
Hi all!
I just started a new flutter project and I use this library version 1.9.10 to download audio from youtube videos. But it seems that something went wrong. I stick to the demo to download the U6n2NcJ7rLc using the
download(String id)function from this example.And I got the following error:
Does anyone have a solution?