YouTube dub language is assigned incorrectly #358

Closed
opened 2025-11-09 09:47:14 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @keyytie on GitHub (Jul 19, 2024).

Bug Description

I am unable to download the original/English audio of MrBeast's YouTube video, regardless of whether I use the web interface or API.

Reproduction Steps 1

  1. Go to Cobalt Tools
  2. Paste the link: https://www.youtube.com/watch?v=4SNThp0YiU4
  3. Choose the audio download option
  4. Press the double arrow button to download
  5. The download succeeds, but I receive the Hindi audio instead of the default/English audio

Reproduction Steps 2

  1. Node.js call to https://api.cobalt.tools/api/json with the following request body:

    {
        "url": "https://www.youtube.com/watch?v=4SNThp0YiU4",
        "aFormat": "opus",
        "isAudioOnly": true,
        "dubLang": true
    }
    

    and request headers:

    {
        "Accept": "application/json",
        "Content-Type": "application/json",
        "Accept-Language": "en"
    }
    
  2. The call succeeds, but I receive the Hindi audio instead of the default/English audio

Screenshots

hi en

Links

https://www.youtube.com/watch?v=4SNThp0YiU4

Platform Information

  • OS: macOS
  • Browser/Environment: Chrome / Node.js
Originally created by @keyytie on GitHub (Jul 19, 2024). ### Bug Description I am unable to download the original/English audio of MrBeast's YouTube video, regardless of whether I use the web interface or API. ### Reproduction Steps 1 1. Go to [Cobalt Tools](https://cobalt.tools) 2. Paste the link: `https://www.youtube.com/watch?v=4SNThp0YiU4` 3. Choose the audio download option 4. Press the double arrow button to download 5. The download succeeds, but I receive the Hindi audio instead of the default/English audio ### Reproduction Steps 2 1. Node.js call to `https://api.cobalt.tools/api/json` with the following request body: ```json { "url": "https://www.youtube.com/watch?v=4SNThp0YiU4", "aFormat": "opus", "isAudioOnly": true, "dubLang": true } ``` and request headers: ```json { "Accept": "application/json", "Content-Type": "application/json", "Accept-Language": "en" } ``` 2. The call succeeds, but I receive the Hindi audio instead of the default/English audio ### Screenshots <img width="1228" alt="hi" src="https://github.com/user-attachments/assets/d999d25e-a1d6-42c1-bcaf-7a321dbc64ec"> <img width="1434" alt="en" src="https://github.com/user-attachments/assets/8d470aa8-cb3f-48fe-9ffb-fa2ace9db017"> ### Links https://www.youtube.com/watch?v=4SNThp0YiU4 ### Platform Information - **OS**: macOS - **Browser/Environment**: Chrome / Node.js
GiteaMirror added the bug label 2025-11-09 09:47:14 -06:00
Sign in to join this conversation.