{"id":20048795,"url":"https://github.com/miliscripts/ytmusicloader","last_synced_at":"2025-09-17T12:10:08.255Z","repository":{"id":241933373,"uuid":"808244599","full_name":"MiliScripts/YTmusicloader","owner":"MiliScripts","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-30T17:14:58.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T08:27:37.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MiliScripts.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":"2024-05-30T17:09:30.000Z","updated_at":"2024-05-30T17:15:01.000Z","dependencies_parsed_at":"2024-05-30T20:36:32.574Z","dependency_job_id":null,"html_url":"https://github.com/MiliScripts/YTmusicloader","commit_stats":null,"previous_names":["miliscripts/ytmusicloader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MiliScripts/YTmusicloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FYTmusicloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FYTmusicloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FYTmusicloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FYTmusicloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiliScripts","download_url":"https://codeload.github.com/MiliScripts/YTmusicloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FYTmusicloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275591684,"owners_count":25492266,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-13T11:46:16.931Z","updated_at":"2025-09-17T12:10:08.134Z","avatar_url":"https://github.com/MiliScripts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube Music Auto Downloader and Telegram Bot 🎵🤖\n\nThis bot automatically fetches the latest liked song from YouTube Music, downloads it, and sends it to a specified Telegram channel. \n\n## Features ✨\n- Fetches the latest liked song from YouTube Music.\n- Downloads the audio of the song from YouTube.\n- Sends the downloaded song to a specified Telegram channel with its thumbnail and details.\n\n## Requirements 📋\n\n- Python 3.6+\n- A Telegram bot token (you can create one by talking to [@BotFather](https://t.me/BotFather))\n- OAuth credentials for YouTube Music (follow the instructions [here](https://ytmusicapi.readthedocs.io/en/latest/setup.html) to set up OAuth)\n\n## Installation 🛠️\n\n1. **Clone the repository**\n\n    ```sh\n    git clone https://github.com/MiliScripts/YTmusicloader.git\n    cd YTmusicloader\n    ```\n\n2. **Create and activate a virtual environment (optional but recommended)**\n\n    ```sh\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n4. **Set up OAuth for YouTube Music**\n\n    Follow the instructions [here](https://ytmusicapi.readthedocs.io/en/latest/setup.html) to set up OAuth and download the `oauth.json` file to the project directory.\n\n5. **Configure the Telegram bot**\n\n    Open `bot.py` and update the following lines with your Telegram bot API details:\n\n    ```python\n    mili_song_bot = Client(\n        name='milisong',\n        api_id=YOUR_API_ID,\n        api_hash=\"YOUR_API_HASH\",\n        bot_token=\"YOUR_BOT_TOKEN\"\n    )\n    ```\n\n## Running the Bot ▶️\n\nRun the bot using the following command:\n\n```sh\npython bot.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiliscripts%2Fytmusicloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiliscripts%2Fytmusicloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiliscripts%2Fytmusicloader/lists"}