mirror of
https://github.com/xoceunder/Xtream-UI-install.git
synced 2026-10-25 16:22:18 +01:00
15 lines
378 B
Python
15 lines
378 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
# update panel
|
|
import subprocess, os, sys
|
|
from itertools import cycle, izip
|
|
|
|
def updateyoutube():
|
|
os.system("sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl")
|
|
os.system("sudo chmod a+rx /usr/local/bin/youtube-dl")
|
|
return True
|
|
|
|
if __name__ == "__main__":
|
|
updateyoutube()
|
|
#start()
|