#markdown #convert #video #pages #content #parser #wwdc

app wwdc-parser

A tool to convert WWDC video pages to markdown

1 unstable release

0.1.0 Dec 10, 2024

#1372 in Parser implementations

Download history 138/week @ 2024-12-09

138 downloads per month

MIT and GPL-3.0+

24KB
383 lines

WWDC Video & Documentation Parser

A command-line tool to convert WWDC video pages and Apple Developer documentation to markdown format.

Installation

From Source

Clone the repository

git clone https://github.com/username/wwdc-parser
cd wwdc-parser  

Build and install

cargo install --path .

From Cargo

cargo install wwdc-parser

Usage

For WWDC Videos

wwdc-parser --content-type video <video-url>

Example:

wwdc-parser --content-type video https://developer.apple.com/videos/play/wwdc2024/10091/

For Documentation Pages

wwdc-parser --content-type document <documentation-url>

Example:

wwdc-parser --content-type document https://developer.apple.com/documentation/groupactivities/

This will generate a markdown file with the content in your current directory.

Features

  • Converts WWDC video pages to markdown format
  • Converts Apple Developer documentation to markdown format
  • Extracts titles, descriptions, and content
  • Generates clean, readable markdown files
  • Simple command-line interface
  • Automatic file naming based on content title

Requirements

  • Rust 1.70 or higher
  • Internet connection to fetch content

Building from Source

  1. Ensure you have Rust installed
  2. Clone the repository
  3. Run cargo build --release
  4. The binary will be available in target/release/

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built with Rust
  • Uses reqwest for HTTP requests
  • Uses scraper for HTML parsing

Author

Ilker Ulusoy

Support

If you encounter any problems, please file an issue along with a detailed description.

Dependencies

~14–29MB
~481K SLoC