crystal-parser

Crystal lang console parser, links or images.

crystal-parser

Crystal lang console parser, links or images.

Parser uses shards: Fast HTML5 Parser and CSS selectors for HTML5 Parser myhtml

Installing Crystal lang

Follow these instructions

Install parser

  • Clone repositore: git clone https://github.com/webmastak/crystal-parser.git
  • Go over run catalogue: cd crystal-parser
  • Install dependencies: crystal deps
  • Build release parser: crystal build --release --no-debug src/parser.cr

Use parser at console

  • Parse links, protocol http: ./parser http://example.com
  • Parse links, protocol https: ./parser https://example.com
  • Parse images, protocol http: ./parser i http://example.com
  • Parse images, protocol https: ./parser i https://example.com

Learn more Crystal lang

Repository

crystal-parser

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 1
  • over 4 years ago
  • May 3, 2018
License

Links
Synced at

Thu, 02 May 2024 04:50:55 GMT

Languages