diff options
author | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:50 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:50 -0500 |
commit | 9cc3c774f05a887945f219fbb5933cd0ef20d95f (patch) | |
tree | 8a4e65069a8188aa894d03c4499f89639bb84871 | |
parent | 93249a8b74e2d66720cce65172d0a4d585152d69 (diff) | |
download | comedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.tar.gz comedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.tar.bz2 comedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.zip |
ok now it actually works
-rwxr-xr-x | comedyGenerator | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/comedyGenerator b/comedyGenerator index 48ed69f..1ba068e 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -105,9 +105,7 @@ elif args.usingJavascript: epoch = epoch + 1 print("saving " + video.get_attribute("data-src") + " as " + str(epoch) + '.mp4') urllib.request.urlretrieve(video.get_attribute("data-src"), '/home/' + os.environ['USER'] + '/Videos/unsorted/' + str(epoch) + '.mp4') - driver.close() - - + driver.quit() else: print("Neither Javascript or HTML was given!") sys.exit(1) |