hulu

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Hulu 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 | bash
Or 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
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set HULU_EMAIL "your-email@example.com"
undefined
canifi-env set HULU_EMAIL "your-email@example.com"
undefined

Privacy & 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:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. 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

认证流程

  1. Navigate to hulu.com via Playwright MCP
  2. Click "Log In" button
  3. Enter email and password
  4. Select profile if multiple exist
  5. Maintain session for subsequent requests
  1. 通过Playwright MCP导航至hulu.com
  2. 点击“登录”按钮
  3. 输入邮箱和密码
  4. 若存在多个配置文件,选择对应的配置文件
  5. 为后续请求维持会话

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:
  1. Document interface changes
  2. Update element selectors
  3. Track feature availability by subscription tier
  4. Log successful navigation patterns
遇到新的UI模式时:
  1. 记录界面变更
  2. 更新元素选择器
  3. 按订阅套餐跟踪功能可用性
  4. 记录成功的导航模式

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功能因订阅套餐而异
  • 部分内容有到期日期