diff --git a/lib/src/reverse_engineering/responses/search_page.dart b/lib/src/reverse_engineering/responses/search_page.dart index 5c8c5f5..35e9e64 100644 --- a/lib/src/reverse_engineering/responses/search_page.dart +++ b/lib/src/reverse_engineering/responses/search_page.dart @@ -93,7 +93,7 @@ class SearchPage { if (xsrfToken != null) { body = {'session_token': xsrfToken}; } - var raw = await httpClient.postString(url); + var raw = await httpClient.postString(url, body: body); if (ctoken != null) { return SearchPage( null, queryString, _InitialData(json.decode(raw)[1]), xsrfToken); diff --git a/pubspec.yaml b/pubspec.yaml index b20bb22..1446848 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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.2.0 +version: 1.2.0+2 homepage: https://github.com/Hexer10/youtube_explode_dart environment: