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
299 stars 122 forks source link

[BUG] get() crashes on web #259

Closed sunilguptasg closed 10 months ago

sunilguptasg commented 10 months ago

get() crashes on web with

ClientException: XMLHttpRequest error., uri=https://youtube.com/watch?v=ti4kFKw2ikk&bpctr=9999999999&hl=en

same youtube link works on Android

    var yt = yt_explode.YoutubeExplode();
    yt_explode.Video video = await yt.videos.get('"https://youtu.be/ti4kFKw2ikk"');

[√] Flutter (Channel stable, 3.13.8, on Microsoft Windows [Version 10.0.19045.3570], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.5) [√] Android Studio (version 2022.3) [√] Android Studio (version 2021.2) [√] VS Code (version 1.79.2) [√] VS Code, 64-bit edition (version 1.64.0) [√] Connected device (5 available) [√] Network resources

sunilguptasg commented 10 months ago

Duplicate - closing