DevOps & CloudDocumentedScanned
aliyun-search
Perform web searches using Alibaba Cloud UnifiedSearch API.
Share:
Installation
npx clawhub@latest install aliyun-searchView the full skill documentation and source below.
Documentation
Alibaba Cloud UnifiedSearch Skill
This skill provides the ability to perform web searches using Alibaba Cloud UnifiedSearch API.
Features
- Support multiple search engine types (Generic, GenericAdvanced, LiteAdvanced)
- Configurable time range filtering
- Category-specific search (finance, law, medical, etc.)
- Location-based search (city/IP)
- Rich result formatting
Usage
Basic Usage
python search.py "云栖大会"
Advanced Usage
python search.py "北京天气" --engine-type "Generic" --city "北京市"
python search.py "金融新闻" --category "finance" --time-range "OneWeek" --engine-type "GenericAdvanced"
Scripts
search.py: Python implementation of Alibaba Cloud UnifiedSearch API
Configuration
Before using, you need to:
export ALIBABA_CLOUD_ACCESS_KEY_ID="your_access_key_id"
export ALIBABA_CLOUD_ACCESS_KEY_SECRET="your_access_key_secret"pip install aliyun-python-sdk-core requests