Fix last commit

This commit is contained in:
Mattia 2020-07-12 18:31:16 +02:00
parent 995738680c
commit 05abfd747d
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class ChannelClient {
/// If you want a full list of uploads see [getUploadsFromPage]
Stream<Video> getUploads(dynamic channelId) {
channelId = ChannelId.fromString(channelId);
var playlistId = 'UU${channelId.value.substringAfter('UC')}';
var playlistId = 'UU${(channelId.value as String).substringAfter('UC')}';
return PlaylistClient(_httpClient).getVideos(PlaylistId(playlistId));
}

View File

@ -1,6 +1,6 @@
name: youtube_explode_dart
description: A port in dart of the youtube explode library. Supports several API functions without the need of Youtube API Key.
version: 1.4.1
version: 1.4.1+1
homepage: https://github.com/Hexer10/youtube_explode_dart
environment: