youtube.ts
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -393,3 +393,5 @@ "use strict"; | ||
ytdl_core_1.default(url, { filter: "audioonly" }).pipe(writeStream); | ||
this.awaitStream(writeStream); | ||
return [4 /*yield*/, this.awaitStream(writeStream)]; | ||
case 3: | ||
_a.sent(); | ||
return [2 /*return*/, dest + "/" + clean + ".mp3"]; | ||
@@ -396,0 +398,0 @@ } |
@@ -206,3 +206,3 @@ import axios from "axios" | ||
ytdl(url, {filter: "audioonly"}).pipe(writeStream) | ||
this.awaitStream(writeStream) | ||
await this.awaitStream(writeStream) | ||
return `${dest}/${clean}.mp3` | ||
@@ -209,0 +209,0 @@ } |
{ | ||
"name": "youtube.ts", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Wrapper for the YouTube API with typings.", | ||
@@ -5,0 +5,0 @@ "main": "dist/youtube.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156727
3302