wwdc-parser

Crates.iowwdc-parser
lib.rswwdc-parser
version
sourcesrc
created_at2024-12-10 16:51:49.825298
updated_at2024-12-10 16:51:49.825298
descriptionA tool to convert WWDC video pages to markdown
homepage
repositoryhttps://github.com/ilkerulusoy/wwdc-parser
max_upload_size
id1478733
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Ilker Ulusoy (ilkerulusoy)

documentation

README

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.

Commit count: 8

cargo fmt