# Most Viewed Bilibili Videos on Python and Machine Learning

**Use case:** 

Discover the most viewed Bilibili videos related to Python and 机器学习. This tool returns a curated list of top-performing videos, complete with vital statistics like view counts, titles, and creator names. Gain insights into trending topics on these subjects with easy access to detailed video data.

## Input

```json
{
  "mode": "search",
  "keywords": [
    "python",
    "机器学习"
  ],
  "max_items": 25,
  "order": "click",
  "duration": "any",
  "include_replies": false,
  "max_replies_per_comment": 20,
  "danmaku_all_parts": false,
  "max_parts": 10,
  "quality": "best",
  "audio_only": false
}
```

## Output

```json
{
  "kind": {
    "label": "Kind"
  },
  "source_keyword": {
    "label": "Source keyword"
  },
  "source_creator_mid": {
    "label": "Source creator mid"
  },
  "bvid": {
    "label": "Bvid"
  },
  "title": {
    "label": "Title"
  },
  "owner_name": {
    "label": "Owner name"
  },
  "view": {
    "label": "View"
  },
  "like": {
    "label": "Like"
  },
  "reply": {
    "label": "Reply"
  },
  "message": {
    "label": "Message"
  },
  "member_name": {
    "label": "Member name"
  },
  "name": {
    "label": "Name"
  },
  "dynamic_id": {
    "label": "Dynamic id"
  },
  "text": {
    "label": "Text"
  },
  "progress_ms": {
    "label": "Progress ms"
  },
  "part": {
    "label": "Part"
  },
  "parts_total": {
    "label": "Parts total"
  },
  "download_url": {
    "label": "Download url"
  },
  "scraped_at": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Bilibili 哔哩哔哩 Video Scraper](https://apify.com/herus13/bilibili-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/herus13/bilibili-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/herus13/bilibili-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
