Ben 1 year ago
parent
commit
8eeba8923b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app.py

+ 1 - 0
app.py

@@ -36,6 +36,7 @@ def p():
                 if item.get("format_id") == format_id:
                     url = item.get("url")
                     response = requests.get(url, stream=True)
+                    logging.info(f"videoId: {video_id} status code: {response.status_code}")
 
                     def generate():
                         for chunk in response.iter_content(chunk_size=1024):