hulu
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHulu Skill
Hulu Skill
Overview
概述
Enables Claude to interact with Hulu for streaming content, managing watchlist, accessing live TV (if subscribed), and discovering new shows and movies.
让Claude能够与Hulu交互,实现内容流式播放、观看列表管理、访问直播电视(若已订阅)以及发现新剧集和电影。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/hulu/install.sh | bashOr manually:
bash
cp -r skills/hulu ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/hulu/install.sh | bash或手动安装:
bash
cp -r skills/hulu ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set HULU_EMAIL "your-email@example.com"
undefinedcanifi-env set HULU_EMAIL "your-email@example.com"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
您的凭据,由您掌控。Canifi LifeOS尊重您的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用您已认证的会话,全程不会获取您的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果您愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭据仅能在您的本地机器上访问,绝不会被传输。
Capabilities
功能
- Browse on-demand movies and TV shows
- Access live TV channels and DVR (Hulu + Live TV)
- Manage "My Stuff" watchlist
- View watch history and continue watching
- Search for specific content or networks
- 浏览点播电影和电视剧
- 访问直播电视频道和DVR功能(需Hulu + Live TV订阅)
- 管理“我的收藏”观看列表
- 查看观看历史和继续观看内容
- 搜索特定内容或频道
Usage Examples
使用示例
Example 1: Add to My Stuff
示例1:添加到我的收藏
User: "Add The Handmaid's Tale to my Hulu watchlist"
Claude: I'll add The Handmaid's Tale to your My Stuff list on Hulu.用户:“将《使女的故事》添加到我的Hulu观看列表”
Claude:我会把《使女的故事》添加到您Hulu的“我的收藏”列表中。Example 2: Live TV Access
示例2:访问直播电视
User: "What's on ESPN right now?"
Claude: I'll check the live TV guide and show you what's currently airing on ESPN.用户:“ESPN现在正在播什么?”
Claude:我会查看直播电视指南,为您展示ESPN当前正在播出的内容。Example 3: Continue Watching
示例3:继续观看
User: "What was I watching on Hulu?"
Claude: I'll check your continue watching section to see your in-progress shows.用户:“我之前在Hulu上看的是什么?”
Claude:我会查看您的继续观看区域,看看您未看完的剧集。Authentication Flow
认证流程
- Navigate to hulu.com via Playwright MCP
- Click "Log In" button
- Enter email and password
- Select profile if multiple exist
- Maintain session for subsequent requests
- 通过Playwright MCP导航至hulu.com
- 点击“登录”按钮
- 输入邮箱和密码
- 若存在多个配置文件,选择对应的配置文件
- 为后续请求维持会话
Error Handling
错误处理
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate automatically
- Live TV Unavailable: Check subscription tier and notify user
- Rate Limited: Implement exponential backoff
- Content Unavailable: Check for regional or subscription restrictions
- 登录失败:最多重试3次认证,随后通过iMessage通知用户
- 会话过期:自动重新认证
- 直播电视不可用:检查订阅套餐并通知用户
- 速率限制:实现指数退避策略
- 内容不可用:检查区域或订阅限制
Self-Improvement Instructions
自我改进说明
When encountering new UI patterns:
- Document interface changes
- Update element selectors
- Track feature availability by subscription tier
- Log successful navigation patterns
遇到新的UI模式时:
- 记录界面变更
- 更新元素选择器
- 按订阅套餐跟踪功能可用性
- 记录成功的导航模式
Notes
注意事项
- Live TV features require Hulu + Live TV subscription
- Ad-supported vs ad-free tiers affect experience
- DVR functionality varies by subscription
- Some content has expiration dates
- 直播电视功能需要Hulu + Live TV订阅
- 广告支持版与无广告版套餐会影响使用体验
- DVR功能因订阅套餐而异
- 部分内容有到期日期