Hexer10 / youtube_explode_dart

Dart library to interact with many Youtube APIs

Home Page:https://pub.dev/packages/youtube_explode_dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Null Safety Error

guiima opened this issue · comments

Describe the bug
lib/src/reverse_engineerung/pages/wathc_page.dart ln128

var cookies = req.headers['set-cookie']!;

"Error: Unexpected null value.

Flutter version: 3.10.6
Dart version: 3.0.6

commented

I can probably ignore the cookies if they are not sent recieved, but this should not happen, on which enviroment were you running the code?

I can probably ignore the cookies if they are not sent recieved, but this should not happen, on which enviroment were you running the code?

I have the same problem on the web !

final Video video = await YoutubeExplode().videos.get(url);
response1 = video.thumbnails.standardResUrl;