uLauncher anime extension for linux
Scrapes: https://gogoanime.wiki
[Still in development]
-
Python 3.0
-
BeautifulSoup
-
requests
-
selenium
-
Firefox/Chrome/Chromium
-
cURL
-
mpv
Open uLauncher preferences window -> extensions -> add extension and paste the following url:
https://github.com/Dankni95/ulauncher-anime
[ Automatic dependecy install ] cd ~/.local/share/ulauncher/extensions/com.github.dankni95.ulauncher-anime
and run make deps
to install dependencies.
Get Python from: https://www.python.org/downloads/
Get mpv from: https://mpv.io/installation/
Curl should be preinstalled, if not get it from here: https://curl.se/download.html
[ Manual dependecy install ] To install bs4
, selenium
, requests
and webdriver-manager
open a terminal and go to repo root cd ~/.local/share/ulauncher/extensions/com.github.dankni95.ulauncher-anime
and execute pip install -r requirements.txt
Please have one of these browsers installed: Firefox/Chrome/Chromium
Start uLauncher and type ani
.
To search ani s <your anime>
ani h
shows next episode of previously watched anime.
Edit video quality in ulauncher extension preferences. All videos will be played in this quality if possible, else it will default to best possible quality.
Git clone this repo.
In repo folder do make link
to create symlink to ulauncher extensions folder.
Close uLauncher and run make dev
and follow instructions in terminal.
You will get code that looks something like this:
VERBOSE=1 ULAUNCHER_WS_API=ws://127.0.0.1:5054/com.github.dankni95.ulauncher-anime PYTHONPATH=/usr/lib/python3.9/site-packages /bin/python /home/daniel/.local/share/ulauncher/extensions/com.github.dankni95.ulauncher-anime/main.py
Paste it in new terminal window and run keyword ani
in uLauncher.
Happy coding!
This is one of my first python projects, in advance sorry for the spaghetti code!