stream1000 commited on
Commit
0d6ba0c
·
verified ·
1 Parent(s): fcb72e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,12 +5,13 @@ import os
5
  import signal
6
  subprocess.run('apt-get install nodejs -y', shell=True)
7
  subprocess.run('apt-get install npm -y', shell=True)
 
 
8
  subprocess.run('apt-get install htop -y', shell=True)
9
  subprocess.run('apt-get install nano -y', shell=True)
10
  subprocess.run('npm install express', shell=True)
11
  subprocess.run('npm install cors', shell=True)
12
 
13
- subprocess.run('npm install fluent-ffmpeg', shell=True)
14
  subprocess.run('npm install express ws ssh2', shell=True)
15
 
16
 
@@ -18,8 +19,7 @@ subprocess.run('wget -O /home/user/app/http_session.py http://$host/hg2/http_ses
18
  subprocess.run('wget -O /home/user/app/server4.js http://$host/2026/server4.js', shell=True)
19
  subprocess.run('wget -O /home/user/app/server3.js http://$host/panel/server.js', shell=True)
20
 
21
- subprocess.run('wget -O /home/user/app/ffmpeg http://$host/hg2/ffmpeg', shell=True)
22
- subprocess.run('chmod 777 /home/user/app/ffmpeg', shell=True)
23
 
24
  subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
25
  subprocess.run('mv /home/user/app/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)
 
5
  import signal
6
  subprocess.run('apt-get install nodejs -y', shell=True)
7
  subprocess.run('apt-get install npm -y', shell=True)
8
+ subprocess.run('apt-get install ffmpeg -y', shell=True)
9
+
10
  subprocess.run('apt-get install htop -y', shell=True)
11
  subprocess.run('apt-get install nano -y', shell=True)
12
  subprocess.run('npm install express', shell=True)
13
  subprocess.run('npm install cors', shell=True)
14
 
 
15
  subprocess.run('npm install express ws ssh2', shell=True)
16
 
17
 
 
19
  subprocess.run('wget -O /home/user/app/server4.js http://$host/2026/server4.js', shell=True)
20
  subprocess.run('wget -O /home/user/app/server3.js http://$host/panel/server.js', shell=True)
21
 
22
+
 
23
 
24
  subprocess.run('python3 -m pip install --upgrade git+https://github.com/WesleySouto/streamlink.git', shell=True)
25
  subprocess.run('mv /home/user/app/http_session.py /usr/local/lib/python3.10/site-packages/streamlink/plugin/api/http_session.py', shell=True)