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] Null Safety Error #247

Closed guiima closed 1 year ago

guiima commented 1 year ago

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

Hexer10 commented 1 year ago

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?

mbfakourii commented 6 months ago

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;