This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import undetected_chromedriver as uc | |
| def analyze_redirect_with_undetected_chromedriver_stealth(url): | |
| """ | |
| Uses 'undetected_chromedriver' in non-headless mode for a stealthier approach, | |
| helping bypass basic detection and possible Cloudflare checks. | |
| """ | |
| print("=== Using undetected-chromedriver (non-headless) ===") | |
| print(f"Navigating to: {url}\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import json | |
| import logging | |
| import os | |
| import re | |
| import shutil | |
| from concurrent.futures import ProcessPoolExecutor, as_completed | |
| from dataclasses import dataclass | |
| from datetime import datetime | |
| from typing import Any, Callable, Dict, List, Literal, Optional, Tuple |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # TODO: Add Youtube download module | |
| # TODO: Remember to download the .srt file and transcript from YouTube when you download the video. | |
| # TODO: Verify if it's possible to download the transcript without timings from YouTube. | |
| # TODO: refactor the names of modules | |
| # TODO: Please confirm why an unnecessary .srt file, containing all the subtitles, is being generated in the crew_output. | |
| # TODO: Add a script module to clean the contents of api_response.json after each run. This will help prevent conflicts or errors during the next execution. | |
| # TODO: Add a caption maker in the style of @tsarnick. You may need to input the speaker's name. | |
| # TODO: change subtitle style & format | |
| # TODO: if subtitler.py find existing output, it should overwrite it | |
| # TODO: Improve the speed of Whisper |
NewerOlder