Skip to content

Repository files navigation

🚀 Youku Scraper

Youku Scraper is a free and open-source scraper that gets you unlimited detailed Youku data for free.

✨ What Can I Get?

  • 🎬 Full video records, 490+ results for one keyword — title, category, publish date, length, likes, comments, shares, uploader and show
  • 📺 Whole shows, up to 1,281 episodes — synopsis, genres, cast, followers, related seasons and the full episode list
  • 💬 61,000+ comments on a single video — text, author, date, region, likes and first replies
  • 👤 Creators with 1M+ followers — name, bio, followers, likes, region and their videos

🎬 Example: A Full Youku Video

{
  "id": "XMzk1NjM1MjAw",
  "title": "云霄飞车杀人事件",
  "link": "https://v.youku.com/v_show/id_XMzk1NjM1MjAw.html",
  "category": "动漫",
  "type": "正片",
  "description": "高中生侦探工藤新一被称为“日本警察界的救世主”而响誉全国,他帮助警方解决了很多棘手案件。…",
  "published_at": "2012-05-10T10:15:24Z",
  "duration_seconds": 1493.04,
  "episode_number": 1,
  "likes": 402762,
  "comments": 61365,
  "shares": 68954,
  "is_paid": false,
  "audio_languages": [
    { "language": "普通话", "code": "guoyu", "video_id": "XMzk1NjM1MjAw" },
    { "language": "日语", "code": "ja", "video_id": "XNTk1Mzk2NzA0" }
  ],
  "thumbnail": "https://m.ykimg.com/0541010164003C6336596EC51ACC865C",
  "show": {
    "id": "cc003400962411de83b1",
    "title": "名侦探柯南",
    "link": "https://v.youku.com/video?s=cc003400962411de83b1",
    "latest_episode": 1281,
    "is_completed": false
  },
  "recommended_shows": [
    { "id": "c2aefb75dedf11e68fae", "title": "名侦探柯南:唐红的恋歌 第二十一部", "description": "平次未婚妻卷入杀人案", "badge": "VIP" }
  ]
}

Trimmed for readability.

🚀 Unlimited Free Youku Data — Get It in 60 Seconds

1️⃣ Clone and install:

git clone https://github.com/omkarcloud/youku-scraper
cd youku-scraper
python -m pip install -r requirements.txt

2️⃣ Start the API:

python run.py

No proxy needed. If your ISP blocks Youku, set YOUKU_PROXY=http://user:pass@host:port.

3️⃣ Get your first data:

curl "http://localhost:8000/videos/details?video=XMzk1NjM1MjAw"
{
  "id": "XMzk1NjM1MjAw",
  "numeric_id": 98908800,
  "title": "云霄飞车杀人事件",
  "link": "https://v.youku.com/v_show/id_XMzk1NjM1MjAw.html",
  "category": "动漫",
  "type": "正片",
  "published_at": "2012-05-10T10:15:24Z",
  "duration_seconds": 1493.04,
  "episode_number": 1,
  "episode_label": "第1话",
  "likes": 402762,
  "comments": 61365,
  "shares": 68954,
  "is_paid": false,
  "show": {
    "id": "cc003400962411de83b1",
    "title": "名侦探柯南",
    "latest_episode": 1281
  }
}

All 7 endpoints are now live at http://localhost:8000.

📚 Endpoints

7 endpoints cover everything you need.

Endpoint Path Returns
Video Details /videos/details The whole video record in a single call
Search Videos /videos/search Videos, shows and creators for any keyword, 20 per page
Video Comments /videos/comments Comments with authors, regions, likes and first replies, 20 per page
Show Details /shows/details Synopsis, genres, cast, followers, related seasons and first episodes
Show Episodes /shows/episodes A show's full episode list, 60 per page
Channel Details /channels/details A creator's bio, followers, likes and latest videos
Channel Videos /channels/videos A creator's videos with dates and lengths, 24 per page

Good to know: Youku limits its search in short spells. Page 2 and up, the duration and published filters and the users list can answer 503 with Retry-After: wait a minute and send the call again. The first page of a plain search is not affected.

🔍 Exploring Parameters

The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally for unlimited free data.

  1. Subscribe to the free plan — 1,000 calls/month, no credit card.
  2. Try the endpoints in the playground — every param is pre-filled, so you see real data in one click.
  3. Copy the generated code and replace https://best-youku-scraper-free-1000-calls.p.rapidapi.com with http://localhost:8000. It will now run against your local API.
import requests

# generated by the playground, host swapped for the local API
response = requests.get(
    "http://localhost:8000/videos/details",
    params={"video": "XMzk1NjM1MjAw"},
)
print(response.json())

💬 Have Questions? We Have Answers.

You're a developer — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

Message Us on WhatsApp about Youku Scraper

Ask Us by Email about Youku Scraper

⚡ Popular Scrapers by Omkar Cloud

⭐ Love It? Star It ⭐!

Star the repo ⭐ and become my star hero!

It's just 1 click, but it means the world to me.

Star us on GitHub