From 1ce10dfae4e63c2f5873ce088bc8b8ad44e76c8a Mon Sep 17 00:00:00 2001 From: MMaker Date: Thu, 27 Feb 2025 06:58:15 -0500 Subject: [PATCH] Remove raise for status check temporarily --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 597b500..704fda0 100644 --- a/app.py +++ b/app.py @@ -192,7 +192,7 @@ def get_data(video_id, real_url): try: logger.info(f"Fetching content from URL: {real_url}") r = s.get(real_url, timeout=10) - r.raise_for_status() + # r.raise_for_status() except requests.RequestException as e: logger.error(f"Error fetching the page for video ID '{video_id}': {e}") return None, None