mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Package updated
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
//Spotify Work
|
|
||||||
import stream from 'stream'
|
|
||||||
|
|
||||||
console.log(new stream.PassThrough())
|
|
||||||
10
node-youtube-dl/Stream/stream.ts
Normal file
10
node-youtube-dl/Stream/stream.ts
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import { RequestOptions, IncomingMessage, ClientRequest, default as http } from 'http';
|
||||||
|
import { EventEmitter } from 'node:events'
|
||||||
|
import { URL } from 'url'
|
||||||
|
import https from 'https';
|
||||||
|
|
||||||
|
const httpLibs: {
|
||||||
|
[key: string]: {
|
||||||
|
request: (options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void) => ClientRequest;
|
||||||
|
};
|
||||||
|
} = { 'http:': http, 'https:': https };
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "node-youtube-dl-v2",
|
"name": "play-dl",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "YouTube, SoundCloud, Spotify downloader",
|
"description": "YouTube, SoundCloud, Spotify downloader",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user