Captain Ezio commited on
Commit
11b3887
·
1 Parent(s): 82d260e

few changes...

Browse files
Files changed (2) hide show
  1. Powers/utils/web_helpers.py +1 -1
  2. requirements.txt +1 -0
Powers/utils/web_helpers.py CHANGED
@@ -153,7 +153,7 @@ async def youtube_downloader(c:Gojo,m:Message,query:str,is_direct:bool,type_:str
153
  # ydl = yt_dlp.YoutubeDL(opts)
154
  dicti = await song_search(query, is_direct,1)
155
  if not dicti and type(dicti) != str:
156
- await m.reply_text("File with duration less than or equals to 5 minutes is allowed only")
157
  elif type(dicti) == str:
158
  await m.reply_text(dicti)
159
  return
 
153
  # ydl = yt_dlp.YoutubeDL(opts)
154
  dicti = await song_search(query, is_direct,1)
155
  if not dicti and type(dicti) != str:
156
+ await m.reply_text("File with duration less than or equals to 10 minutes is allowed only")
157
  elif type(dicti) == str:
158
  await m.reply_text(dicti)
159
  return
requirements.txt CHANGED
@@ -20,6 +20,7 @@ pyrogram==2.0.106; python_version >= "3.8"
20
  pysocks==1.7.1; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.4.0"
21
  python-dateutil==2.8.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0")
22
  pytube==15.0.0
 
23
  pytz==2023.3
24
  pyyaml==6.0.1; python_version >= "3.6"
25
  qrcode==7.4.2
 
20
  pysocks==1.7.1; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.4.0"
21
  python-dateutil==2.8.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.3.0")
22
  pytube==15.0.0
23
+ pytube==9.6.4
24
  pytz==2023.3
25
  pyyaml==6.0.1; python_version >= "3.6"
26
  qrcode==7.4.2