{"id":17145631,"url":"https://github.com/th3linja/python_youtubemp3","last_synced_at":"2025-03-24T10:24:34.831Z","repository":{"id":150574486,"uuid":"176397101","full_name":"th3linja/python_youtubemp3","owner":"th3linja","description":"Using ffmpeg and youtube-dl to download audio files -\u003e convert to mp3 and create a personal playlist.","archived":false,"fork":false,"pushed_at":"2021-10-07T18:47:56.000Z","size":27799,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T15:50:39.627Z","etag":null,"topics":["python","python-script","youtube-dl"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/th3linja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T01:17:36.000Z","updated_at":"2021-10-07T18:47:59.000Z","dependencies_parsed_at":"2023-06-11T04:45:16.479Z","dependency_job_id":null,"html_url":"https://github.com/th3linja/python_youtubemp3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3linja%2Fpython_youtubemp3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3linja%2Fpython_youtubemp3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3linja%2Fpython_youtubemp3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th3linja%2Fpython_youtubemp3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th3linja","download_url":"https://codeload.github.com/th3linja/python_youtubemp3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245250334,"owners_count":20584715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-script","youtube-dl"],"created_at":"2024-10-14T21:06:20.932Z","updated_at":"2025-03-24T10:24:34.822Z","avatar_url":"https://github.com/th3linja.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# python_youtubemp3\nUsing ffmpeg and youtube-dl to download audio files -\u003e convert to mp3 and create a personal playlist.\n\n## Getting Started\nThe purpose of this project is to create a simple and convenient method of downloading the audio files from a Youtube video and converting that file into a playlist standard `.mp3` file. Rather than relying on online converters, this project gives much more personal experience and creativity when creating one's playlist. This project is not intended to disregard any original content on Youtube but allow the public to have access to that material - with all respect to the creators and following legal usage.\n\n**This project was originally built/intended for Window/OS users. Linux and Mac users will have varying and different steps that can be found online.**\n\nWhen everything is done installing, open `Youtube-mp3.py` with any suitable IDE (IDLE, PyCharm, etc.). Edit the file location in `outtmpl` under `youtube_download_opts` by replacing `C:/Users/hyakk/Desktop/Playlist/` with any location of your own. This is where the downloaded audio files will go.\n\nRun the program and paste the link of a youtube video into the URL prompt. **Add a space before pressing `ENTER` (otherwise you may end up opening the same link in a different tab on your browser).** The program should run if everything is done correctly and you should see a `.mp3` under the file location of where you indicated in `outtmpl`.\n\n## Prerequisites\n  * Python\n  * ffmpeg\n  * youtube-dl\n  \n## Installing\nHead over to [Python.org](https://www.python.org/) to download the latest version of Python if you haven't already. Make sure to enable pip in  `Optional Features` when installing. After installing, head over to Advanced System Settings -\u003e Environment Variables and add Python into PATH. Open the command prompt (cmd) and run the command `pip3 install youtube-dl`.\n\nIf you do not have `ffmpeg` downloaded, you can head to this [link](https://www.ffmpeg.org/download.html) to download it. **Add `ffmpeg` into PATH (specifically the bin folder containing the three `EXE`'s: _ffmpeg_, _ffplay_, and _ffprobe_)**. Keep in mind that I will have a version of `ffmpeg` available in this project.\n\nDownload this project folder, which will contain both `ffmpeg` and `Youtube-mp3.py`.\n\n## Running Tests\n * Make sure `youtube-dl` is up to date by running `pip3 install --upgrade youtube-dl`. UPDATE: `youtube_dl` will be updated upon execution.\n * Make sure `ffmpeg` is in the same directory as your working folder.\n * Change the file path in `Youtube-mp3.py` (refer to **Getting Started**).\n * Make sure that `ffmpeg` and `Youtube-mp3.py` is in the same working directory.\n * Make sure `ffmpeg` is added in PATH under Environment Variables.\n\n## Built With\n  * Python\n  * ffmpeg\n  * youtube-dl\n  \n## Authors\nth3linja\n\n## Acknowledgments\nAll credit goes to developers and community for creating an amazing library available for public use. Youtube-dl also supports many other sites and this list can be found on their page in the link below.\n  * [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html)\n  * [ffmpeg](https://www.ffmpeg.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth3linja%2Fpython_youtubemp3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth3linja%2Fpython_youtubemp3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth3linja%2Fpython_youtubemp3/lists"}