An open API service indexing awesome lists of open source software.

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

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]
```