Discover and explore top open-source AI tools and projects—updated daily.
AI-powered real-time monitoring for Xianyu listings
Top 8.6% on SourcePulse
This project provides a real-time monitoring and intelligent analysis tool for Xianyu (a Chinese second-hand marketplace), leveraging Playwright for web scraping and advanced AI models for filtering and analysis. It targets users who want to automate the process of finding specific items on Xianyu, offering a comprehensive web UI for task management and AI-driven insights, thereby saving users time and effort in manual searching and filtering.
How It Works
The tool utilizes Playwright to simulate user interactions and scrape product information from Xianyu. It supports multi-task concurrency and real-time processing of newly discovered items. A key feature is its deep AI analysis, integrating multimodal large language models (like GPT-4o) to analyze product images, text descriptions, and seller profiles against user-defined criteria, enabling precise filtering and recommendations.
Quick Start & Requirements
pip install -r requirements.txt
..env
file from .env.example
and populate it with OPENAI_API_KEY
, OPENAI_BASE_URL
, and OPENAI_MODEL_NAME
(must support image analysis). Other optional notification and proxy settings are available.python login.py
locally.python web_server.py
. Access the UI at http://127.0.0.1:8000
.docker-compose up -d
for deployment. Login state must be updated via the Web UI after containers start.playwright install
), and an OpenAI-compatible API key for a multimodal model.Highlighted Details
Maintenance & Community
The project acknowledges contributions from superboyyy/xianyu_spider
and others. Support is available through GitHub Issues.
Licensing & Compatibility
The project is available under the MIT License, permitting commercial use and linking with closed-source projects.
Limitations & Caveats
Users must adhere to Xianyu's terms of service and robots.txt. Frequent requests may lead to IP bans or account restrictions. The project is intended for learning and research purposes only. Some Windows users may encounter encoding issues or require manual installation of zbar
for pyzbar
.
6 days ago
1 day