← Back to directory
Personal Productivity Medium to set up Automation Browser/Computer-Use

Bilibili Video Downloader and Uploader

Source reviewed Updated 2026-07-07

Submit a Bilibili URL to automatically download the video, upload it to Google Drive with public access, and email you the link or an error.

What it does

Submit a Bilibili video URL to automatically download it, upload it to your public Google Drive folder, and receive an email with the direct link or any error details.

Step by step

  1. Configure the Form Trigger node to accept a single text field for the Bilibili video URL.
  2. Set up an HTTP Request node pointing to the RapidAPI endpoint with headers containing your X-RapidAPI-Key and host.
  3. Create a Google Drive Upload node using OAuth2 authentication to save the binary file from the previous step.
  4. Add a Send Email node that uses dynamic fields for the recipient address and body content.

Where the LLM does the work

  • Generate the specific JSON payload structure required by the RapidAPI Bilibili downloader endpoint since documentation may vary.
  • Draft the HTML email template to ensure the Google Drive link is clickable and clearly presented in the notification message.
  • Write error handling logic that formats user-friendly messages for different failure scenarios like invalid URLs or API timeouts.

Watch out for

Bilibili videos may require specific cookies for download access which means the HTTP request might fail without proper header configuration.
Google Drive has file size restrictions that can cause uploads to hang or fail if the video resolution is too high.
Email providers sometimes flag automated messages as spam so you should verify your SPF and DKIM records are correctly set up.

Tools that fit

n8n Service Workflow orchestration platform
HTTP Request API Calling Bilibili Video Downloader API via RapidAPI
Google Drive Service Storing downloaded video files and setting permissions
Send Email Service Sending success or failure notifications with drive links

The agent brief

Everything your agent needs, including the gotchas. Copy it and go.
agent-brief.md
You are helping me build the following AI agent workflow.

## Goal
Bilibili Video Downloader and Uploader: Submit a Bilibili URL to automatically download the video, upload it to Google Drive with public access, and email you the link or an error.

## Specification
- What it does: Submit a Bilibili video URL to automatically download it, upload it to your public Google Drive folder, and receive an email with the direct link or any error details.
- Trigger: Run manually (Manual · on form submission)
- Autonomy: Fully hands-off
- Expected setup effort: about an afternoon
- Tools/services involved:
  - n8n: Workflow orchestration platform
  - HTTP Request: Calling Bilibili Video Downloader API via RapidAPI
  - Google Drive: Storing downloaded video files and setting permissions
  - Send Email: Sending success or failure notifications with drive links

## Known pitfalls, handle each one explicitly in your implementation
1. Bilibili videos may require specific cookies for download access which means the HTTP request might fail without proper header configuration.
2. Google Drive has file size restrictions that can cause uploads to hang or fail if the video resolution is too high.
3. Email providers sometimes flag automated messages as spam so you should verify your SPF and DKIM records are correctly set up.

## Reference implementation
https://n8n.io/workflows/10265 (workflow template)
Fetch and inspect this before building. If it matches my stack, adapt it;
if not, rebuild the pattern with my tools.

## Process requirements
1. Before building: ask me which of the listed tools I actually use and
   what my platform is (n8n / Make / code / other). Do not assume.
2. Adapt the pattern to my answers; do not force the reference stack.
3. Address every pitfall above; tell me how you handled each.
4. Provide a test plan I can run before letting this touch real data.
5. Ask before any step that sends messages, modifies data, or spends money.

Source: https://usecasesforagents.com/use-case/bilibili-video-downloader-and-uploader/ via usecasesforagents.com

Frequently asked questions

Can I use a different Automation Platform than n8n?

Yes. n8n is only the example automation platform in this recipe. The same flow works with Home Assistant. Swap the automation platform connection and keep the rest of the setup as written.

Want this running in your business?

This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touch →

Who it's for

Built for data analysts who want the pull-and-summarize grind automated.

Seen in the wild

← Back to directory