https://github.com/zeroniki/yt-search
https://github.com/zeroniki/yt-search
beautifulsoup4 invidious mpv python3 requests-python scraper-python yt-search-cli
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeroniki/yt-search
- Owner: ZeroNiki
- Created: 2023-09-27T09:41:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T07:20:17.000Z (over 2 years ago)
- Last Synced: 2025-01-26T18:17:24.825Z (over 1 year ago)
- Topics: beautifulsoup4, invidious, mpv, python3, requests-python, scraper-python, yt-search-cli
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yt-search (Linux) (RU)
Позволяет прсмотривать видео не заходя на сам youtube
Библеотеки задействованны:
- Bs4 
- request 
- pyfzf 
## Перед устоновкой
Установите медиаплеер `mpv` и `yt-dlp`
## Устоновка
склонируйтие репозиторий и перейдите в него:
```
git clone https://github.com/ZeroNiki/yt-search.git
cd yt-search
```
Установите зависимости:
```
pip install -r requirements.txt
```
По желанию можете делать это в виртуальном окружении
Запустите файл ytsearch.py:
```
python3 ytsearch.py
```
### Channel.py
Для того чтобы просматривать видео с любимых каналов, вы должны найти их на одном из сайтов [Invidious](https://docs.invidious.io/instances/), скопируйте сылку на них и вствьте в файл `channel.txt`
### Конфигурация mpv
Для изменения качетсва видео установите расширение [mpv-youtube-quality](https://github.com/jgreco/mpv-youtube-quality)
! В файле `youtube-quality.lua` измените строчку:
```lua
path = "youtube-dl"
```
На
```lua
path = "yt-dlp"
```
Также можете скачать [mpv_sponsorblock](https://github.com/po5/mpv_sponsorblock)
---------------
# yt-search (Linux) (EN)
Allows you to watch videos without going to YouTube itself
Libraries involved:
- Bs4 
- request 
- pyfzf 
## Before installation
Install media player `mpv`
## Installation
Clone the repository and go to it:
```
git clone https://github.com/ZeroNiki/yt-search.git
cd yt-search
```
Install dependencies:
```
pip install -r requirements.txt
```
If you wish, you can do this in a virtual environment.
Run the ytsearch.py file:
```
python3 ytsearch.py
```
### Channel.py
In order to view videos from your favorite channels, you must find them on one of the sites [Invidious](https://docs.invidious.io/instances/), copy the link to them and paste them into the `channel.txt` file
### MPV configuration
For change quality, you may download extension: [mpv-youtube-quality](https://github.com/jgreco/mpv-youtube-quality)
! In file `youtube-quality.lua` change value:
```lua
path = "youtube-dl"
```
To:
```lua
path = "yt-dlp"
```
Also you may download extension [mpv_sponsorblock](https://github.com/po5/mpv_sponsorblock)