Update app.py
Browse files
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
|
|
|
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
|