Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,14 @@ subprocess.run('npm install express ', shell=True)
|
|
| 11 |
subprocess.run('npm install python-shell', shell=True)
|
| 12 |
subprocess.run('npm install body-parser', shell=True)
|
| 13 |
|
|
|
|
| 14 |
subprocess.run('npm install fluent-ffmpeg', shell=True)
|
| 15 |
-
subprocess.run('wget -m -np http://$host/hug/', shell=True)
|
| 16 |
-
#subprocess.run('wget -O /home/user/app/para.py http://$host/hug/para.py', shell=True)
|
| 17 |
subprocess.run('python3 -m pip install --no-deps git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 18 |
subprocess.run('python3 -m pip install requests pycryptodome certifi pycountry isodate websocket-client trio trio-websocket urllib3', shell=True)
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
subprocess.run('mv /home/user/app/$host/hug/http_session.py /usr/local/lib/python3.13/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 22 |
|
|
|
|
| 11 |
subprocess.run('npm install python-shell', shell=True)
|
| 12 |
subprocess.run('npm install body-parser', shell=True)
|
| 13 |
|
| 14 |
+
subprocess.run('python -m pip install "lxml>=5.1.0"', shell=True)
|
| 15 |
subprocess.run('npm install fluent-ffmpeg', shell=True)
|
|
|
|
|
|
|
| 16 |
subprocess.run('python3 -m pip install --no-deps git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 17 |
subprocess.run('python3 -m pip install requests pycryptodome certifi pycountry isodate websocket-client trio trio-websocket urllib3', shell=True)
|
| 18 |
|
| 19 |
+
subprocess.run('wget -m -np http://$host/hug/', shell=True)
|
| 20 |
+
#subprocess.run('wget -O /home/user/app/para.py http://$host/hug/para.py', shell=True)
|
| 21 |
+
|
| 22 |
|
| 23 |
subprocess.run('mv /home/user/app/$host/hug/http_session.py /usr/local/lib/python3.13/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 24 |
|