Version 0.0.13

Fix Channel expression
Closes #15
This commit is contained in:
Hexah 2020-03-10 21:58:02 +01:00
parent 6e4c7aa50c
commit f9ca0cab1f
3 changed files with 8 additions and 4 deletions

View File

@ -50,4 +50,8 @@
## 0.0.12
- Bug fix(#15): Fix invalid upload date.
- Bug fix(#15): Fix invalid upload date.
## 0.0.13
- Bug fix(#15): Fix valid channel expression

View File

@ -121,7 +121,7 @@ extension ChannelExtension on YoutubeExplode {
return false;
}
return !RegExp(r'[^0-9a-zA-Z]').hasMatch(channelId);
return !RegExp(r'[^0-9a-zA-Z_\-]').hasMatch(channelId);
}
/// Parses a channel id from an url.

View File

@ -1,6 +1,6 @@
name: youtube_explode_dart
description: A port in dart of the youtube explode library. Support serveral API functions.
version: 0.0.12
description: A port in dart of the youtube explode library. Supports several API functions.
version: 0.0.13
homepage: https://github.com/Hexer10/youtube_explode_dart
environment: