Add script to process YouTube videos and linter for post/caption consistency#15
Open
Copilot wants to merge 4 commits into
Open
Add script to process YouTube videos and linter for post/caption consistency#15Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Co-authored-by: davelab6 <261579+davelab6@users.noreply.github.com>
…handling, add __pycache__ to .gitignore Co-authored-by: davelab6 <261579+davelab6@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add script to download VTT files and create Jekyll post
Add script to process YouTube videos and linter for post/caption consistency
Oct 26, 2025
Contributor
|
@copilot since |
Co-authored-by: davelab6 <261579+davelab6@users.noreply.github.com>
Contributor
Author
davelab6
approved these changes
Oct 26, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
process_video.pyscript to download VTT files and create Jekyll postlinter.pyscript to check consistency between posts and captionslinter.pyscript (passes with 349 matching posts/VTT files)Summary
Successfully implemented two new Python scripts and addressed all feedback:
process_video.py (302 lines) - Downloads VTT caption files for a YouTube video using yt-dlp and creates Jekyll post with complete frontmatter
linter.py (172 lines) - Validates consistency between _posts/ and _includes/captions/ directories
Latest change: Merged
extract_youtube_id_from_vtt_filename()inline intoget_all_vtt_files()since it was only called once, simplifying the code structure.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.