Distube ytdl core not working distubejs / ytdl-core Public. 4", Logs WARNING: @distube/ytdl-core is out of d @distube/ytdl-core version: latest 4. Screenshots Runtime I'm running Muse: Dire Describe the bug I had a warning in my terminal log, I'm only using the getInfo() method. Hey, I'm trying to use ytdl-core but its stopped working across several version. The mime urls returned from console log for info. There are 3 itags only that support both video and audio and rest itags only support either audio or just video. This is how youtube encode You signed in with another tab or window. github-staff deleted a comment from yiweifengyan Oct 23, 2024. 0 stars. Modified 2 years, 6 months ago. js version: 21. Add a comment | YTDL-CORE doesn't work anymore "could not find player config" 0. find answers and collaborate at work with Stack Overflow for Teams. 11. skick1234 closed this as completed My question was for @miketuannguyen to see if he's on a different version that is working. Tudo DisTube fork of ytdl-core. In the meantime he suggests to use Distube β pierpy. iRajatDas added the bug Something isn't working label Jul 13, 2024. 0; Operating system: Ubuntu, Alpine Docker image; The text was updated successfully, but Describe the bug Any playback requests result in an error, playback doesnt happen. Due to recent youtube changes, you have to update to the latest version and download the stream from the same ip (and maybe the cookies). Made for DisTube. All features Documentation @distube/ytdl-core version: 4. 5; Node. Commented Jul 13, 2018 at 20:01. Collaborate outside of code Code Search. js version: v21. 15. Copy link offbr0wn commented then run the command npx patch-package ytdl-core; add a new script into your package. But, in the second time, I follow the instruction more carefully and it works like a charm. Make sure you're installing the latest version of ytdl-core to keep up with the latest fixes. I'm seeing the same issue, but for me it fails on downloads on Win11 and local files on Win10. js: 322 const {jar, dispatcher } Brainicism added the bug Something isn't working label Aug 5, 2024. 7; Node. Navigation Menu Toggle navigation. Note that yt-dlp will not resolve throttling that was caused by Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Are you currently making use of ytdl-core or distube ? As a base I'm using ytdl-core but a large part of the sig (like the part of extracting functions) was adapted from distube, I combined part of the two to make it work in react Because there is nowhere in the github repo code this "text" that distube is out of date (when you have the last version) so maybe it's npm not knowing you have the latest version or confusing it with the actual distube package instead distubejs / ytdl-core Public. Open leote2001 opened this issue Jul 26, 2024 · 29 comments Open Not working! #1305. The first time I tried using cookie, it doesn't work. Savez-vous comment résoudre le problème ? Mise à jour vers la dernière version corrigée pour moi. This was also a bug in the original repo as well and was later deemed "unreliable". The iOS and Android players are experiencing bot errors, but we have been able to work around this by using the Web Creator player. I extracted the format details and found that there is 2 format with Plan and track work Code Review. com ytdl-core recebo 410 resposta miniget, com distube sempre recebo Entrar você não é um bot. This to me seems to occur randomly. All features @distube/ytdl-core - DisTube fork of ytpl. Well, the 4. js version: v23. Enterprise Teams Startups By industry @distube/ytdl-core version: 4. js/voice. forked from fent I use current versions (update via npm install distube Plan and track work Code Review. js has been updated, and the decipher function no longer works. Cannot destructure property 'jar' of 'options. Due to the nature of this library, it is important to always use the latest version as YouTube continues to update. 6, 4. Seems like videos are without audios @distube/ytdl-core version: ^4. 7) works for us on some devices but not all someone suggested that google is doing some A/B testing. Hibiscus Hibiscus. π 1 reaction; orewafuad added the bug Something isn't working label Oct 29, 2024. 3 Operating system: ZorinOS 17. Currently, EDIT2: Local files does not work when trying the same mp3 file on a win10 host. π 1 alanor87 reacted with laugh emoji You signed in with another tab or window. Seems like the issue is fixed, at least "ytdl-core": "4. Filters donβt work. All features Documentation GitHub Skills @distube/ytdl-core version: 4. And I tried to use audioandvideo and videoandvideo filters, and they worked. Provide details and share your research! But avoid . Readme Plan and track work Discussions. Describe the bug Could not parse n transform function Debug File 1720546121963-base. Btw I also tried to use ytdl-core instead of distube but it gets worse, no video was readable. Notifications You must be signed in to change notification settings; Fork 50; Star 291. . Viewed 2k times 1 . @ybd-project/ytdl-core I have now released ytdl-core with the ability to specify poToken and visitorData. About. 22631. YouTube video downloader in pure javascript. js and the I was working with ytdl-core. hw630590 added the bug Something isn't working label Dec 15, 2024. I tried putting that command in the shell screen but it still didn't work. js version: 21 Operating system: Linux Also, the environment that uses ytdl-core is a serverless function, but I have never had success using cookies before. Teams. 1; Operating system: Linux (Node. Contribute to distubejs/ytdl-core development by creating an account on GitHub. However, if I were to do this instead, it would work: discordPlayerCompatibility is only if you use discord-player (which is it's own library) which is not needed if you use discord. This may seem a little complicated, but let's break it down. 3 Operating system: Linux. youtube. Try Teams for as the author says. 3; Operating system: Windows 11 64 bits; The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. com cookies. Sometimes the song works and sometimes it 1734147669907-base. This bot was perfectly running but from past 3-4 days I am continuously getting this error: Cookie header used in request, but unable to find YouTube identity token Plan and track work Discussions. 16. It was working fine but suddenly it stops working. Maybe Plan and track work Discussions. 1 watching. 14. All features Documentation @distube/ytdl-core version: ^4. getInfo(videoId); const format = ytdl. 0; Operating system:Debian 12 distubejs / ytdl-core Public. extractFunctions (c:\Program Files\stemroller The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. 04 LTS. 7. I'm running the most basic download but Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Improve this answer. Saved searches Use saved searches to filter your results more quickly Describe the bug I tried using highestaudio and highestvideo formats, but it didn't work, Likewise with audioonly and videoonly Environment @distube/ytdl-core version: 1. Don't logout it by clicking logout button on The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. Did you try version 4. 0 Operating system: Ubuntu 24. 1 Node. I'm expecting that videos should download as normal. Debug File 1729887766611-base. Readme Activity. Enterprise Teams @distube/ytdl-core version: latest; Node. sousateew added the bug Something isn't working label Jan 6, 2025. π 1 SpoogLord reacted with thumbs up emoji οΈ 1 SpoogLord reacted with heart emoji And @distube/ytd-core version? Latest doesn't mean anything when I ask that question . When I download a video I get a blank file that is zero bytes. 0; Operating system: Windows 10 All reactions. Commented Dec 25, 2024 at 20:06. Stars. Saved searches Use saved searches to filter your results more quickly You signed in with another tab or window. @distube/ytdl-core version: 4. fix: 270 and 312 itag #69. 1 Operating system: Windows_NT 10. Assets for this are Node. Sign in Product @distube/ytdl-core stopped working bug Something isn't working #161 opened Jan Plan and track work Code Review. 4 Node. js version: v20. yea, the important thing is that it can work rather than not at all. Please read carefully the instruction and follow it. js) As usual, when using Node. 3; π 2 reactions; asp3 added the bug Something isn't working label Aug 6, 2024. 2; Operating system: macOS @ybd-project/ytdl-core I have now released ytdl-core with the ability to specify poToken and visitorData. js version: 20; Operating system: All; apparently overrides doesn't work with a monorepo if you're using npm workspaces. You signed in with another tab or window. forked from fent/node-ytdl-core. url); let resource = createAudioResource(play_stream. json Describe the bug Debug File Environment @distube/ytdl-core version: Node. mesozoic-technology added the bug Something isn't working label Dec 25, 2024. its totally work for me now idk why. json with the key postinstall and value patch-package; run npm/yarn install; this will make it so every time you run a npm/yarn install Plan and track work Code Review. yeah, i believe it's not an issue from this repo, but rather from @distube/ytdl-core itself, but don't worry, i've temporarily fixed it, so the URL should be working again now. 0; Operating system: Linux; The text was updated successfully, but these errors were encountered: The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. type, }); Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Riders004 added the bug Something isn't working label Sep 6, 2024. This fork is dedicated to fixing bugs and adding features that are not merged into the original repo as soon as possible. Does ytdl-core even work right now? I see it has not been updated in a year. js version: Operating system: Plan and track work Discussions. Manage code changes Discussions. Saved searches Use saved searches to filter your results more quickly However i did npm install ytdl-core, but i don't think that changes anything. js version: 11. js, ffmpeg-static. Merged skick1234 closed this as completed in ba9b3e9 Aug 7, 2024. Similar changes have been made in @distube/ytdl-core. -. Copy link skick1234 commented Jul 13, 2024. Code; Issues 5; Pull LilCypher17 changed the title Vooice music is not working Voice music is not working Nov 29, 2024. These issues are being improved, so please wait. If you don't want to change your package name, you can overwrite the original package with this command. i use this instead and it should work. stream, { inputType: stream. json Line 92 in 6ec6bb8 "@distube/ytdl-core": "^4. leote2001 opened this issue Jul 26, 2024 · 29 comments Using @distube/ytdl-core (v 4. Describe the bug Am getting 403 as of yesterday (?), perhaps the day before. Anyone else experienced this? // Some code from my repo const info = await ytdl. I unfortunately don't have any experience with @distube/ytdl-core codebase or undici, so don't know how to implement the fix. And when I use audioonly and videoonly filters the same thing happens. I'm trying to create a Discord Music Bot with discord. All features @distube/ytdl-core version: 4. js version: 20; Operating system: Mac OS; The text was updated successfully, but these errors were encountered: The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. This fork is dedicated to fixing bugs and adding features that are not merged into the original repo as soon as possible. I'm working on a Discord bot and I'm trying to figure out a way to make it play either an entire playlist from YouTube or be able to individually add links. org. If there is a duplicate issue thread, but it's closed, only post in it if it's been active in the past month. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. 4; Node. \Program Files\stemroller-2. talgo-peachvideo added the bug Something isn't working label Dec 17, 2024. Skip to content. const play_stream = await play. createAgent with all . 0; All reactions. talgo-peachvideo mentioned this issue Dec Saved searches Use saved searches to filter your results more quickly node / workspace (update-ytdl) $ npx ts-node src / ytdl-test. ch In the future, i go adapt the distube to react native, when the node-ytdl-core doesnt's work anymore. The relevant code is as follows: Plan and track work Code Review. All features distubejs / ytdl-core Public. 0; Operating system: Windows 11 PRO; Describe the bug It seems that base. 6 command? I have worked well with it. js version: lts; Operating system: ubuntu 24; The text was updated successfully, but these errors were encountered: Manually selecting other format did work, so I assume the problem is related to some specific video formats. 1. 1", Node. Latest version: 4. Sign up for free to join this conversation on GitHub. The maintainers on that package have released a fix in "WEB" client seem doesn't work on every region. Okay, good. js. Forks. 0 Operating system: Ubuntu/Docker Full Not working! #1305. js environments such as Deno. Just a simple script I wrote that uses @distube/ytdl-core Resources. same You signed in with another tab or window. Copy link datly commented Oct 29, 2024. WARNING: Could not parse n transform function. Share. js version: 22; Operating system: Windows 11; I have made this JavaScript discord music bot using distube, ytdl-core, discord. js version: 18. 12. I'm using the latest version of @distubejs/ytdl-core. It is behaving like something is wrong in code but I did not make any change in the code. First it gives me the erro 1727350569578-base. Copy link Author. Try Teams for free Explore Teams. ts / workspace / node_modules / @ distube / ytdl-core / lib / info. Previously, 320p and 720p videos included both video and audio streams, but now 720p videos seem to come without audio. zip. 3; Node. 5 Node. plasma119 added the bug Something isn't working label Aug 6, 2024. When it first stopped working, I updated node as well as the dependencies but the problem still persisted. Watchers. Savez-vous comment résoudre le problème ? I used ytdl-core for downloading youtube videos but now it stopped working after 2 months when I run my app SyntaxError: Invalid or unexpected token at new Script (node:vm:94:7) at exports. Thanks! That's weird; it's a regression issue, I guess. 13. js:170:15) at exports. If you have an example that does not work with 16 or higher versions, please create an issue. All features Documentation GitHub Skills Blog Solutions By size. Notifications You must be signed in to change notification settings; Fork 57; Star 338. 6 is marked as deprecated, but it works. We are looking forward to receiving reports of issues. This is what is happening to me with lots of videos. js importing Describe the bug When I try to get informations about a video on my hosting machine, it returns me the following error: TypeError: Cannot read properties of undefined (reading 'videoId') at fetchIo Describe the bug Debug File Environment @distube/ytdl-core version: Node. 6. 0 Operating system: Windows 10. agent' as it is Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. ytdl-core The above snippet does not work, it throws some errors, so treat as pseudo code. js; amazon-web-services such as @distube/ytdl-core, which works for most cases. Follow answered Nov 5, 2024 at 8:01. Please describe your problem in as much detail as possible: Some songs simply do not play and moves onto the next song. js I am trying to use the ytdl-core library in my React Native application to download YouTube videos, but I'm encountering some challenges. Copy link 200percentmicky commented Jan 7, 2025. 1; Node. Plan and track work Discussions. After some research I've found that the problem has to do with the signature deciphering extraction of functions, specifically the extractNCode function, when calling cutAfterJS it fails to escape the following string /[/,-33,/,/]{/,function due to the literal / characters inside a RegEx character set, and so it counts opening and closing brackets incorrectly as it treats @distube/ytdl-core version: 4. js version: Operating system: 1734147669907-base. js" file pareil ici. Packages 0. Resources. 4, 4. Please read this message for reference only. cookies are only working on local computer, vps stopped working very fast and I'm using proxy again distubejs / ytdl-core Public. I will check and remove them in the next update. All features Documentation GitHub Skills @distube/ytdl-core version: "^4. The text was updated successfully, but these errors were encountered: All reactions. 6 using npm install @distube/ytdl-core@4. In the logs, when I try to play something it says that ytdl-core is out of date and to run npm install @distube/ytdl-core@latest to update. js, ESLint, ytdl-core, @discord/opus, and ffmpeg (from this site). 0; Operating system: Windows 10 on Visual Studio Code All reactions. You don't need to downgrade, just change the playerClients option as a workaround. I've verified that downloading works via the proxy I am using when I download via youtube-dl-exec, so You signed in with another tab or window. Environment Docker @distube/ytdl-core version: 4. asar\node_modules\@distube\ytdl-core\lib\sig. 5" is working for me. 0; Operating system: Arch Linux; If you are using ytdl-core then the problem is with the itags and the availability of the itag you need. js version: 20; Operating system: linux/mac; The text was updated successfully, but these errors were encountered: What's happening? @distube/ytdl-core is out of date warning that a dependency is out of date. The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. edit ** only for some videos. Filters that work. 4; Operating system: Ubuntu; The text was updated successfully, but these errors were encountered: WARNING: @distube/ytsr is out of date! Update with "npm install @distube/ytsr@latest". Enterprise Teams Environment: @distube/ytdl-core version: 4. Thanks! That's weird; it's a YouTube video downloader in javascript. Describe the bug Debug File Environment @distube/ytdl-core version: Node. So if you want to download it from another client, you have to download it to The issue of using an outdated version of ytdl-core became so prevalent, that ytdl-core now checks for updates at run time, and every 12 hours. Brainicism mentioned this issue Aug 5, 2024. 0. eddyLazar added the bug Something isn't working label Oct 30, 2024. *I am not an official administrator of distube. Note that the ffmpeg is You signed in with another tab or window. js Music Bot not working (Distube Framework) Ask Question Asked 2 years, 7 months ago. All features import ytdl from "@distube/ytdl-core"; π 3 kevinamiri, webLiang, and kevinmnm reacted with thumbs up emoji π 2 webLiang and kevinmnm reacted with hooray emoji π 2 webLiang and kevinmnm reacted with rocket emoji Plan and track work Code Review. Saved searches Use saved searches to filter your results more quickly When playing music using youtube platform it play normally around 10h then the ffmpeg say that it exited with code 3436169992 but when using another platform like soundcloud,spotify,deezer the bot play normally . Anonymous YouTube playlist resolver. 0 Discord. Find more, search less Explore. 19. (Not available for @distube/ytdl-core, but available for @ybd-project/ytdl-core) If you are experiencing a throttling issue, switching to the yt-dlp project fork will very likely resolve your issue. It worked for a few months, but now it joins the voice channel, doesn't say anything and leaves after about 20 seconds. js version: Operating system: Describe the bug Debug File Environment @distube/ytdl-core version: Node. Unfortunately, as ytdl-core is no longer actively maintained, it is recommended that you move to @distube/ytdl-core. Start using @distube/ytdl-core in your project by running `npm i @ybd-project/ytdl-core Try PoToken. Collaborate outside of code Explore. But maybe it helps to understand that you need to initialize a new Client where localAddress is specified before sending the request. Pretty sure it's not a problem related to the audioonly's filter, I mean every videos worked with the bot since today therefore I think it's not an issue related to my code, just an issue with the YouTube API or something. leaveOnStop was removed on distube v5. js Docker container) In the past 48 hours or so, age-restricted videos return a "Sign in to confirm your age" error, even when supplying ytdl. For video and audio in ytdl-core you need to specifically check distubejs / ytdl-core Public. Debug File 1723680851971-base. Saved searches Use saved searches to filter your results more quickly Plan and track work Code Review. 2. β user9347473. Report repository Releases. Plan and track work Code Review. txt Environment @distube/ytdl-core version: 4. Describe the bug and how to reproduce it var stream = ytdl(url,{ quality: 'highest', filter: 'videoandaudio' }); I also tried: var stream = ytdl(url,{ format: 'highest', filter: 'videoandaudio' }); format: 'lowest' was also tried. js version: 20. Collaborate Because this fork is dedicated to use with skick1234/DisTube, I added some update only for node. All reactions. I have a similar issue, the problem is that this is currently an ongoing issue for everybody that uses the library, check out the open issue on GitHub for progress ytdl-core Share Improve this answer You signed in with another tab or window. IamShubhamRajput added the npm i @distube/ytdl-core. What's happening? @distube/ytdl-core is out of date, but the playback seems to work Logs muse-1 | WARNING: @distube/ytdl-core is out of date! Update with "npm install @distube/ytdl-core@latest". Code; Issues 8; Pull requests 2; Actions; Describe the bug 1728610743569-base. The line here references it: muse/package. 20. formats are also not playable in browser as well. js version: 20; Operating system: Mac OS; The text was updated successfully, but these errors were encountered: All reactions. js version: v22. zip Environment @distube/ytdl-core version: 4. queue[guildID][0]. distube. 17. If it finds an update, it will print a warning to the console advising you to update. I've noticed that @distube/ytdl-core no longer provides 720p videos with audio. No releases published. But doesn't work with this clip form the same episode - https: Environment. please see this change log. Environment. Built my own YT downloader last night using an express proxy server that grabs the data returned from this undocumented YT API (which includes the actual location of every format available for the video, which you can then consume Saved searches Use saved searches to filter your results more quickly It definitely used to work before I guess soemthing realted to latest changes. 4; Operating system: windows server 2022 Tarekthedeveloper added the bug Something isn't working label Aug 27, 2024. js version: Operating system: Plan and track work Code Review. 6; Node. That's why I've been unsuccessfully trying to move to yarn or pnpm for the past few days. Default (Node. If you're using a bot or app that uses ytdl-core such as ytdl-core-discord or discord-player, it may be DisTube fork of ytdl-core. Already have an Plan and track work Code Review. skick1234 closed this as completed Dec 15, 2024. js version: 20; Operating system: linux/mac; All reactions. 0 forks. js version:v18. Node. pareil ici. tux1765 mentioned this issue Aug 7, 2024. I'm using @distube/ytdl-core to download the Eu tentei tantas maneiras no VPS para instalar áudio com ytdl-core e @Distube / ytdl-core, mas nem mesmo os cookies funcionam, eu até comprei um proxy especial para isso porque pensei que talvez o youtube proibisse proxies gratuitos. 2 Otherwise, if you're directly importing ytdl-core, to install the latest version, run npm install ytdl-core@latest Search the list of issues for a possible duplicate. 1; Operating system: Debian; The text was updated successfully, but these errors were encountered: This is a few step process starting with getting a stream from the ytdl-core package. Asking for help, clarification, or responding to other answers. js version: 16++ Operating system: - The text was updated successfully, but these errors were encountered: All reactions. stream(this. I got many public proxy but most them isn't working on @distube/ytdl-core can anyone told me how can use that. Debug File 1734149832308-base. Please report this issue with the "1720544746781-base. Add a It worked for a few months, but now it joins the voice channel, doesn't say anything and leaves after about 20 seconds. js version: 22. Latest doesn't mean anything when I ask that question . x; Operating system: Debian GNU/Linux 12 (bookworm) but these errors were encountered: All reactions. You switched accounts on another tab or window. @distube/ytdl-core version: ^4. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. mesozoic-technology commented Dec 26, 2024. 728 7 7 silver badges 19 19 bronze . Once you have this stream you need to make an AudioPlayer and give it an AudioResource which is constructed with the stream you got. 5. You signed out in another tab or window. Is there a better library for nodejs that I could be using? node. @distube/ytsr - DisTube fork of ytsr. I'm using @distube/ytdl-core to download the Youtube video and it works perfectly on my local dev environment. All features Documentation GitHub Skills Blog Solutions YTDL does not work if one were to access the array's elements and use the returned string as the URL for the first parameter of ytdl(url) in such a way that it is ytdl( args[someIndexWhereTheStringURLis] ). Reload to refresh your session. 8, last published: 3 days ago. Enterprise Teams @distube/ytdl-core version: 4. Make sure you're installing the latest version of @distube/ytdl-core to keep up with the latest fixes. From previous issue. skick1234 closed @ybd-project/ytdl-core has not been tested in non-Node. js server, not web client. js, as noted in the prerequisites, v16 or higher will work fine. DisTube fork of ytdl-core. 7-win-cuda\resources\app. js version: 14. Already have an account? Sign in to comment Plan and track work Code Review. were hxgh kxqgr ilrtg edg dzqhj rappz mkjetm wrxq sjzu