23 Commits

Author SHA1 Message Date
9842e52806 chore: make youtube_transcript_downloader.py executable
Changed the file mode from 100644 (non-executable) to 100755 (executable) to allow the script to be run directly.
2026-04-07 13:01:17 -04:00
b7eabcaa07 Delete generated_transcripts/transcript_v75iZrtI6hw_translated.txt 2026-04-07 12:50:02 -04:00
592ac93d40 Delete generated_transcripts/transcript_TWV4JQtGxTA.txt 2026-04-07 12:49:56 -04:00
2b6d608618 feat: add generated transcript and update gitignore pattern
- Add new transcript file `generated_transcripts/transcript_TWV4JQtGxTA.txt` containing 946 lines of content
- Update .gitignore to ignore transcript files in root directory with leading slash pattern
2026-04-07 12:48:18 -04:00
423b9250c5 chore(language-codes): add English words and adjust detection threshold
- Added 'has', 'acquire', and 'without' to COMMON_ENGLISH_WORDS dictionary
- Modified is_english detection threshold from 0.05 to 0.04 matches ratio
- Added debug logging to show matches count during English detection
2026-04-07 12:43:06 -04:00
6138018fa3 feat: centralize common English words for language detection
Move COMMON_ENGLISH_WORDS set from youtube_transcript_downloader.py to language_codes.py as a shared constant. This improves code organization and reusability, allowing other modules to reference the same word list for English language detection.
2026-04-07 12:27:49 -04:00
98b1a676cb feat: centralize common English words for language detection
Move COMMON_ENGLISH_WORDS set from youtube_transcript_downloader.py to language_codes.py as a shared constant. This improves code organization and reusability, allowing other modules to reference the same word list for English language detection
2026-04-07 12:24:52 -04:00
25e9e36372 remove unused function 2026-04-07 12:22:42 -04:00
98b76e8f23 Delete __pycache__/youtube_transcript_downloader.cpython-312.pyc 2026-04-07 12:19:38 -04:00
6a0881e1ee Merge branch 'new' 2026-04-07 12:18:50 -04:00
d07b46561a Add comprehensive YouTube language codes arrays for transcript downloader 2026-04-07 12:12:20 -04:00
9aece71bf6 feat: add language codes module and improve transcript fallback logic
- Introduce `language_codes.py` with complete YouTube language codes and fallback lists
- Refactor `youtube_transcript_downloader.py` to use centralized language lists
- Replace interactive prompt with automatic English translation
- Implement sequential fallback: English → common languages → all supported languages
2026-04-07 12:09:58 -04:00
4199cf6511 chore: add transcript_*.txt to .gitignore 2026-04-07 11:59:47 -04:00
11db78c2fd chore: add __pycache__ to .gitignore to exclude Python bytecode directories 2026-04-07 11:58:56 -04:00
925d5d2c54 Final implementation of YouTube caption downloader with language code arrays 2026-04-07 11:57:40 -04:00
c5b7a80392 Add global language codes arrays for YouTube transcript fallback support 2026-04-07 11:56:18 -04:00
c3051c1c12 Refine download_captions function with enhanced fallback languages and better error handling 2026-04-07 11:53:49 -04:00
0bc502fa6f Refine download_captions function with enhanced fallback languages and better error handling 2026-04-07 11:53:23 -04:00
3b90913330 Add download_captions function with English preference and translation capabilities 2026-04-07 11:40:39 -04:00
f14665d47d Add download_captions function to download YouTube captions with English preference 2026-04-07 11:33:30 -04:00
27397e60ff Add download_captions function to download YouTube captions with English preference 2026-04-07 11:33:05 -04:00
a7d465b08a Fix YouTubeTranscriptApi method call from get_transcript() to fetch()
Tested video v75iZrtI6hw and researched APIs for live stream transcripts. The get_transcript() method doesn't exist in youtube-transcript-api library. Should use YouTubeTranscriptApi().fetch() instead.
2026-04-07 10:37:05 -04:00
656580df52 Initial commit through Cline Kanban 2026-04-07 10:04:27 -04:00