This automates flight searches on Ctrip (携程) using browser automation. It handles both domestic and international routes, supports roundtrip queries, and works with Chinese city names or airport codes. The implementation uses keyboard shortcuts (Enter key) instead of clicking search buttons to avoid overlay issues, which proved more reliable across different city pairs during testing. Already verified on routes like Guangzhou to Chengdu and Shanghai to Tokyo. Fair warning: you'll need to handle any CAPTCHAs manually, and the skill assumes stable page load times. If you're scraping flight data from Ctrip or building travel tools for Chinese markets, this handles the tedious form-filling part.
npx skills add https://github.com/stvlynn/dingtalk-wukong-skills --skill ctrip-flight-search