This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "./style.css"; | |
const categoriesToSearch = [ | |
"Tunisian Restaurant", | |
"Hypnotherapy Service", | |
"Armenian Restaurant", | |
"Water Damage Restoration Service", | |
"Lumber Store", | |
"Tire Shop", | |
"School District", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from uuid import uuid4 | |
def crop(start, end, input): | |
# get the path of the script | |
output = "__"+str(uuid4()) + ".mp4" | |
script_path = os.path.dirname(os.path.realpath(__file__)) | |
os.system('echo "file \'{}\'" >> list.txt'.format(script_path+'/'+output)) | |
cmd = "ffmpeg -i " + input + " -ss " + \ | |
start + " -to " + end + " -c copy " + output |