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

Pyarser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Pyarser

A Nifty HTML Parser written in Python

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

Pyarser is a simple, straight forward HTML parser that allows you to easily harvest text inside an HTML document from a link to that website. Examples:

get_site_HTML(link): returns a string of HTML content from a link

get_site_text(link): returns a string of text from a link. This string has all the HTML tags <> removed, along with there contents.

search_by_phrase(phrase, link): returns the fragments of text from a link that contain the continuous string phrase.

search_for_words(words, link): returns the fragments of text from a link that contain ANY of the strings in words.

word_count(link): counts the number of text words from a link.

get_HTML_tags(link): returns a list of the tags used in an HTML document from a link.

HTML_to_TXT(link, name): writes a TXT file with the text content from a link. All HTML brackets and tags are moved.

Keywords

FAQs


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