/HTMLaaS

Why to use a third party API when you can yourself create one? Extract HTML content by tag name, class, id, links from HTML as a Service.

Primary LanguagePythonMIT LicenseMIT

BANNER

Why to use a third party API when you can yourself create one?

HTMLaaS offers users the ability to query and extract specific information from HTML documents. Users can retrieve the page title, extract all links, access the entire HTML content, and query elements by tag names, classes, and IDs. This simplifies working with HTML, allowing users to extract desired data efficiently.

Technologies

from fastapi import FastAPI
from pydantic import BaseModel
import requests
from bs4 import BeautifulSoup

Run

pip install uvicorn
uvicorn app:app --reload
Visit /docs route for Swagger documentation.

Made & open-sourced with ❤️ by kartikmehta8