Version 0.0.12
This commit is contained in:
parent
545808fd97
commit
6e4c7aa50c
|
@ -46,4 +46,8 @@
|
||||||
|
|
||||||
## 0.0.11
|
## 0.0.11
|
||||||
|
|
||||||
- New extension: DownloadExtension adding `downloadStream` function.
|
- New extension: DownloadExtension adding `downloadStream` function.
|
||||||
|
|
||||||
|
## 0.0.12
|
||||||
|
|
||||||
|
- Bug fix(#15): Fix invalid upload date.
|
|
@ -44,7 +44,7 @@ extension PlaylistExtension on YoutubeExplode {
|
||||||
var videoId = videoJson['encrypted_id'];
|
var videoId = videoJson['encrypted_id'];
|
||||||
var author = videoJson['author'];
|
var author = videoJson['author'];
|
||||||
var uploadDate = DateTime.fromMillisecondsSinceEpoch(
|
var uploadDate = DateTime.fromMillisecondsSinceEpoch(
|
||||||
videoJson['time_created'] * 100);
|
videoJson['time_created'] * 1000);
|
||||||
var title = videoJson['title'];
|
var title = videoJson['title'];
|
||||||
var description = videoJson['description'];
|
var description = videoJson['description'];
|
||||||
var duration = Duration(seconds: videoJson['length_seconds']);
|
var duration = Duration(seconds: videoJson['length_seconds']);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: youtube_explode_dart
|
name: youtube_explode_dart
|
||||||
description: A port in dart of the youtube explode library. Support serveral API functions.
|
description: A port in dart of the youtube explode library. Support serveral API functions.
|
||||||
version: 0.0.11
|
version: 0.0.12
|
||||||
homepage: https://github.com/Hexer10/youtube_explode_dart
|
homepage: https://github.com/Hexer10/youtube_explode_dart
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue