raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.29k stars 2.98k forks source link

[YouTube Downloader] Can't download video #13394

Closed mkjawadi closed 2 months ago

mkjawadi commented 2 months ago

Extension

https://www.raycast.com/vimtor/youtube-downloader

Raycast Version

1.78.1

macOS Version

No response

Description

I can't use the extension to download YouTube videos. I've tried uninstalling the extension. I have tried installing/reinstalling ffmpeg (several versions including the recent one) but no luck. The downloading doesn't start at all!

Screenshot 2024-07-09 at 1 22 59 PM

Steps To Reproduce

  1. Open the extension
  2. Paste the video URL
  3. Hit "Download Video"

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 2 months ago

Thank you for opening this issue!

🔔 @vimtor @pernielsentikaer @darmiel @ridemountainpig you might want to have a look.

💡 Author and Contributors commands The author and contributors of `vimtor/youtube-downloader` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
codepil0t commented 2 months ago

Yes I have an absolutely identical problem. I have tried all video resolutions, all formats, but in the end I always get an error. In addition, I checked that Raycast has permissions to the folder where the video will be downloaded and that I have ffmpeg installed.

ridemountainpig commented 2 months ago

The error appears to be caused by the ytdl-core package. There is also an issue with 403 download failures.

The error message for the YouTube Downloader extension is:

10:20:51.716 MinigetError: Status code: 403
    at ClientRequest.<anonymous> (/Users/linyancheng/.config/raycast/extensions/youtube-downloader/index.js:1667:23)
    at Object.onceWrapper (node:events:629:26)
    at ClientRequest.emit (node:events:514:28)
    at ClientRequest.emit (node:domain:488:12)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:535:22)
    at TLSSocket.emit (node:events:514:28)
    at TLSSocket.emit (node:domain:488:12)
    at addChunk (node:internal/streams/readable:376:12) {
  statusCode: 403
}
claudiuionus commented 2 months ago

Hello guys,

also having the same issue.

image

Thanks!

voloshinvlad commented 2 months ago

I have the same problem. When I try to download a video from YouTube, the extension says "Download failed. Please try again later". I tried the old version of ffmpeg (6.1 stable), used many variations of path to ffmpeg and ffprobe, reinstalled/installed Raycast, extension, ffmpeg, but it didn't work at all. Please push fix. 2024-07-10 15 14 42

ultrahumanite commented 2 months ago

Also experiencing the same issue.

ridemountainpig commented 2 months ago

@raycastbot close this issue