Web Scraper

A simple web scraping tool that fetches page titles and meta descriptions.

Usage

pip install requests beautifulsoup4
python web_scraper.py https://example.com

Functions

  • fetch_title(url) - Get page title
  • fetch_meta_description(url) - Get meta description
  • fetch_all(url) - Get all info as dict

Generated by Aider AI

S
Description
网页爬虫 - Aider
Readme 24 KiB
Languages
Python 100%