A Stremio Addon for HTTPS Streams in Italian
Movies, Series, Anime and Live TV are supported.
- Install required packages
pip install -r requirements.txt
- If you want to use Eurostreaming install those packages:
-
Linux (Debian/Ubuntu):
sudo apt install tesseract-ocr libtesseract-dev -
Windows: Install the following library from this link
-
MacOS:
brew install tesseract
Then install the following Python package:
pip install pytesseract
-
Create a .env file and fill it (look at example.env)
-
Modify the config.json as you wish
-
Then to start the Fast API app server just execute:
python3 run.py
To host this project with Hugging Face you will need a Github Account, a Hugging Face account and a TMDB KEY.
- Fork this project and give it a random name.
[!WARNING] The name must not be related to Mamma Mia or mediaflowproxy. Just use a random name
-
Go on the Github of the Repo, click on Fork -> Create New Fork -> Create One.
-
Click on static directory and then click on static.py. Remove the whole content and put:
HTML = """
Whatever you want
"""
-
Change
Whatever you wantwith a random phrase (the longer it is, the better it is). If you are too lazy go to this link and generate it. -
Click Commit Changes [!WARNING] Since the main page doesn't exist anymore, you will need to configure MammaMia from /configure endpoint
-
Go to linked page and create a new Public Docker Space. [!WARNING] The Space must be Public or else you won't be able to access it
-
Go to Settings and in
Variables and secretssection click New Secret. AsNameput TMDB_KEY and as ```Value`` put your TMDB Key -
Go to Files and click Contribute -> Create a new file
-
In
Name your filefield putDockerfile. Inside the text box put the content of the Dockerfile calledDockerfile-auto-update-no-configwhich you will find inside the /Dockerfiles directory of your Github Fork. -
Where there is "YourUsername" put your Github username and where there is "YourRepoName" insert the name of the fork. [!WARNING] Don't remove the final . or it won't work
-
When you are done click Commit Changes to main
-
Go to the README.md in the Files section of your HuggingFace's space and click on it. After that click on edit. After
pinned: falseinsert thisapp_port: 8080 -
When you are done click Commit Changes to main
-
You are done!
-
To install it on Stremio you will need the Direct URL. It can be found on three dots --> Embed This Space --> Direct URL
If you do not find it it means your space is Private. To fix so go to Settings and click Set Visibility to Public. -
How to handle updates: First of all you will need to go to your GitHub Repo and click Sync Changes (without discarding commits). Then go into your HuggingFace Space ---> Settings ---> Factory Reset
To install this project on Render follow these steps:
[!WARNING] Render might ban your account. Modify the static.py file might help with that
-
Create an Account
-
Create a Web Service
-
Fork the repo and then connect it to Render
-
Aside from usual enviroment variables you will need to put PORT = 8080.
-
As build command put
pip install -r requirementsand as run command putpython3 run.py -
Then just finish Render Setup and you are done :)
Remember, load_env needs to be disabled in the config.json
| Enviroment Variable | Value |
|---|---|
| TMDB_KEY | INSERT YOUR API KEY HERE |
| FORWARDPROXY | "YOURFORWARDPROXY/" |
| PROXY | ["PROXY1","PROXY2"] |
Tutorial to get the TMDB Key: Tutorial
In the repo there is a config.json that you can modify to change some aspects of the addon like the domains of the sites. "1" means True, "0" means False
Down here all explained:
| Config | Value |
|---|---|
| Domain | The domain of the site, must be a string |
| enabled | If the site is enabled or not. This will override user-preference in the configuration |
| **_ForwardProxy | Whether or not to use the ForwardProxy for the specific site. |
| **_Proxy | Whether or not to use the Proxies for the specific site. |
| load_env | It needs to be enabled if you need to load a .env file. On remote hosting services, like Hugging Face or Render, it needs to be disabled. |
| HOST | The host for the Fast API APP |
| PORT | The port for the Fast API APP. Default: 8080 |
| level | The level for the logging module. Default: info |
| Icon | The Icon for the Add-On. |
| Global_Proxy | Whatever to enable a Global Proxy which will be valid for every request in the add-on. |
Check those links to get the new Domain for the providers.
This project uses Mediaflow-Proxy to bypass some protections. You can find instructions about how to install it here.
- Big thanks to Lovi0, the creator of StreamingCommunity downloader, for helping me with some aspects of this project.
- This project uses MediaFlowProxy in order to be able to play some Live TV channels and to proxy some streams. Big thanks to his creator, mhdzumair
We hereby issue this notice to inform you that this Add-On just function like an ordinary browser (like your browser) that fetch video files from internet, and do not violate the provisions of the Digital Millennium Copyright Act (DMCA). The Content these extensions may access is not hosted or made avaiable by us or the Stremio application but the websites they are browsing in their autonomous mode. It is sole responsibility of the user and his/her countries' or states' law. If you think they are violating any intellectual property then please contact the actual file hosts not the owners of this repository or the Stremio app.
Thank You.