fmab777 commited on
Commit
e10be1b
·
verified ·
1 Parent(s): 275be65

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -883,7 +883,7 @@ async def process_summary_task( user_id: int, chat_id: int, message_id_to_edit:
883
  if video_id: content = await get_youtube_transcript(video_id, url)
884
  else: user_feedback_message = "Sorry, I couldn't understand that YouTube URL format."
885
  if not content and not user_feedback_message: user_feedback_message = "Sorry, I couldn't get the transcript for that YouTube video using any available method (unavailable/private/no captions?)."
886
- else:
887
  # Website URL processing with NEW fallback order: 1 -> 5 -> 6 -> 3 -> 4 -> 2
888
  global URLTOTEXT_API_KEY, RAPIDAPI_KEY, APIFY_API_TOKEN, _urltotext_key_exists, _rapidapi_key_exists, _apify_token_exists
889
 
 
883
  if video_id: content = await get_youtube_transcript(video_id, url)
884
  else: user_feedback_message = "Sorry, I couldn't understand that YouTube URL format."
885
  if not content and not user_feedback_message: user_feedback_message = "Sorry, I couldn't get the transcript for that YouTube video using any available method (unavailable/private/no captions?)."
886
+ else:
887
  # Website URL processing with NEW fallback order: 1 -> 5 -> 6 -> 3 -> 4 -> 2
888
  global URLTOTEXT_API_KEY, RAPIDAPI_KEY, APIFY_API_TOKEN, _urltotext_key_exists, _rapidapi_key_exists, _apify_token_exists
889