summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcomedyGenerator4
1 files changed, 2 insertions, 2 deletions
diff --git a/comedyGenerator b/comedyGenerator
index cd0bc00..19392e0 100755
--- a/comedyGenerator
+++ b/comedyGenerator
@@ -217,6 +217,7 @@ for tags in args.tags:
if args.verbose:
print("shortening name because its too long")
name = name[0:200]
+ name = name.replace('"', "")
outputPath = args.output + tags + " - " + name + "." + urlsplit[len(urlsplit)-1]
if args.verbose:
print("name read as: " + name)
@@ -224,8 +225,7 @@ for tags in args.tags:
print(name + " already exists!")
else:
print("saving " + video + " as " + name)
- for tries in range(100):
- urllib.request.urlretrieve(video, outputPath)
+ urllib.request.urlretrieve(video, outputPath)
if args.jobs > 1 and args.noDownload == False:
pool = Pool(args.jobs)
for video in videos: