[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73BSNA228HZTTXMACXG75JN":3,"skill-same:01M73BSNA228HZTTXMACXG75JN":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M73BSNA228HZTTXMACXG75JN","rotate-scraping-proxies",null,"Escalate blocked scraping campaigns with provider-neutral proxy rotation — pick datacenter\u002Fresidential\u002Fmobile pools, integrate rotation with scrapling, configure session stickiness for stateful flows, monitor cost and health, stay inside legal and ethical limits. Use after `headless-web-scraping` client-side stealth (StealthyFetcher, rate limiting, robots.txt) is insufficient and traffic is legitimate.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Frotate-scraping-proxies\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: rotate-scraping-proxies\nlocale: caveman-lite\nsource_locale: en\nsource_commit: 82c77053\ntranslator: \"Julius Brussee homage — caveman\"\ntranslation_date: \"2026-05-03\"\ndescription: >\n  Escalate blocked scraping campaigns with provider-neutral proxy rotation —\n  pick datacenter\u002Fresidential\u002Fmobile pools, integrate rotation with scrapling,\n  configure session stickiness for stateful flows, monitor cost and health,\n  stay inside legal and ethical limits. Use after `headless-web-scraping`\n  client-side stealth (StealthyFetcher, rate limiting, robots.txt) is\n  insufficient and traffic is legitimate.\nlicense: MIT\nallowed-tools: Bash Read Write Grep Glob\nmetadata:\n  author: Philipp Thoss\n  version: \"1.0\"\n  domain: web-scraping\n  complexity: intermediate\n  language: Python\n  tags: web-scraping, proxies, rotation, residential, scrapling, networking\n---\n\n# Rotate Scraping Proxies\n\nNetwork-layer escalation for scraping where client-side stealth is exhausted.\nProxy rotation is a last resort, not a default — expensive, ethically charged,\nand easily misused. This skill teaches when *not* to use it as much as how.\n\n## When to Use\n\n- `headless-web-scraping` (Fetcher → StealthyFetcher → DynamicFetcher) tried\n  and target still returns 403\u002F429\u002Fgeo-blocks\n- Rate limiting already at 3+ second intervals and `robots.txt` permits the path\n- User-Agent and TLS fingerprint already realistic (not default `python-requests`)\n- Scraping is legitimate: public data, no auth circumvention, no paywall bypass,\n  no personal data harvested without legal basis\n- You can budget proxy traffic and accept operational complexity\n\n**Do not use** when: a public API exists (use it), the site's ToS forbids\nautomated access, you would circumvent geo-licensing, or the goal is fraud \u002F\ncredential stuffing \u002F sneaker bots \u002F content piracy.\n\n## Inputs\n\n- **Required**: Target URLs and the legal basis for scraping them\n- **Required**: Proxy pool credentials (read from environment, never hard-coded)\n- **Required**: Pool type — datacenter, residential, or mobile\n- **Optional**: Geographic targeting (country \u002F region \u002F city)\n- **Optional**: Rotation granularity — per-request (default) or sticky session\n- **Optional**: Daily traffic \u002F spend cap\n- **Optional**: Rate limit delay in seconds (default: 1, even with rotation)\n\n## Procedure\n\n### Step 1: Pre-flight Legality and Ethics Check\n\nGate the workflow on a documented legal and ethical review. Skipping this is\nthe single biggest source of harm.\n\n```python\n# Inputs to confirm before writing any code:\n# 1. Is the data public (no login required)?\n# 2. Does robots.txt permit the path?\n# 3. Does the site's ToS prohibit automated access? (read it)\n# 4. Would the scraping process personal data? If yes, what is the legal basis?\n# 5. Could this access circumvent geo-licensing, paywalls, or auth?\n# 6. Is there a public API or data dump that would make scraping unnecessary?\n# 7. Have you contacted the site owner if scope is large?\n```\n\n**Got:** Every question has a defensible written answer. The first \"no\" or\n\"unknown\" stops the procedure until resolved.\n\n**If fail:**\n- ToS forbids automated access — do not proceed; contact the site owner or\n  use an official API or licensed dataset\n- Personal data with no legal basis — do not proceed; engage privacy counsel\n- Circumvents auth or geo-licensing — do not proceed under any circumstances\n\n### Step 2: Choose a Pool Type\n\nDifferent pool types have different cost, detectability, and ethics. Pick the\ncheapest tier that solves your block.\n\n| Pool type | Detectability | Cost | Best for |\n|-----------|---------------|------|----------|\n| Datacenter | High (easily blocked by Cloudflare\u002FAkamai) | $ | Sites with no real anti-bot, geo-shifting only |\n| Residential | Low (real ISP IPs) | $$$ | Sites that block datacenter ASNs |\n| Mobile | Very low (carrier-grade NAT, shared with thousands) | $$$$ | Sites that even block residential (rare) |\n\n**Ethical caveat for residential and mobile:** these pools route your traffic\nthrough real consumer connections. Operator consent models vary — some pay\nusers, some bundle exit-node consent into \"free VPN\" EULAs that users do not\nread. Prefer providers with audited, opt-in consent. If you would not be\ncomfortable with a stranger sending scraping traffic through your home router,\ndo not send yours through theirs.\n\n**Got:** A documented choice with the cheapest viable tier and a brief note on\nwhy higher tiers were rejected (or why a higher tier is needed).\n\n**If fail:**\n- Datacenter blocked but residential over budget — narrow scraping scope\n  (fewer URLs, slower cadence) before upgrading the tier\n- Cannot find a provider with documented opt-in consent — reconsider whether\n  the scraping is necessary\n\n### Step 3: Integrate Rotation with Scrapling\n\nWire the proxy into scrapling fetchers. Read credentials from environment\nvariables — never hard-code, never commit a `.env`.\n\n```python\nimport os\nimport random\nfrom scrapling import Fetcher, StealthyFetcher\n\n# Pattern A: provider-managed rotating endpoint (one URL, provider rotates per request)\nPROXY_URL = os.environ[\"SCRAPING_PROXY_URL\"]  # http:\u002F\u002Fuser:pass@gateway.example:7777\n\nfetcher = StealthyFetcher()\nfetcher.configure(\n    headless=True,\n    timeout=60,\n    network_idle=True,\n    proxy=PROXY_URL,\n)\n\n# Pattern B: explicit pool, rotate yourself\nPOOL = os.environ[\"SCRAPING_PROXY_POOL\"].split(\",\")  # comma-separated URLs\n\ndef fetch_with_rotation(url):\n    proxy = random.choice(POOL)\n    fetcher = StealthyFetcher()\n    fetcher.configure(headless=True, timeout=60, proxy=proxy)\n    return fetcher.get(url)\n```\n\n**Got:** Requests succeed and the egress IP varies between calls. Confirm by\nhitting an IP-echo endpoint (e.g. `https:\u002F\u002Fapi.ipify.org`) before running the\nreal scrape.\n\n**If fail:**\n- 407 Proxy Authentication Required — credentials wrong or password URL-encoding\n  broke (re-encode special characters)\n- Same IP on every call — provider endpoint may be sticky by default; check\n  docs for a `-rotating` or per-request flag\n- Massive latency increase — expected; rotation adds 200–2000ms per request\n\n### Step 4: Sticky Sessions and Pool Health\n\nDecide rotation granularity per workload, then keep the pool healthy.\n\n```python\n# Sticky session for stateful flows (login, multi-page checkout-like crawls)\n# Most providers expose a session ID via the username:\n#   user-session-abc123:pass@gateway.example:7777\n# All requests with the same session ID exit through the same IP for ~10 min.\n\n# Per-request rotation for anonymous bulk scraping (default)\n\n# Pool health check — call before bulk run\ndef check_pool(pool, sample_size=5):\n    sample = random.sample(pool, min(sample_size, len(pool)))\n    alive = []\n    for proxy in sample:\n        try:\n            r = StealthyFetcher().configure(proxy=proxy, timeout=10).get(\n                \"https:\u002F\u002Fapi.ipify.org\"\n            )\n            if r.status == 200:\n                alive.append(proxy)\n        except Exception:\n            pass\n    return alive\n\n# Backoff on transient proxy failures\ndef fetch_with_backoff(url, max_attempts=3):\n    for attempt in range(max_attempts):\n        try:\n            r = fetch_with_rotation(url)\n            if r.status not in (407, 502, 503):\n                return r\n        except Exception:\n            pass\n        time.sleep(2 ** attempt)\n    return None\n```\n\n**Got:** Stateful flows preserve cookies across requests; bulk anonymous\nscraping shows IP variance across requests; dead proxies skipped instead of\nlooping.\n\n**If fail:**\n- Login breaks mid-flow — rotation happening inside the session; switch to\n  sticky-session credentials\n- All proxies in sample fail health check — pool exhausted or credentials\n  expired; rotate credentials or contact provider\n\n### Step 5: Monitoring, Cost Control, and Kill Switch\n\nProxy traffic has a per-GB cost and a per-request cost. Runaway scrapers\ngenerate runaway invoices. Always include limits and an abort.\n\n```python\nimport time\n\nclass ScrapeBudget:\n    def __init__(self, max_requests, max_duration_seconds, max_failures):\n        self.max_requests = max_requests\n        self.max_duration = max_duration_seconds\n        self.max_failures = max_failures\n        self.requests = 0\n        self.failures = 0\n        self.start = time.monotonic()\n\n    def allow(self):\n        if self.requests >= self.max_requests:\n            return False, \"request cap reached\"\n        if time.monotonic() - self.start >= self.max_duration:\n            return False, \"time cap reached\"\n        if self.failures >= self.max_failures:\n            return False, \"failure cap reached (circuit breaker)\"\n        return True, None\n\n    def record(self, success):\n        self.requests += 1\n        if not success:\n            self.failures += 1\n\nbudget = ScrapeBudget(max_requests=1000, max_duration_seconds=3600, max_failures=20)\n\nfor url in target_urls:\n    ok, reason = budget.allow()\n    if not ok:\n        print(f\"Aborting: {reason}\")\n        break\n    response = fetch_with_backoff(url)\n    budget.record(success=response is not None)\n    time.sleep(1)  # rate limiting still applies even with rotation\n```\n\n**Got:** Budget caps trigger before runaway cost. Logs show per-proxy success\nrate so a bad egress IP can be identified and excluded.\n\n**If fail:**\n- Failure rate climbs above 20% — pause; the site has detected the rotation\n  pattern (e.g. all your IPs share a subnet); switch pool type or stop\n- Cost-per-record exceeds expectations by 5x — cache aggressively, deduplicate\n  URLs, batch where possible\n\n## Validation\n\n- [ ] Step 1 legality check is documented in writing before any code runs\n- [ ] No proxy credentials, pool URLs, or session IDs in tracked files\n      (grep for `gateway.`, `proxy=`, the provider hostname)\n- [ ] `.env` (or equivalent) is in `.gitignore`\n- [ ] Pool choice justified: cheapest viable tier, with consent model verified\n      for residential\u002Fmobile\n- [ ] IP variance confirmed against an echo endpoint before the real run\n- [ ] Stateful flows use sticky sessions; bulk anonymous use per-request\n- [ ] Budget caps (requests, duration, failures) wired and tested\n- [ ] Rate limiting (≥1s) preserved — rotation is not an excuse to flood\n- [ ] `robots.txt` still respected — rotation does not override it\n\n## Pitfalls\n\n- **Rotating before stealth is exhausted**: the site often does not need a new\n  IP — it needs a realistic User-Agent, TLS fingerprint, and slower cadence.\n  Try `StealthyFetcher` and rate limiting first; rotation is expensive and\n  unethical to deploy unnecessarily.\n- **Hard-coded credentials**: pasting the proxy URL into source leaks it to\n  git, container images, and stack traces. Read from environment variables or\n  a secrets manager.\n- **Rotating mid-session**: per-request rotation breaks any flow that depends\n  on cookies, CSRF tokens, or shopping-cart state. Use sticky sessions for\n  stateful work.\n- **Treating rotation as \"ethical anonymity\"**: rotation hides *you* from the\n  target, but does not make harmful scraping ethical. ToS, copyright, privacy\n  law, and rate-limit ethics still apply unchanged.\n- **Using residential proxies for high-risk activity**: credential stuffing,\n  sneaker botting, geo-pirating streaming content, fraud — explicitly out of\n  scope. If your use case looks like this, stop.\n- **Ignoring `robots.txt` because \"we have rotation now\"**: rotation does not\n  grant permission. The directive is the directive.\n- **No kill switch**: an unsupervised loop on a metered proxy pool turns into\n  a four-figure invoice overnight. Always cap requests, duration, and failures.\n- **Choosing a residential pool with opaque consent**: some providers source\n  exit nodes from \"free VPN\" EULAs that real users never read. Pay the premium\n  for an audited, opt-in consent model.\n\n## Related Skills\n\n- [headless-web-scraping](..\u002Fheadless-web-scraping\u002FSKILL.md) — parent skill;\n  always start there. Use this skill only as escalation.\n- [use-graphql-api](..\u002Fuse-graphql-api\u002FSKILL.md) — prefer official APIs to\n  scraping when one exists.\n- [deploy-searxng](..\u002Fdeploy-searxng\u002FSKILL.md) — self-hosted search avoids\n  scraping search engines entirely.\n- [configure-reverse-proxy](..\u002Fconfigure-reverse-proxy\u002FSKILL.md) — opposite\n  network direction (serving instead of fetching), useful neighbor reference.\n- [security-audit-codebase](..\u002Fsecurity-audit-codebase\u002FSKILL.md) — run after\n  integrating credentials to confirm none leaked into the repo.\n\n\u003C!-- Keep under 500 lines. Extract large examples to references\u002FEXAMPLES.md if needed. -->\n","# Rotate Scraping Proxies\n\nNetwork-layer escalation for scraping where client-side stealth is exhausted.\nProxy rotation is a last resort, not a default — expensive, ethically charged,\nand easily misused. This skill teaches when *not* to use it as much as how.\n\n## When to Use\n\n- `headless-web-scraping` (Fetcher → StealthyFetcher → DynamicFetcher) tried\n  and target still returns 403\u002F429\u002Fgeo-blocks\n- Rate limiting already at 3+ second intervals and `robots.txt` permits the path\n- User-Agent and TLS fingerprint already realistic (not default `python-requests`)\n- Scraping is legitimate: public data, no auth circumvention, no paywall bypass,\n  no personal data harvested without legal basis\n- You can budget proxy traffic and accept operational complexity\n\n**Do not use** when: a public API exists (use it), the site's ToS forbids\nautomated access, you would circumvent geo-licensing, or the goal is fraud \u002F\ncredential stuffing \u002F sneaker bots \u002F content piracy.\n\n## Inputs\n\n- **Required**: Target URLs and the legal basis for scraping them\n- **Required**: Proxy pool credentials (read from environment, never hard-coded)\n- **Required**: Pool type — datacenter, residential, or mobile\n- **Optional**: Geographic targeting (country \u002F region \u002F city)\n- **Optional**: Rotation granularity — per-request (default) or sticky session\n- **Optional**: Daily traffic \u002F spend cap\n- **Optional**: Rate limit delay in seconds (default: 1, even with rotation)\n\n## Procedure\n\n### Step 1: Pre-flight Legality and Ethics Check\n\nGate the workflow on a documented legal and ethical review. Skipping this is\nthe single biggest source of harm.\n\n```python\n# Inputs to confirm before writing any code:\n# 1. Is the data public (no login required)?\n# 2. Does robots.txt permit the path?\n# 3. Does the site's ToS prohibit automated access? (read it)\n# 4. Would the scraping process personal data? If yes, what is the legal basis?\n# 5. Could this access circumvent geo-licensing, paywalls, or auth?\n# 6. Is there a public API or data dump that would make scraping unnecessary?\n# 7. Have you contacted the site owner if scope is large?\n```\n\n**Got:** Every question has a defensible written answer. The first \"no\" or\n\"unknown\" stops the procedure until resolved.\n\n**If fail:**\n- ToS forbids automated access — do not proceed; contact the site owner or\n  use an official API or licensed dataset\n- Personal data with no legal basis — do not proceed; engage privacy counsel\n- Circumvents auth or geo-licensing — do not proceed under any circumstances\n\n### Step 2: Choose a Pool Type\n\nDifferent pool types have different cost, detectability, and ethics. Pick the\ncheapest tier that solves your block.\n\n| Pool type | Detectability | Cost | Best for |\n|-----------|---------------|------|----------|\n| Datacenter | High (easily blocked by Cloudflare\u002FAkamai) | $ | Sites with no real anti-bot, geo-shifting only |\n| Residential | Low (real ISP IPs) | $$$ | Sites that block datacenter ASNs |\n| Mobile | Very low (carrier-grade NAT, shared with thousands) | $$$$ | Sites that even block residential (rare) |\n\n**Ethical caveat for residential and mobile:** these pools route your traffic\nthrough real consumer connections. Operator consent models vary — some pay\nusers, some bundle exit-node consent into \"free VPN\" EULAs that users do not\nread. Prefer providers with audited, opt-in consent. If you would not be\ncomfortable with a stranger sending scraping traffic through your home router,\ndo not send yours through theirs.\n\n**Got:** A documented choice with the cheapest viable tier and a brief note on\nwhy higher tiers were rejected (or why a higher tier is needed).\n\n**If fail:**\n- Datacenter blocked but residential over budget — narrow scraping scope\n  (fewer URLs, slower cadence) before upgrading the tier\n- Cannot find a provider with documented opt-in consent — reconsider whether\n  the scraping is necessary\n\n### Step 3: Integrate Rotation with Scrapling\n\nWire the proxy into scrapling fetchers. Read credentials from environment\nvariables — never hard-code, never commit a `.env`.\n\n```python\nimport os\nimport random\nfrom scrapling import Fetcher, StealthyFetcher\n\n# Pattern A: provider-managed rotating endpoint (one URL, provider rotates per request)\nPROXY_URL = os.environ[\"SCRAPING_PROXY_URL\"]  # http:\u002F\u002Fuser:pass@gateway.example:7777\n\nfetcher = StealthyFetcher()\nfetcher.configure(\n    headless=True,\n    timeout=60,\n    network_idle=True,\n    proxy=PROXY_URL,\n)\n\n# Pattern B: explicit pool, rotate yourself\nPOOL = os.environ[\"SCRAPING_PROXY_POOL\"].split(\",\")  # comma-separated URLs\n\ndef fetch_with_rotation(url):\n    proxy = random.choice(POOL)\n    fetcher = StealthyFetcher()\n    fetcher.configure(headless=True, timeout=60, proxy=proxy)\n    return fetcher.get(url)\n```\n\n**Got:** Requests succeed and the egress IP varies between calls. Confirm by\nhitting an IP-echo endpoint (e.g. `https:\u002F\u002Fapi.ipify.org`) before running the\nreal scrape.\n\n**If fail:**\n- 407 Proxy Authentication Required — credentials wrong or password URL-encoding\n  broke (re-encode special characters)\n- Same IP on every call — provider endpoint may be sticky by default; check\n  docs for a `-rotating` or per-request flag\n- Massive latency increase — expected; rotation adds 200–2000ms per request\n\n### Step 4: Sticky Sessions and Pool Health\n\nDecide rotation granularity per workload, then keep the pool healthy.\n\n```python\n# Sticky session for stateful flows (login, multi-page checkout-like crawls)\n# Most providers expose a session ID via the username:\n#   user-session-abc123:pass@gateway.example:7777\n# All requests with the same session ID exit through the same IP for ~10 min.\n\n# Per-request rotation for anonymous bulk scraping (default)\n\n# Pool health check — call before bulk run\ndef check_pool(pool, sample_size=5):\n    sample = random.sample(pool, min(sample_size, len(pool)))\n    alive = []\n    for proxy in sample:\n        try:\n            r = StealthyFetcher().configure(proxy=proxy, timeout=10).get(\n                \"https:\u002F\u002Fapi.ipify.org\"\n            )\n            if r.status == 200:\n                alive.append(proxy)\n        except Exception:\n            pass\n    return alive\n\n# Backoff on transient proxy failures\ndef fetch_with_backoff(url, max_attempts=3):\n    for attempt in range(max_attempts):\n        try:\n            r = fetch_with_rotation(url)\n            if r.status not in (407, 502, 503):\n                return r\n        except Exception:\n            pass\n        time.sleep(2 ** attempt)\n    return None\n```\n\n**Got:** Stateful flows preserve cookies across requests; bulk anonymous\nscraping shows IP variance across requests; dead proxies skipped instead of\nlooping.\n\n**If fail:**\n- Login breaks mid-flow — rotation happening inside the session; switch to\n  sticky-session credentials\n- All proxies in sample fail health check — pool exhausted or credentials\n  expired; rotate credentials or contact provider\n\n### Step 5: Monitoring, Cost Control, and Kill Switch\n\nProxy traffic has a per-GB cost and a per-request cost. Runaway scrapers\ngenerate runaway invoices. Always include limits and an abort.\n\n```python\nimport time\n\nclass ScrapeBudget:\n    def __init__(self, max_requests, max_duration_seconds, max_failures):\n        self.max_requests = max_requests\n        self.max_duration = max_duration_seconds\n        self.max_failures = max_failures\n        self.requests = 0\n        self.failures = 0\n        self.start = time.monotonic()\n\n    def allow(self):\n        if self.requests >= self.max_requests:\n            return False, \"request cap reached\"\n        if time.monotonic() - self.start >= self.max_duration:\n            return False, \"time cap reached\"\n        if self.failures >= self.max_failures:\n            return False, \"failure cap reached (circuit breaker)\"\n        return True, None\n\n    def record(self, success):\n        self.requests += 1\n        if not success:\n            self.failures += 1\n\nbudget = ScrapeBudget(max_requests=1000, max_duration_seconds=3600, max_failures=20)\n\nfor url in target_urls:\n    ok, reason = budget.allow()\n    if not ok:\n        print(f\"Aborting: {reason}\")\n        break\n    response = fetch_with_backoff(url)\n    budget.record(success=response is not None)\n    time.sleep(1)  # rate limiting still applies even with rotation\n```\n\n**Got:** Budget caps trigger before runaway cost. Logs show per-proxy success\nrate so a bad egress IP can be identified and excluded.\n\n**If fail:**\n- Failure rate climbs above 20% — pause; the site has detected the rotation\n  pattern (e.g. all your IPs share a subnet); switch pool type or stop\n- Cost-per-record exceeds expectations by 5x — cache aggressively, deduplicate\n  URLs, batch where possible\n\n## Validation\n\n- [ ] Step 1 legality check is documented in writing before any code runs\n- [ ] No proxy credentials, pool URLs, or session IDs in tracked files\n      (grep for `gateway.`, `proxy=`, the provider hostname)\n- [ ] `.env` (or equivalent) is in `.gitignore`\n- [ ] Pool choice justified: cheapest viable tier, with consent model verified\n      for residential\u002Fmobile\n- [ ] IP variance confirmed against an echo endpoint before the real run\n- [ ] Stateful flows use sticky sessions; bulk anonymous use per-request\n- [ ] Budget caps (requests, duration, failures) wired and tested\n- [ ] Rate limiting (≥1s) preserved — rotation is not an excuse to flood\n- [ ] `robots.txt` still respected — rotation does not override it\n\n## Pitfalls\n\n- **Rotating before stealth is exhausted**: the site often does not need a new\n  IP — it needs a realistic User-Agent, TLS fingerprint, and slower cadence.\n  Try `StealthyFetcher` and rate limiting first; rotation is expensive and\n  unethical to deploy unnecessarily.\n- **Hard-coded credentials**: pasting the proxy URL into source leaks it to\n  git, container images, and stack traces. Read from environment variables or\n  a secrets manager.\n- **Rotating mid-session**: per-request rotation breaks any flow that depends\n  on cookies, CSRF tokens, or shopping-cart state. Use sticky sessions for\n  stateful work.\n- **Treating rotation as \"ethical anonymity\"**: rotation hides *you* from the\n  target, but does not make harmful scraping ethical. ToS, copyright, privacy\n  law, and rate-limit ethics still apply unchanged.\n- **Using residential proxies for high-risk activity**: credential stuffing,\n  sneaker botting, geo-pirating streaming content, fraud — explicitly out of\n  scope. If your use case looks like this, stop.\n- **Ignoring `robots.txt` because \"we have rotation now\"**: rotation does not\n  grant permission. The directive is the directive.\n- **No kill switch**: an unsupervised loop on a metered proxy pool turns into\n  a four-figure invoice overnight. Always cap requests, duration, and failures.\n- **Choosing a residential pool with opaque consent**: some providers source\n  exit nodes from \"free VPN\" EULAs that real users never read. Pay the premium\n  for an audited, opt-in consent model.\n\n## Related Skills\n\n- [headless-web-scraping](..\u002Fheadless-web-scraping\u002FSKILL.md) — parent skill;\n  always start there. Use this skill only as escalation.\n- [use-graphql-api](..\u002Fuse-graphql-api\u002FSKILL.md) — prefer official APIs to\n  scraping when one exists.\n- [deploy-searxng](..\u002Fdeploy-searxng\u002FSKILL.md) — self-hosted search avoids\n  scraping search engines entirely.\n- [configure-reverse-proxy](..\u002Fconfigure-reverse-proxy\u002FSKILL.md) — opposite\n  network direction (serving instead of fetching), useful neighbor reference.\n- [security-audit-codebase](..\u002Fsecurity-audit-codebase\u002FSKILL.md) — run after\n  integrating credentials to confirm none leaked into the repo.\n\n\u003C!-- Keep under 500 lines. Extract large examples to references\u002FEXAMPLES.md if needed. -->\n",{"name":5,"locale":23,"license":14,"metadata":24,"translator":31,"description":32,"allowed-tools":33,"source_commit":34,"source_locale":35,"translation_date":36},"caveman-lite",{"tags":25,"author":26,"domain":27,"version":28,"language":29,"complexity":30},"web-scraping, proxies, rotation, residential, scrapling, networking","Philipp Thoss","web-scraping","1.0","Python","intermediate","Julius Brussee homage — caveman","Escalate blocked scraping campaigns with provider-neutral proxy rotation — pick datacenter\u002Fresidential\u002Fmobile pools, integrate rotation with scrapling, configure session stickiness for stateful flows, monitor cost and health, stay inside legal and ethical limits. Use after `headless-web-scraping` client-side stealth (StealthyFetcher, rate limiting, robots.txt) is insufficient and traffic is legitimate.\n","Bash Read Write Grep Glob","82c77053","en","2026-05-03","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Frotate-scraping-proxies",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add roohe\u002Fagentic-super-skills --skill rotate-scraping-proxies",{"tool":51,"command":52},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill rotate-scraping-proxies",{"tool":54,"command":55},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill rotate-scraping-proxies","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Frotate-scraping-proxies\u002FSKILL.md",true,[],[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]