https://github.com/zeroniki/yand
Simple cli-tool for downloding music from yandex music
https://github.com/zeroniki/yand
bs4 music-downloader mutagen-mp3 python requests selenium wget yandex-music yt-dlp
Last synced: 7 months ago
JSON representation
Simple cli-tool for downloding music from yandex music
- Host: GitHub
- URL: https://github.com/zeroniki/yand
- Owner: ZeroNiki
- Created: 2024-07-02T11:49:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-27T11:50:52.000Z (about 1 year ago)
- Last Synced: 2025-01-26T18:17:24.186Z (9 months ago)
- Topics: bs4, music-downloader, mutagen-mp3, python, requests, selenium, wget, yandex-music, yt-dlp
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yand
## Navigation
- [About](https://github.com/ZeroNiki/Yand?tab=readme-ov-file#About)
- [Pre-Install](https://github.com/ZeroNiki/Yand?tab=readme-ov-file#Pre-Install)
- [Install](https://github.com/ZeroNiki/Yand?tab=readme-ov-file#Install)
- [Usage](https://github.com/ZeroNiki/Yand?tab=readme-ov-file#Usage)## About
lib:
- yt-dlp
- selenium
- requests
- bs4
- pyfiglet
- wgetCli-tool for download music from yandex music
## Pre-Install
Install selenium driver (geckodriver) from Linux repo:
If your using Arch Linux:
[install](https://archlinux.org/packages/extra/x86_64/geckodriver/)## Install
clone this repository:
```sh
git clone https://github.com/ZeroNiki/Yand.git
``````sh
cd Yand
```create virtual env:
```sh
python3 -m venv venv
``````sh
source venv/bin/activate
```install requirements:
```sh
pip install -r requirements.txt
```## Start
in 'src/yandex.py' add your selenium driver path:
```python
service = Service('/path/to/your/geckodriver') # default /usr/bin/geckodriver
```in `src/.env` add full path to your music dir and api key from [Genius](https://docs.genius.com/)
```
FULL_DIR=/path/to/your/music_dir/YT_LINK=https://yt.artemislena.eu/search?q=
GENIUS_API=your api from Genius
```let's start:
## Usage
```sh
python3 yand [url]
```or (if you're in linux)
```
chmod +x yand./yand [url]
```