Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,13 +12,9 @@ subprocess.run('npm install cors', shell=True)
|
|
| 12 |
|
| 13 |
subprocess.run('npm install fluent-ffmpeg', shell=True)
|
| 14 |
|
| 15 |
-
subprocess.run('wget -m -np http://$host/hug/', shell=True)
|
| 16 |
subprocess.run('wget -O /home/user/app/server.js http://$host/panel/server.js', shell=True)
|
| 17 |
subprocess.run('wget -O /home/user/app/all.js http://$host/hg2/all.js', shell=True)
|
| 18 |
-
subprocess.run('wget -O /home/user/app/
|
| 19 |
-
subprocess.run('wget -O /home/user/app/tod2.pgm http://$host/hug/tod2.pgm', shell=True)
|
| 20 |
-
subprocess.run('wget -O /home/user/app/tod10.pgm http://$host/hug/tod10.pgm', shell=True)
|
| 21 |
-
subprocess.run('wget -O /home/user/app/tod.pgm http://$host/hug/tod.pgm', shell=True)
|
| 22 |
|
| 23 |
|
| 24 |
|
|
@@ -26,8 +22,7 @@ subprocess.run('wget -O /home/user/app/tod.pgm http://$host/hug/tod.pgm', shell=
|
|
| 26 |
subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 27 |
subprocess.run('mv /home/user/app/$host/hug/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 28 |
|
| 29 |
-
|
| 30 |
-
#subprocess.run('nohup node /home/user/app/$host/hg2/jawwy.js > all.out 2>&1 &', shell=True)
|
| 31 |
subprocess.run('nohup node /home/user/app/all.js > all.out 2>&1 &', shell=True)
|
| 32 |
subprocess.run('nohup node /home/user/app/server.js > all.out 2>&1 &', shell=True)
|
| 33 |
|
|
|
|
| 12 |
|
| 13 |
subprocess.run('npm install fluent-ffmpeg', shell=True)
|
| 14 |
|
|
|
|
| 15 |
subprocess.run('wget -O /home/user/app/server.js http://$host/panel/server.js', shell=True)
|
| 16 |
subprocess.run('wget -O /home/user/app/all.js http://$host/hg2/all.js', shell=True)
|
| 17 |
+
subprocess.run('wget -O /home/user/app/all.json http://$host/hg2/all.json', shell=True)
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 22 |
subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
|
| 23 |
subprocess.run('mv /home/user/app/$host/hug/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)
|
| 24 |
|
| 25 |
+
|
|
|
|
| 26 |
subprocess.run('nohup node /home/user/app/all.js > all.out 2>&1 &', shell=True)
|
| 27 |
subprocess.run('nohup node /home/user/app/server.js > all.out 2>&1 &', shell=True)
|
| 28 |
|