wendel pereira commited on
Commit
0ca45b3
1 Parent(s): 1f4d75d

removido limite do vídeo

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -37,12 +37,7 @@ def validate_youtube(url):
37
  return True
38
  #This will return the length of the video in sec as an int
39
  video_length = yt.length
40
- if video_length > 600:
41
- print("Your video is larger than 10 minutes")
42
- return True
43
- else:
44
- print("Your video is less than 10 minutes")
45
- return False
46
 
47
  def validate_url(url):
48
  import validators
 
37
  return True
38
  #This will return the length of the video in sec as an int
39
  video_length = yt.length
40
+ return False
 
 
 
 
 
41
 
42
  def validate_url(url):
43
  import validators