Package: awdible
Awdible - Just the best free version of audibleAboutAwdible is a free and open-source software, app and python package that allows you to download music from youtube and convert it to mp3.The idea is to provide a free version of audible.Key FeaturesDownload music / audiobook from youtubeConvert music / audiobook to mp3 / wave / flac (...)need ffmpeg installedAutomaticly crop a long audio file to a specific duration ie 60 minutesFind music / audiobook from a list of songs / audiobook names : Waka Waka, Happy, Harry potter and the philosopher's stone, (...)need specific api keysAdd specfic context about a file such as live, album, or titleInstallationUsing regular pip and venv tools :python3-mvenv.venvsource.venv/bin/activate
pipinstallawdibleThird party dependenciesFFmpegPlease note that you should to haveffmpeginstalled on your system to use certain features of Awdible.On Ubuntu, Debian, Linux Mint (...) you can install it with the following command :sudoaptupdate
sudoaptinstallffmpeg-yOn fedora, Red Hat, CentOS (...) you can install it with the following command :sudodnfinstallffmpegOn MacOs, you can install it with the following command :brewinstallffmpegPlease check that the ffmpeg command is available in your terminal.ffmpeg-versionIf you have any issues with ffmpeg, please visit theffmpegwebsite.It is possible not to have ffmpeg installedbut in such case, you will not be able to convert the downloaded files to mp3, wave, flac, etc.External apiSome features of Awdible require external api keys, specially the-soption.you must have a set up youryoutube rapid apiaccount.You need to add in your environment variables or export directly from a terminal the following :exportRAPID_API_KEY="*********"exportRAPID_API_HOST="youtube-data8.p.rapidapi.com"Internet connectionLast but not least, Please not that a valid internet connection is required to useAwdible.UsageLocalAs executableStandard usage, download and convert to mp3 :awdible[youtube-url]Specify a destination folder :awdible-dmy/dest[youtube-url]Specify a file list song  / audibooksurlsand specify destination folder :awdible-fmy_file.txt-dmy/destThe my_file.txt file must contain one youtube url per line.
my_file.txt example :https://www.youtube.com/watch?v=3y5A4paFOb4
https://www.youtube.com/watch?v=3y5A4paFOb4
https://www.youtube.com/watch?v=3y5A4paFOb4Specify a file list song  / audibooksidsand specify destination folder :awdible-fmy_file.txt-dmy/dest-pThe my_file.txt file must contain one youtube id per line.
my_file.txt example :3y5A4paFOb4
3y5A4paFOb4
3y5A4paFOb4Specify a file list song / audiooksnames(not just yourube url) and specify destination folder :awdible-fmy_file.txt-s-dmy/destThe my_file.txt file must contain one youtube id per line.
my_file.txt example :wakawakashakira
Standbyme
Somewhereovertherainbow⚠️WARNING⚠️Please note that for the-soption, you must have a set up youryoutube rapid apiaccount.You need to add in your environment variables or export directly from a terminal the following :exportRAPID_API_KEY="*********"exportRAPID_API_HOST="youtube-data8.p.rapidapi.com"As libraryfromawdibleimportAwdibleurl="https://www.youtube.com/watch?v=3y5A4paFOb4"awdible=Awdible(url)awdible.run()# orurls=["https://www.youtube.com/watch?v=3y5A4paFOb4","https://www.youtube.com/watch?v=3y5A4paFOb4","https://www.youtube.com/watch?v=3y5A4paFOb4"]awdible=Awdible(urls)awdible.run()As web appLaunch local streamlit :awdibleguiOn lineThe on line web app is temporarily unavailable.It will be available in the0.3.0release.DocumentationPlease visitDocumentationpage.UpdatesPlease visit the :ChangelogpageRoadmappageReleasepageIssuespageContributingAwdible is an open-source project and we are always looking for more people to contribute to its development.It could be by adding new features, fixing bugs, improving the documentation, or any other way you see fit.Any help is welcome, and we will do our best to help you get started.Any feedback is also welcome.Please visitContributingpage.