livie/README.md
Jesús 8dbd068524
Use BeautifulSoup to extract information from YT searches
Google is blocking IP's the instances of invidio, because of these reasons
livie will use BeautifulSoup to extract information from YT searches
2019-11-27 16:23:59 -05:00

51 lines
1.2 KiB
Markdown

<p align="center">
<a href="http://www.gnu.org/licenses/gpl-3.0.txt">
<img src="https://img.shields.io/badge/license-GPL_3-green.svg" alt="License GPL 3" />
</a>
</p>
# Livie is Video in Emacs
![screenshot](screenshot.png)
Livie allows the user to search youtube.com and play the video from `mpv`.
## Requirements
- `python >= 3.5`
- `python-requests`
- `python-beautifulsoup4`
- `mpv`
`sudo pacman -S python mpv python-requests python-beautifulsoup4`
## Installation
``` emacs-lisp
(require 'livie "~/.emacs.d/path/to/livie.el")
(setq livie-script-path (expand-file-name "path/to/livie.py" user-emacs-directory))
```
## Installation in emacs-personal
Create new dir:
mkdir ~/.emacs.d/private/
Clone repo:
git clone https://libregit.org/heckyel/livie.git ~/.emacs.d/private/livie
Open `settings.el` write the following:
``` emacs-lisp
(require 'livie "~/.emacs.d/private/livie/livie.el")
(setq livie-script-path (expand-file-name "private/livie/livie.py" user-emacs-directory))
```
## Usage
Just run `M-x livie` and enter a search query. `n`, `p` and `tab`
can be used to navigate the buffer. Type `s` to enter another search.
To watch a video, press `<enter>`.