diff options
| author | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
|---|---|---|
| committer | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
| commit | 51e3c8b2e7c6b5cfc57551efdd284bc63569df85 (patch) | |
| tree | 90d796e7672d509784c38cec4cf54d86b9bb5019 | |
| parent | ffa55abfe573b6a9c69fdbbb9b5c6224afddddab (diff) | |
| download | comedyGenerator-51e3c8b2e7c6b5cfc57551efdd284bc63569df85.tar.gz comedyGenerator-51e3c8b2e7c6b5cfc57551efdd284bc63569df85.tar.bz2 comedyGenerator-51e3c8b2e7c6b5cfc57551efdd284bc63569df85.zip | |
fixed but with overly long names
| -rwxr-xr-x | comedyGenerator | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/comedyGenerator b/comedyGenerator index 65986d5..1301259 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -213,6 +213,10 @@ for tags in args.tags: print("Now running for " + str(video)) urlsplit = video.split('.') + if len(name) > 200: + if args.verbose: + print("shortening name because its too long") + name = name[0:200] outputPath = args.output + tags + " - " + name + "." + urlsplit[len(urlsplit)-1] if args.verbose: print("name read as: " + name) |
