School/IKEA_scraper/.venv/Lib/site-packages/eel/edge.py
Kristofers Solo e1996ea454 Added 'eel'
2021-09-13 18:47:06 +03:00

18 lines
345 B
Python

import platform
import subprocess as sps
import sys
name = 'Edge'
def run(_path, options, start_urls):
cmd = 'start microsoft-edge:{}'.format(start_urls[0])
sps.Popen(cmd, stdout=sys.stdout, stderr=sys.stderr, stdin=sps.PIPE, shell=True)
def find_path():
if platform.system() == 'Windows':
return True
return False