summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-08-17 19:53:51 -0500
committermsglm <msglm@techchud.xyz>2025-08-17 19:53:51 -0500
commitdf66c40c6eee22c755ab67b41283bc6f9165541a (patch)
tree14a414312f6e537054c327a707dcb6832c8371a5
parentb6aa9f4dd57f64b8ea23afceaeea4c26d139f54b (diff)
downloadcomedyGenerator-df66c40c6eee22c755ab67b41283bc6f9165541a.tar.gz
comedyGenerator-df66c40c6eee22c755ab67b41283bc6f9165541a.tar.bz2
comedyGenerator-df66c40c6eee22c755ab67b41283bc6f9165541a.zip
prevent slashes from appearing in file name
-rwxr-xr-xcomedyGenerator1
1 files changed, 1 insertions, 0 deletions
diff --git a/comedyGenerator b/comedyGenerator
index 763ea6f..1c90f84 100755
--- a/comedyGenerator
+++ b/comedyGenerator
@@ -222,6 +222,7 @@ for tags in args.tags:
print("shortening name because its too long")
name = name[0:200]
name = name.replace('"', "")
+ name = name.replace('/', "")
outputPath = args.output + tags + " - " + name + "." + urlsplit[len(urlsplit)-1]
if args.verbose:
print("name read as: " + name)