Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get MP3 File from source #860

Closed
dev0k opened this issue May 31, 2013 · 1 comment
Closed

get MP3 File from source #860

dev0k opened this issue May 31, 2013 · 1 comment

Comments

@dev0k
Copy link

@dev0k dev0k commented May 31, 2013

hi,

http://www.10youtube.com/index.php example:

can grap more than 5 file type, without serverside downloading and converting, how i can find this files from youtube?

Is it possible with youtube-dl?

@phihag
Copy link
Contributor

@phihag phihag commented May 31, 2013

Sure, use the --format option to select the format you want, and --list-formats to generate a list of available formats. YouTube does not offer direct download of the audio only, but one can splice it from any format that does contain MP3 audio (and that's what 10youtube.com does, note the URL of the MP3 file).

You can let youtube-dl do that by specifying --extract-audio (and --audio-format if you want a particular format). Note that only the formats 5 and 6 contain native MP3. For the other formats, YouTube uses better formats, which youtube-dl will either pass through, or convert, depending on your setting of --audio-format.

@phihag phihag closed this May 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.