webcitizen documentation - Python pypi package

This page contains the documentation for the webcitizen package and its modules.

webcitizen.audits.responsive_check(html: str)

Check if the website is responsive Args:

html (str): html content of the website

Returns:

int: score list: message

webcitizen.audits.searchengine_check(html: str)

Check if the website is search engine friendly Args:

html (str): html content of the website

Returns:

int: score list: message

webcitizen.extraction.extract_text(url: str, html: str) str

Extract text from the website Args:

url (str): url of the website html (str): html content of the website

Returns:

str: text

webcitizen.extraction.json_nltk2(url: str, html: str) dict

Extract text from the website Args:

url (str): url of the website html (str): html content of the website

Returns:

dict: json object with the following keys: keywords, summary, text, title, authors, publish_date, top_image, meta_keywords, meta_description, meta_lang, meta_favicon, canonical_link, tags, movies, imgs

Note

This projectt is under active development.