convert-to-markdown
Convert Files and URLs to Markdown
When to Use
- You need a transcript of a YouTube video
- You need to convert an MHTML file or web page into Markdown for easier reading and processing
- You need to convert a local HTML file into Markdown
Procedure
YouTube Transcript
To extract YouTube captions, run the youtube-transcript script:
./scripts/youtube-transcript.py <youtube_video_id_or_url>
YouTube Transcript with metadata
To extract YouTube captions along with metadata, run the youtube-transcript script:
./scripts/youtube-transcript.py --info <youtube_video_id_or_url>
MHTML to Markdown
Converts an MHTML file (local path) or a remote MHTML URL into Markdown using MarkItDown.
./scripts/mhtml-to-md.py <path_or_url>
HTML to Markdown
Converts a local HTML (or other supported) file into Markdown using MarkItDown directly.
uvx markitdown <path>
More from varlabz/skills
searxng-search
Search the web using a local SearXNG instance. Use for web searches, finding current information, researching topics, checking news, looking up documentation, or finding recent events. Supports categories: general, news, images, videos, it, science, social media.
24youtube-transcript
Extract transcripts from YouTube videos. Use for getting video transcripts for analysis, summarization, or content extraction. Supports video ID or URL lookup, configurable language selection, and output formats.
4