Add Wikipedia plugin with MediaWiki API integration
- Added new !wp command for fetching Wikipedia summaries and images - Uses aiohttp for async HTTP requests to Wikipedia's REST API - Implements multiple search strategies for better accuracy: 1. OpenSearch API for fast title resolution 2. Full-text search as fallback 3. Direct hyphenated title matching for compounds - Returns clean article extracts with main images - No BeautifulSoup or HTML scraping - pure API approach - Added bs4 dependency to requirements.txt for any other plugins that might need it Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ python-whois
|
||||
aiohttp
|
||||
aiosqlite
|
||||
pillow
|
||||
omdbapi
|
||||
omdbapi
|
||||
|
||||
Reference in New Issue
Block a user