// readme

Hotspot Focus Data Crawling System

This is a complete system for crawling and displaying hot news, today’s hotspots, community hot posts, financial calendar and other content.

Features

  • πŸ”₯ Hot News: Real-time crawling of trending news
  • πŸ“ˆ Today’s Hotspots: Displays popular topics of the day
  • πŸ’¬ Community Hot Posts: Popular discussion posts in the community
  • πŸ“… Financial Calendar: Calendar of important financial events
  • 🌐 RESTful API: Provides a complete data interface
  • πŸ“± Responsive Frontend: Interface adapted to various devices

Quick Start

1. Install dependencies

pip install -r requirements.txt

2. Start the API server

python api_server.py

3. Start the static file server

python static_server.py

4. Access the frontend

Open in your browser: http://localhost:8081/index.html

API Endpoints

Get hot news

GET /api/hot_news
Parameters: limit (optional, default 50)

Get today’s hotspots

GET /api/today_hotspot
Parameters: limit (optional, default 20)

Get community hot posts

GET /api/community_posts
Parameters: limit (optional, default 50)

Get…