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.
from fastapi import FastAPI
from pydantic import BaseModel
import requests
from bs4 import BeautifulSoup
pip install uvicorn
uvicorn app:app --reload
Visit /docs route for Swagger documentation.