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: about 1 month 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T11:50:52.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T23:43:39.935Z (over 1 year 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
- wget
Cli-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]
```