Query Table icon

Query Table

Createdwukan1986

Scrapes tabular data from websites like Eastmoney, Iwencai, and TDX using Playwright.

About

Query Table is a Python-based web scraping tool designed to extract tabular data from various websites, including 同花顺i问财 (Iwencai), 通达信问小达, and 东方财富条件选股 (Eastmoney). Leveraging Playwright, it simulates user interactions within a browser environment to retrieve data, offering an alternative to traditional request-based methods. The tool supports the Model Context Protocol (MCP), enabling seamless integration with other applications. It allows users to query financial data and adapt to website changes by switching between different data sources, ensuring continuous operation even if one site is down or updated.

Key Features

  • Scrapes tables from multiple financial websites (Eastmoney, Iwencai, TDX)
  • Allows switching between websites if one fails
  • Uses Playwright for browser automation
  • Extracts data by intercepting and parsing JSON responses
  • Supports Model Context Protocol (MCP)

Use Cases

  • Extracting financial data for analysis
  • Monitoring stock market trends
  • Integrating financial data into other applications via MCP