mov-cli / mov-cli Goto Github PK
View Code? Open in Web Editor NEWWatch everything from your terminal.
Home Page: https://mov-cli.github.io/
License: MIT License
Watch everything from your terminal.
Home Page: https://mov-cli.github.io/
License: MIT License
The title says it all. I'm just curious as to why this hasn't been added to pypi yet.
The scraper is currently failing any searches.
Trying:
./mov-cli $ANYSHOWORMOVIENAME
Returns:
No search results found
I'm gonna try to fix this on my own and open a PR, but it's a lot to read through. The URL's being scraped still exist, maybe need to add some verbose output for failures. I know gogoplay and gogoanime recently had broken keys for ani-cli
When I try to use theflix, I get this error:
[!] An error has occurred | 'movie'
An AUR package for this would greatly benefit Arch users.
using default provider (theflix):
The name of the provider [theflix]:
[!] Sorry I don't know that provider! | The read operation timed out
using Solar to select S3E1 of a tv show (the expanse):
[!] Sorry I don't know that provider! | list index out of range
May be somehow incorporate subliminal? Or add subs in some other way?
Would be a great addition :)
on python 3.11 the program doesn't work, I always get this error:
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\onepi\scoop\apps\python\current\Scripts\mov-cli.exe\__main__.py", line 4, in <module> File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\mov_cli\__init__.py", line 1, in <module> from . import __main__ File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\mov_cli\__main__.py", line 6, in <module> from .utils.config import config ModuleNotFoundError: No module named 'mov_cli.utils.config'
I remember trying mov-cli on my phone a long time ago but it never worked so I assumed there wasn't support.
So is there currently android support for mov-cli?
doesn't want to think about python pip -require blah blah blah just want to run ./build.sh
I have seen the subtitles are available in most the providers via the settings option in the video player but the mov-cli doesn't extract them.
will it be supported? or possible external support to be included like subscene or others?
I couldn't figure out how to use it, adding a showcase in readme would help newcomers to get started.
Example: https://github.com/pystardust/ani-cli#showcase.
Whats my mistake?
Please name the movie/series with the provider, ex: theflix: spiderman theflix
Sorry, I don't know that provider
while I was watching south park I noticed that "theflix" showed an incorrect total number of episodes
this problem doesn't seem to happen in others providers, take "actvid" as an example
at first, I through theflix didn't have the full season, but it doesnt seem to be the case considering that if I type a number between 12-17 i can actually watch it.
I also tested it with breaking bad and it says seasons one has 12 episodes, when in reality it only have 7
(so i can show my friends why to learn how to program)
This is more of a life improvement more than anything else. Instead of exiting out of the program after incorrect input of "calls:" , there could be a print("Please select from the following list of options") that keeps the loop running and allows for another entry. So, line 40 in Main.py could have an option to allow the user another try.
This is not a big deal if they have read the code/docs but could help with ease-of-use.
Great job so far.
It would be nice to have an option to show what movies and tv shows are trending either through the website or externally (through imdb as an example). It could be parsed as an argument.
pip install git+https://github.com/mov-cli/mov-cli.git --verbose
Using pip 22.1.2 from /home/noel/.local/lib/python3.10/site-packages/pip (python 3.10)
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/mov-cli/mov-cli.git
Cloning https://github.com/mov-cli/mov-cli.git to /tmp/pip-req-build-hcv4qijb
Running command git version
git version 2.37.1
Running command git clone --filter=blob:none https://github.com/mov-cli/mov-cli.git /tmp/pip-req-build-hcv4qijb
Cloning into '/tmp/pip-req-build-hcv4qijb'...
Running command git rev-parse HEAD
86278552635c8809f43ea73e275932d6ae25a65d
Resolved https://github.com/mov-cli/mov-cli.git to commit 86278552635c8809f43ea73e275932d6ae25a65d
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-hcv4qijb/setup.py", line 2, in <module>
from mov_cli.__version__ import __core__
File "/tmp/pip-req-build-hcv4qijb/mov_cli/__init__.py", line 1, in <module>
from . import __main__
File "/tmp/pip-req-build-hcv4qijb/mov_cli/__main__.py", line 7, in <module>
from .websites.theflix import Theflix
File "/tmp/pip-req-build-hcv4qijb/mov_cli/websites/theflix.py", line 5, in <module>
import httpx
ModuleNotFoundError: No module named 'httpx'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/bin/python -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-hcv4qijb/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-mm0mwpc9
cwd: /tmp/pip-req-build-hcv4qijb/
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I had to install bs4, colorama, and httpx manually and then run pip install to get it installed
It gets as far as to episode selection, or movie selection, but when the stream is selected, it doesn't open the stream with mpv, instead it gives this error and closes. I have another account on the system, named "IIT Work", however mov-cli is not installed in that account. Idk why it is searching for anything there.
Asking this because i am making a small page for it.
The bash version of mov-cli, running on debian testing/unstable x64 and mpv (with vdpau as video output) as the player.
I am watching a series this week and today I noticed that the episode was too laggy from the start. Mpv's stats (the on screen info that comes up when pressing "i") showed that the video was an 4k (3840*2160, or 2160p) h265. Similar info was also displayed in the terminal like so
Video link fetched https://urlhere.com/Something-S01E01-HDR.2160p.WEB.h265-blablabla
Sadly, I have neither the bandwith, nor the hardware for such a stream, so a way to select the resolution (either via a switch or from some config file) is more than desirable. The same applies for the codec and hdr.
Thank you in advance :)
downloaded using curl
movie search works, searched american psycho and got this:
https://theflixvd.b-cdn.net/videos/1611591258135_American.Psycho.2000.1080p.BluRay.x264-nikt0.mp4?token=H_c8hdOl9m17S8-kXek28yD8HAU1XZfku942-2XEjjQ&expires=1660
No search results found%
default server: solarmovie.pe
default player: mpv
default download directory: /Downloads
default quality: 1080p
or can we have just a numbered list of server and select by number:
[1] actvid
[2]theflix
[3]sflix
[4]solar
but I prefer the .config file for efficiency cause you will find that some servers are faster or slower for you.
^title
Maybe you could ask the users if they want to search movies or tv-shows, instead of having movies as default and tv-shows "hidden".
Besides, when searching (i.g.: "Select episode" step) it would be nice to have an option to restart the program without quitting. For now, if you decide you want to search another show, you have to close the program and open it again.
Certain providers cannot load content, only showing this message before the program quits:
"The Current Provider has changed"
this is the Python version of mov-cli.
Perhaps related, theflix doesn't load content either. instead, it sends the user in a loop of "Enter your choice" (in my system monitor, i can see mpv tries to launch, then quits after a few seconds without showing the player window)
I tried uninstalling mov-cli to reinstall it and try again but my system claims it doesn't exist. Heres what outputs when I type "mov-cli":
[X]: Error while connecting to Discord
Traceback (most recent call last):
File "/home/yaboi_sakurai/.local/bin/mov-cli", line 5, in
from mov_cli.main import movcli
File "/home/yaboi_sakurai/.local/lib/python3.10/site-packages/mov_cli/init.py", line 1, in
from . import main
File "/home/yaboi_sakurai/.local/lib/python3.10/site-packages/mov_cli/main.py", line 27, in
default=f"{config.getprovider()}",
File "/home/yaboi_sakurai/.local/lib/python3.10/site-packages/mov_cli/utils/config.py", line 45, in getprovider
if config.providerexists() is True:
File "/home/yaboi_sakurai/.local/lib/python3.10/site-packages/mov_cli/utils/config.py", line 59, in providerexists
file = f"{config.winorlinux()}/mov_cli/.provider"
File "/home/yaboi_sakurai/.local/lib/python3.10/site-packages/mov_cli/utils/config.py", line 15, in winorlinux
return f"/home/{os.getlogin()}"
OSError: [Errno 6] No such device or address
is it possible to add https://lookmovie2.to/ ?
olgply is down for days now.
Mov-cli: (select server/provider) Solar
Mov-cli: -T --trending (displays the trending movie/tvshows) or -L --latest (displays the latest movie/tvshows)
Cause sometimes we just don't know what to watch and we need to browse contents that might interest us.
I just installed mov-cli on a second computer, but only the version installed on the first computer is showing kimcartoon and other providers.
pointblank@ao1-macbook ~ mov-cli
Movies and Shows:
theflix
actvid
sflix
solar
dopebox
ask4movie
Live TV:
eja
ustvgo / US IP ONLY
Cartoons:
kimcartoon
the installation on the other device only shows theflix, vidsrc, ejz, trailers, and ask4movie
this is my update / install function for zsh:
function mov-cli-update {
sudo rm -rf /usr/local/bin/mov-cli
git -C /tmp/ clone https://github.com/mov-cli/mov-cli
cd /tmp/mov-cli/
python3 setup.py build && sudo python3 setup.py install
sudo rm -rf /tmp/mov-cli/
cd ~
}
Every time the program tries to do a search, this error pops out:
[!] An error has occurred | Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
I found out this error pops out because of the lines:
soup = BS(source, "lxml")
should be:
soup = BS(source, "html.parser")
IDK if this is an error of the lxml library or if the new python version made some breaking changes, anyway using html.parser solves the problem, so I'm going to fix all the lines and make a pull request
Nothing works, can't play anything, ends in errors. Used python version using pip install mov-cli
Is it possible to make selected episodes "ex: select episode from 3 to 10" like ani-cli did in the last update.
I will do it myself but I'm a noob in scripts
Would be cool to implement FZF instead of displaying plain text.
in an arch linux vm I installed mov-cli and it just spits out line 1: not: command not found where as on my main pc (windows) it runs completely fine, no I didnt mix up the install cmds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.