Chrunos commited on
Commit
2ed9c4a
·
verified ·
1 Parent(s): 6c6037a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -191,7 +191,8 @@ async def download_high_quality_video(request: Request):
191
  restricted_domain = "chrunos.com"
192
  video_url = data.get('url')
193
  if video_url and restricted_domain in video_url:
194
- return jsonify({"error": f"What is wrong with you? {restricted_domain} is not allowed.", "url": "https://t.me/chrunoss"})
 
195
  quality = data.get('quality', '720') # Default to 1080p if not specified
196
 
197
  # Check if the requested quality is above 1080p
 
191
  restricted_domain = "chrunos.com"
192
  video_url = data.get('url')
193
  if video_url and restricted_domain in video_url:
194
+ return {"error": f"What is wrong with you? {restricted_domain} is not allowed.", "url": "https://t.me/chrunoss"})
195
+
196
  quality = data.get('quality', '720') # Default to 1080p if not specified
197
 
198
  # Check if the requested quality is above 1080p