Danker commited on
Commit
9bb764a
·
1 Parent(s): 88993b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -79,6 +79,9 @@ def validate_youtube(url):
79
  return True
80
 
81
  def validate_url(url):
 
 
 
82
 
83
  if not validators.url(url):
84
  return True
 
79
  return True
80
 
81
  def validate_url(url):
82
+ #https://
83
+ if url[0:8] == "https://" or url[0:8] == "http://"
84
+ url = url[8::]
85
 
86
  if not validators.url(url):
87
  return True