New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/ashish041/html-parser

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ashish041/html-parser

  • v0.0.0-20220310033229-2f38694cbf64
  • Source
  • Go
  • Socket score

Version published
Created
Source

HTML Parser

Web application to parse website and retrieve following informations

  • HTML Version
  • Page Title
  • Headings count by level
  • Amount of internal and external links
  • Amount of inaccessible links
  • If a page contains a login form

Command to install Go and run web application

make

Command to run web application

make up

Command to run web application in docker

make docker

Command to call endpoint and generate output

curl http://localhost:8080?url="yahoo.com"
curl http://localhost:8080?url="https://gmail.com"
curl http://localhost:8080?url="http://www.google.com

Please make sure the web application is not running on the host machine before running in docker. Command to check whether web application running on port 8080.

netstat -nlp |grep 8080

FAQs

Package last updated on 10 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc