- Created modal_api.py module for Modal GLM API integration
- Provides fallback when direct scraping fails
- Can parse eBay listings and other marketplace data
- Configuration via modal_config.json
- Ready to use when direct scraping is blocked
API endpoint configured:
- Model: zai-org/GLM-5.1-FP8
- Endpoint: https://api.us-west-2.modal.direct/v1/chat/completions
- Usage: scrape_with_modal(url, task)