diff options
author | msglm <msglm@techchud.xyz> | 2023-01-11 20:51:07 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-01-11 20:51:07 -0600 |
commit | cf99fcd832865caf11579ec425ec25cd08dbdc91 (patch) | |
tree | 8a4e65069a8188aa894d03c4499f89639bb84871 | |
parent | 5a9733d69c7de346c6f82c44e6a8dfb39495979d (diff) | |
download | comedyGenerator-cf99fcd832865caf11579ec425ec25cd08dbdc91.tar.gz comedyGenerator-cf99fcd832865caf11579ec425ec25cd08dbdc91.tar.bz2 comedyGenerator-cf99fcd832865caf11579ec425ec25cd08dbdc91.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) |