Skip to content

Commit

Permalink
fix: download return the original link
Browse files Browse the repository at this point in the history
  • Loading branch information
pemudakoding authored Aug 18, 2024
1 parent 6aef046 commit dcc2709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scraper-youtube/src/youtubedl-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default async function youtubedlv2 (
type,
fileSizeH,
fileSize,
download: async () => url
download: async () => item.url
}
}
const duration = time2Number(json.meta.duration)
Expand Down

0 comments on commit dcc2709

Please sign in to comment.