diff --git a/open_youtube.py b/open_youtube.py new file mode 100644 index 0000000..b6052d2 --- /dev/null +++ b/open_youtube.py @@ -0,0 +1,7 @@ +from adb import Device +import pyperclip +def open_youtube(Device,link): + Device.shell(*('am start -a android.intent.action.VIEW'.split(' ')),link) +if __name__ == "__main__": + d = Device.prim_device() + open_youtube(d,pyperclip.paste()) \ No newline at end of file