GithubHelp home page GithubHelp logo

mov's Introduction

Stream-Cli

stream-cli is a Python scrapping CLI that combine scrapy and webtorrent in one command for streaming movies from your terminal.

Installation:

stream-cli is written in python and it depends on webtorrent, NodeJS and npm

  1. install NodeJS on your machine (read mode).
node --version
v17.9.0 #or higher
  1. make sure that you have npm already installed (read more).
npm --version
8.8.0 # or higher
  1. 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.

  1. clone the repo in your local machine.
git clone https://github.com/redelka00/stream-cli && cd stream-cli

clone results

  1. create a virtual environment.
  • Beginner windows users who couldn't setup the virtualenv check this doc.
  • Unix Users
python3 -m venv venv && source venv/bin/activate

creating virtualenv

  1. Install necessary packages.
pip install -r requirements.txt

install packages

Usage:

  • First of all you need to setup a default player.

Note that only vlc and mpv are supported.

python3 main.py config "vlc"

config

  • If you want to get top movies:
python3 main.py top
  • 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

table of search

  • To start watching you can just type the number of the movie in the table.

Contributing:

Contributions are what make 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!

  1. Fork the Project
  2. Create your Feature Branch git checkout -b feature/AmazingFeature
  3. Commit your Changes git commit -m 'Add some AmazingFeature
  4. Push to the Branch git push origin feature/AmazingFeature Open a Pull Request.

Contributors❤:

License:

MIT
Copyright

mov's People

Contributors

nvkf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.