Hexer10 / youtube_explode_dart

Dart library to interact with many Youtube APIs
https://pub.dev/packages/youtube_explode_dart
BSD 3-Clause "New" or "Revised" License
326 stars 143 forks source link

[BUG] getAboutPageByUsername Failed to perform an HTTP request to YouTube due to a fatal failure #223

Closed azkadev closed 2 years ago

azkadev commented 2 years ago
import 'package:youtube_explode_dart/youtube_explode_dart.dart';

void main(List<String> args) async {
  var youtube = YoutubeExplode();
  var channel = await youtube.channels.getAboutPageByUsername("miawaug");
  print(channel);
}
FatalFailureException (FatalFailureException: Failed to perform an HTTP request to YouTube due to a fatal failure.
In most cases, this error indicates that YouTube most likely changed something, which broke the library.
If this issue persists, please report it on the project's GitHub page.
Request: GET https://www.youtube.com/user/@miawaug/about?hl=en
Response: (404)
)
Hexer10 commented 2 years ago

I couldn't reproduce this, your error indicates you are passing @miawaug as an argument in youtube.channels.getAboutPageByUsername