Giter VIP home page Giter VIP logo

vexpose's Introduction

Expose logo

A V package that helps you to scrap web pages. It shows you a lot of information about the page.

V Programming Language

If you don't know about V please check this out

Installation

Use the package manager VPM to install VExpose.

v install joao2391.vexpose

Usage

After install the package:

import joao2391.vexpose

Return total of links in the html page

mut map_links := vexpose.get_links_from_url('url')

Return total of CSS files referenced in the html page

mut count_css := vexpose.count_css_from_url('url')

Return total of JS files referenced in the html page

mut count_js := vexpose.count_js_from_url('url')

Return total of Html Elements

mut count_html_elements := vexpose.count_html_elements_from_url('url')

Return total of META elements

mut count_meta_tags := vexpose.count_meta_from_url('url')

Return all the JS content

mut js_content := vexpose.get_jscontent_from_url('url')

Return all the CSS content

mut css_content :=  vexpose.get_css_content_from_url('url')

Return all the CSS references

mut css_reference :=  vexpose.get_css_ref_from_url('url')

Return the total of onclick events in all elements in the html

mut count_onclick_events := vexpose.count_js_events_from_url('url')

Return the total of Forms in html page

mut count_forms := vexpose.count_forms_from_url('url')

Return the Action and HttpMethod from Form

mut form_info := vexpose.get_form_info_from_url('url')

Return the size in Kb of the page

mut page_size := vexpose.get_page_size_from_url('url')

Return the onclick values

mut onclick_values := vexpose.get_onclick_values_from_url('url')

Return the JSON with the amount of info found

mut report := vexpose.generate_report('url')

Return True/False

mut has_ajax_calls := vexpose.has_ajax_calls_in_url('url')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

vexpose's People

Contributors

joao2391 avatar

Stargazers

 avatar Lucid Developer avatar Dubois Hugues avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.