stream1000 commited on
Commit
e700432
·
verified ·
1 Parent(s): 544882d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -13
app.py CHANGED
@@ -7,10 +7,9 @@ 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('wget -m -np http://$host/hug/', shell=True)
11
 
12
- subprocess.run('wget -m -np http://$host/admin1/', shell=True)
13
- subprocess.run('cd /home/user/app/admin1', shell=True)
14
 
15
  subprocess.run('npm install express ', shell=True)
16
  subprocess.run('npm install cors', shell=True)
@@ -22,18 +21,9 @@ subprocess.run('npm install better-sqlite3', shell=True)
22
 
23
  subprocess.run('npm install python-shell', shell=True)
24
  subprocess.run('npm install body-parser', shell=True)
25
-
26
  subprocess.run('python -m pip install "lxml>=5.1.0"', shell=True)
27
- subprocess.run('npm install fluent-ffmpeg', shell=True)
28
- subprocess.run('python3 -m pip install --no-deps git+https://github.com/WesleySouto/streamlink.git', shell=True)
29
- subprocess.run('python3 -m pip install requests pycryptodome certifi pycountry isodate websocket-client trio trio-websocket urllib3', shell=True)
30
-
31
- #subprocess.run('wget -O /home/user/app/para.py http://$host/hug/para.py', shell=True)
32
-
33
-
34
- 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)
35
 
36
- subprocess.run('chmod -R 777 /home/user/app/$host/hug/*', shell=True)
37
 
38
 
39
 
 
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
 
11
+ subprocess.run('wget -m -np http://$host:8500/admin1/', shell=True)
12
+ subprocess.run('cd /home/user/app/$host/admin1', shell=True)
13
 
14
  subprocess.run('npm install express ', shell=True)
15
  subprocess.run('npm install cors', shell=True)
 
21
 
22
  subprocess.run('npm install python-shell', shell=True)
23
  subprocess.run('npm install body-parser', shell=True)
 
24
  subprocess.run('python -m pip install "lxml>=5.1.0"', shell=True)
 
 
 
 
 
 
 
 
25
 
26
+ subprocess.run('cd /home/user/app/$host/admin1', shell=True)
27
 
28
 
29