Code Monkey home page Code Monkey logo

megafilmes's Introduction

TV BRAZIL M3u8 Free

This project is a Django application made with Python 3.8 or higher, and it has the purpose of assembling M3u8 lists for IPTV transmission.

In this application you have: Movies, Series and Closed TV Channels.

Channels Interface

List IPTV m3u8

For any devices, install your preferred: https://github.com/iptv-org/awesome-iptv

Requirements

-- To install this project, you need to have Python (>= 3.6) installed on your machine, GIT, Google Chrome and and the Anaconda tool.

Step 1: Anaconda Tool

Download and Install Anaconda

  1. Go to the Anaconda Website and choose a Python 3.x graphical installer (A) or a Python 2.x graphical installer (B). If you aren't sure which Python version you want to install, choose Python 3. Do not choose both.
  2. Locate your download and double click it.
  3. Install Anaconda
  4. This is an important part of the installation process. Please check the box to add into PATH.

Step 2: Clone and Install

Clone the project:

git clone https://github.com/caiomarinhodev/megafilmes.git

then go into the project root and run:

pip install -r requirements.txt

to be able to install the project dependencies.

Step 3: Configurations

In your terminal run:

python manage.py makemigrations

and

python manage.py migrate

and create an admin user for login into platform.

python manage.py createsuperuser

Step 4: How to use

To use the tool you need discover your IP local. P.S.: to find your local IP, open another terminal and run code below, and see your Local IPV4.

ipconfig
  1. On terminal and run:
python manage.py runserver <your_local_ip>:80
  1. Open other terminal, into project root, with your created enviroment and run:
python manage.py runcrons

After having the server running and the update CRON, to access the list, access your preferred browser (we recommend Chrome, as our application uses chromedriver to get the links from a reliable source.): http://<your_local_ip>/lista.m3u8

or

http://<your_local_ip>/lista2.m3u8

CRON will update the channel list (there are 105 closed TV channels), and this process takes around 25 minutes. CRON runs the update process every 4 hours, because channels have an expiration time of 8 hours.

To solve this problem I created a CRON that runs every 4 hours and updates all 105 channels. Remember to always run the server ("runserver") to access the m3u8 list and run CRON ("runcrons") with the server on. Both must be running on different terminals.

any problem? send mail to me: [email protected]

This project is to be used for Study purposes. Remember Piracy is Crime!

megafilmes's People

Contributors

caiodotdev avatar caiomarinhodev 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.