Skip to content

webmastak/crystal-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Crystal lang console parser, links or images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published