mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +00:00
commit
9ddb443f8c
@ -51,6 +51,8 @@ async function handleYoutubeStream(streamInfo, res) {
|
|||||||
|
|
||||||
streamInfo.url = req.url;
|
streamInfo.url = req.url;
|
||||||
const size = BigInt(req.headers.get('content-length'));
|
const size = BigInt(req.headers.get('content-length'));
|
||||||
|
console.log("size=========>",size)
|
||||||
|
console.log("req.status=========>", req.status);
|
||||||
|
|
||||||
if (req.status !== 200 || !size) {
|
if (req.status !== 200 || !size) {
|
||||||
return cleanup();
|
return cleanup();
|
||||||
|
Loading…
Reference in New Issue
Block a user