Some of the old YouTube videos still have http links. They will redirect
to https.
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
if(not isValidOptions(options)):
quit(1)
if(not isValidOptions(options)):
quit(1)
- if searchQuery.startswith("https:") or searchQuery.startswith("magnet:"):
+ if searchQuery.startswith("http") or searchQuery.startswith("magnet"):
if options["download"]:
directDownload(sanitizeURL(searchQuery), options["musicOnly"])
else:
if options["download"]:
directDownload(sanitizeURL(searchQuery), options["musicOnly"])
else: