Skip to main content

llm-scrapingrabbit

ScrapingRabbit for Simon Willison's LLM command-line tool:

  • Fragments: load a YouTube, TikTok or X video transcript straight into a prompt.
  • Tools: 31 scrapingrabbit_* tools a model can call. They cover video transcripts, YouTube comments and channels, Instagram, TikTok and Snapchat profiles, Amazon and Walmart products, Google News, Maps, Trends and autocomplete, App Store, SEO data and email verification.
  • Command: llm scrapingrabbit ENDPOINT key=value prints any endpoint's JSON.

Install

llm install llm-scrapingrabbit
llm keys set scrapingrabbit

Get a key at scrapingrabbit.com/login (100 free credits, no card). SCRAPINGRABBIT_API_KEY works too.

Fragments

llm -f sr-youtube:https://www.youtube.com/watch?v=dQw4w9WgXcQ "Summarise this in five bullets"
llm -f sr-tiktok:https://www.tiktok.com/@nasa/video/7360000000000000000 "What is announced here?"
llm -f sr-x:https://x.com/NASA/status/1800000000000000000 "Quote the key claim"

Each fragment costs 1 credit when the video has a transcript. Videos without captions fail, and failures are free. LLM caches fragments, so asking more questions about the same video doesn't call the API again.

Tools

llm -T scrapingrabbit_tiktok_profile_viewer "Is @nasa growing on TikTok? Show the numbers." --td
llm -T scrapingrabbit_youtube_transcript -T scrapingrabbit_youtube_comment_extractor \
  "What do viewers think of https://youtu.be/dQw4w9WgXcQ compared with what the video says?"

llm tools list shows them all. Pass only the tools a task needs: fewer tools means better picks and shorter prompts. Results longer than 60,000 characters are cut, with a note telling the model. When the API refuses a call, the model gets the reason and the note that failed calls are not charged.

Command

llm scrapingrabbit                                   # list endpoints and their parameters
llm scrapingrabbit domain_authority_checker domain=example.com
llm scrapingrabbit google_news_search query="open source llm"

Also available

Python client · MCP server and CLI · LangChain · Haystack · Vercel AI SDK · API docs

Develop

pip install -e '.[test]'
pytest   # runs fragments, tools (through LLM's echo model) and the command against a local fake API

Release: bump version in pyproject.toml and push a matching tag (v0.1.0). The publish workflow uses PyPI trusted publishing.

License

MIT

Metadata

Release files for llm-scrapingrabbit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-scrapingrabbit 0.1.0
File Size Uploaded Provenance Actions
llm_scrapingrabbit-0.1.0.tar.gz 8.8 kB With provenance Details for llm_scrapingrabbit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-scrapingrabbit 0.1.0
File Interpreter ABI Platform Actions
llm_scrapingrabbit-0.1.0-py3-none-any.whl Python 3 none any Details for llm_scrapingrabbit-0.1.0-py3-none-any.whl

Total release size: 15.9 kB

Release files / llm_scrapingrabbit-0.1.0.tar.gz

Download URL llm_scrapingrabbit-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fd015290cc5374b8d6287ab0aee8620e5e34db8ae6c64a862b738820d2645b0f
BLAKE2b-256 checksum
How to use checksums
da239edd8e49997b4788996437ed8c591df6e1384adefc22f9b537b915cb7d3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Release files / llm_scrapingrabbit-0.1.0-py3-none-any.whl

Download URL llm_scrapingrabbit-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ddcb8a121b15abd507b54a51fe20b70393c7fe1570769ae8aaf39db4c15c2b0
BLAKE2b-256 checksum
How to use checksums
fe7577e30b1d19c5d549b651a2199aed99fce53c5779341f75c74c3dce564cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Security for llm-scrapingrabbit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llm_scrapingrabbit-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page