Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.19 KB

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