yt_mp3 icon indicating copy to clipboard operation
yt_mp3 copied to clipboard

Should this still work?

Open acajic opened this issue 9 years ago • 9 comments

Because its not working for me...

acajic avatar Jul 30 '15 19:07 acajic

This project is no longer maintained. I don't used it for few years. :) Although, could you post here what's is really happening to you?

jkaflik avatar Jul 31 '15 09:07 jkaflik

Does some1 have new version of this api?

zuntah avatar Oct 15 '15 12:10 zuntah

You mean an youtube-mp3 API?

jkaflik avatar Oct 17 '15 13:10 jkaflik

I am seeing this ..gems/youtube_it-2.4.2/lib/youtube_it/middleware/faraday_youtubeit.rb:10:in on_complete': No longer available: NoLongerAvailableException (YouTubeIt::UploadError)`

RohitRox avatar Nov 30 '15 05:11 RohitRox

Are there any updates about this? Does anyone know a way to get the download link from an HTTP response?

sorashi avatar Mar 08 '16 19:03 sorashi

I abandoned development in Ruby, so it's a little bit difficult for me to continue it. As result project is no longer maintained.

It's possible that I would fork this into PHP, but nowadays I have not much time.

jkaflik avatar Mar 10 '16 11:03 jkaflik

For people looking for an alternative – youtube-dl with ffmpeg can achieve the same. Install both and add them to your PATH. Then do the following: youtube-dl -x --audio-format mp3 <link>

<link> can be a YouTube video/playlist/channel.

It doesn't have the playlist sync feature, that this repo has, but you can script it yourself with some effort.

sorashi avatar Jul 28 '17 07:07 sorashi

Thanks for info @Sorashi I would like to try fork it into Go within learning, but nowadays I don't have such time.

jkaflik avatar Jul 28 '17 12:07 jkaflik

I just found out that youtube-dl basically has the sync feature. Just add --download-archive <filename> to your command. youtube-dl will store downloaded links into <filename> and won't download them ever again if it finds it in the supplied playlist.

If anyone wants to use it, my command looks like this:

youtube-dl %~1 --download-archive _archive.txt -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata --metadata-from-title "^([\[\u3010].*[\]\u3011])?(.*?\|\|)?\s*(?P<artist>.+?)\s+-\s+(?P<title>.*?)( [\(\[]\s*([Oo]fficial|[Ff]ree|HQ|[Ee]xtended|[Oo]riginal|[Mm]onstercat).*)?( \|\|.*)?$" -o "output/%%(title)s.%%(ext)s"

It contains a regex which extracts the artist and title from the video title and inserts it as metadata into the mp3 file (the regex might need some tweaks). Additionally, it uses the video thumbnail as album art for the song.

sorashi avatar Aug 19 '17 15:08 sorashi