Initial commit

This commit is contained in:
√(noham)² 2024-09-15 13:53:03 +02:00
commit b2b73f6c13
8 changed files with 247 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

129
.gitignore vendored Normal file
View File

@ -0,0 +1,129 @@
# Editors
.vscode/
.idea/
# Vagrant
.vagrant/
# Mac/OSX
.DS_Store
# Windows
Thumbs.db
# Source for the following rules: https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
dist_chrome/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# node
node_modules/

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# JustJustWatch
This project pulls data from [JustWatch](https://www.justwatch.com/) and shows details about movies and series.
## Installation
```bash
pip install -r requirements.txt
```
## Usage
```bash
python info.py
```
## Example Usage
### 1. Series Example: Mad Dogs
URL: https://www.justwatch.com/fr/serie/mad-dogs
![readme/result.png](readme/result.png)
### 2. Movie Example: Dune (2020)
URL: https://www.justwatch.com/fr/film/dune-2020
![readme/result2.png](readme/result2.png)

88
info.py Normal file

File diff suppressed because one or more lines are too long

1
query.txt Normal file

File diff suppressed because one or more lines are too long

BIN
readme/result.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

BIN
readme/result2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 KiB

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
Requests==2.32.3
tabulate==0.9.0
tqdm==4.65.0