Update List
This commit is contained in:
75
run_digi_extractor.bat
Normal file
75
run_digi_extractor.bat
Normal file
@@ -0,0 +1,75 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
title DIGI Online - Extractor Autentificat
|
||||
|
||||
echo ========================================
|
||||
echo 🎬 DIGI ONLINE - EXTRACTOR AUTENTIFICAT
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
REM Verifică dacă Python este instalat
|
||||
python --version >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo ❌ Python nu este instalat!
|
||||
echo.
|
||||
echo 📥 Descarcă Python de aici:
|
||||
echo https://www.python.org/downloads/
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo ✅ Python găsit!
|
||||
echo.
|
||||
|
||||
REM Verifică dacă librăria requests este instalată
|
||||
python -c "import requests" >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo ⚠️ Librăria 'requests' nu este instalată!
|
||||
echo 📦 Instalare automată...
|
||||
echo.
|
||||
pip install requests
|
||||
if errorlevel 1 (
|
||||
echo ❌ Eroare la instalare!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
echo ✅ Librăria 'requests' instalată cu succes!
|
||||
echo.
|
||||
)
|
||||
|
||||
echo 🚀 Rulare script...
|
||||
echo.
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
REM Rulează scriptul Python
|
||||
python digi_auth_extractor.py
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
if exist digi_authenticated.m3u (
|
||||
echo ✅ Playlist generat cu succes!
|
||||
echo 📁 Fișier: digi_authenticated.m3u
|
||||
echo.
|
||||
echo 📺 Folosește acest fișier în:
|
||||
echo - Dispatcharr
|
||||
echo - Jellyfin
|
||||
echo - VLC Media Player
|
||||
echo - Kodi
|
||||
echo - IPTV Smarters
|
||||
echo.
|
||||
) else (
|
||||
echo ❌ Playlist-ul nu a fost generat!
|
||||
echo Verifică erorile de mai sus.
|
||||
echo.
|
||||
)
|
||||
|
||||
echo 💡 TIP: Token-ul expiră după câteva ore.
|
||||
echo Rulează din nou acest script pentru reînnoire.
|
||||
echo.
|
||||
echo ========================================
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user