Skip to content

Commit

Permalink
Update updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
P-PPPP authored Feb 15, 2022
1 parent 755fc3d commit e9e3be8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from zipfile import ZipFile

header = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"}
os.system("sudo apt-get update")
os.system("sudo apt install -y ffmpeg")
Remote_Indexer = []
for i in requests.get("https://raw.githubusercontent.com/A-Soul-Database/A-Soul-Data/main/db/main.json").json()["LiveClip"]:
Expand Down Expand Up @@ -89,4 +90,4 @@ def getPs(bv):
ips,token = i.split(",")
requests.post(f"https://{ips}/api/v1/webhooks/update",json={"token":token})
except:
print(f"Failed to send webhook")
print(f"Failed to send webhook")

0 comments on commit e9e3be8

Please sign in to comment.