Awesome
<div align="center" style="background-color: #ffcccc; border: 2px solid #ff0000; padding: 15px; margin: 20px 0; border-radius: 5px;"> <h2 style="color: #ff0000; text-align: center; margin-top: 0;">⚠️ REPOSITORY ARCHIVED ⚠️</h2> <p style="font-size: 16px; text-align: center;"> This repository is no longer actively maintained.<br> It has been archived for historical reference.<br> Thank you to all contributors and users of this project.<br> Last updated: Oct 21, 2023 </p> <hr style="border-top: 1px solid #ff0000; margin: 15px 0;"> <p></p> </div> <p align="center"> <img src="https://github.com/kaboussi/Botflix/assets/65725801/a0f2db38-fe3c-48af-b63c-30b6aabcd288" /> </p> <h2 align='center'> Botflix </h2> <div align='center'> <a href="https://aur.archlinux.org/packages/botflix-git"> </a> </div>Botflix is a Python scrapping CLI that combines scrapy and webtorrent in one command for streaming movies from your terminal.
Installation:
For ArchLinux or Arch-based distro:
You can install it manually from AUR repository or use a aur helper like yay
or paru
.
yay -Syu botflix-git
To run
botflix
botflix
is the replacement for the command prefix python3 main.py
in this readme. for example python3 main.py config "vlc"
will be botflix config "vlc"
, the final step after installation.
For others
Botflix is written in Python, and it depends on webtorrent, NodeJS and npm
- install NodeJS on your machine (read mode).
node --version
v17.9.0 #or higher
- make sure that you have npm already installed (read more).
npm --version
8.8.0 # or higher
- now let's install webtorrent (read more).
npm install webtorrent-cli -g
webtorrent --version # 4.0.4 (1.8.16)
Note: if not installed try with sudo privileges.
- clone the repo in your local machine.
git clone https://github.com/kaboussi/Botflix && cd Botflix
- create a virtual environment.
- Beginner Windows users who couldn't set up the virtualenv check this doc.
- Unix Users
python3 -m venv venv && source venv/bin/activate
Note: on Debian/Ubuntu systems you will first need to install venv using
sudo apt install python3-venv
- Install necessary packages.
pip install -r requirements.txt
Usage:
- First you need to set up a default player.
Note that only vlc and mpv are supported. <br> If you are a Windows user, make sure you add your player to the PATH. read more
python3 main.py config "vlc"
- If you want to get top movies:
python3 main.py top
- If you want to watch a TV Series:
python3 main.py serie
- If you want to search for a specific movie ("red notice" for example):
python3 main.py search
What movie are you looking for? red notice
- To start watching you can just type the number of the movie in the table.
Contributing:
Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature
- Push to the Branch
git push origin feature/AmazingFeature
Open a Pull Request.
Contributors❤:
<div align="center"> <a href="https://github.com/kaboussi/Botflix/graphs/contributors"> <img src="https://contrib.rocks/image?repo=kaboussi/Botflix" /> </a> </div>License:
MIT<br> DISCLAIMER
<!-- Links -->