summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-08-17 19:53:50 -0500
committermsglm <msglm@techchud.xyz>2025-08-17 19:53:50 -0500
commit9cc3c774f05a887945f219fbb5933cd0ef20d95f (patch)
tree8a4e65069a8188aa894d03c4499f89639bb84871
parent93249a8b74e2d66720cce65172d0a4d585152d69 (diff)
downloadcomedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.tar.gz
comedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.tar.bz2
comedyGenerator-9cc3c774f05a887945f219fbb5933cd0ef20d95f.zip
ok now it actually works
-rwxr-xr-xcomedyGenerator4
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)