Update version

Export youtube_http_client.dart
This commit is contained in:
Mattia 2020-09-03 20:53:07 +02:00
parent fd88cf0907
commit 9de29f0a48
4 changed files with 10 additions and 4 deletions

View File

@ -3,6 +3,11 @@
- Only throw custom exceptions from the library.
- `getUploadsFromPage` no longer throws.
## 1.4.4
- Expose HttpClient in APIs
- Fix #55: Typo in README.md
- Fix #61: DartVM when the YouTube explode client is closed.
## 1.4.3
- Fix #59
- Implement for tests #47

View File

@ -1,7 +1,6 @@
import 'package:youtube_explode_dart/src/exceptions/exceptions.dart';
import '../channels/channel_id.dart';
import '../common/common.dart';
import '../exceptions/exceptions.dart';
import '../reverse_engineering/responses/responses.dart';
import '../reverse_engineering/youtube_http_client.dart';
import 'closed_captions/closed_caption_client.dart';
@ -71,6 +70,7 @@ class VideoClient {
Engagement(video.viewCount, video.likes, video.dislikes));
}
/// Get a [Video] instance from a [videoId]
Future<Video> get(dynamic videoId) async {
videoId = VideoId.fromString(videoId);

View File

@ -5,6 +5,7 @@ export 'src/channels/channels.dart';
export 'src/common/common.dart';
export 'src/exceptions/exceptions.dart';
export 'src/playlists/playlists.dart';
export 'src/reverse_engineering/youtube_http_client.dart';
export 'src/search/search.dart';
export 'src/videos/videos.dart';
export 'src/youtube_explode_base.dart';

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.3
version: 1.4.4
homepage: https://github.com/Hexer10/youtube_explode_dart
environment:
@ -16,7 +16,7 @@ dependencies:
dev_dependencies:
effective_dart: ^1.2.3
effective_dart: ^1.2.4
console: ^3.1.0
test: ^1.12.0
grinder: ^0.8.5