<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Michael Guy</title>
    <description>The latest articles on DEV Community by Michael Guy (@michaelguy).</description>
    <link>https://dev.to/michaelguy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4147816%2F22890f18-4e65-4c0d-82f8-d5527f8fb562.jpg</url>
      <title>DEV Community: Michael Guy</title>
      <link>https://dev.to/michaelguy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/michaelguy"/>
    <language>en</language>
    <item>
      <title>When Pay-Per-GB Proxy Pricing Stops Making Sense</title>
      <dc:creator>Michael Guy</dc:creator>
      <pubDate>Sun, 01 Nov 2026 20:05:02 +0000</pubDate>
      <link>https://dev.to/michaelguy/when-pay-per-gb-proxy-pricing-stops-making-sense-3p2e</link>
      <guid>https://dev.to/michaelguy/when-pay-per-gb-proxy-pricing-stops-making-sense-3p2e</guid>
      <description>&lt;p&gt;High-volume data collection creates a simple but expensive pricing problem: when a crawler transfers more data, a pay-per-GB bill rises at exactly the same time.&lt;/p&gt;

&lt;p&gt;That model can be perfectly reasonable for small or irregular workloads. It becomes harder to forecast when collection runs continuously, retries increase, or several workers operate in parallel.&lt;/p&gt;

&lt;h2&gt;
  
  
  The two pricing models
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Pay per GB
&lt;/h3&gt;

&lt;p&gt;The cost is directly tied to transferred traffic:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;traffic cost = transferred GB × price per GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is easy to understand and often economical for short tests. The drawback is that every retry, duplicate response, large asset, and failed extraction still consumes metered traffic.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Throughput-based, unmetered access
&lt;/h3&gt;

&lt;p&gt;A throughput-based plan uses a fixed speed and a fixed duration. The bill is based on the selected capacity and period rather than the number of gigabytes transferred.&lt;/p&gt;

&lt;p&gt;“Unmetered” means there is no data cap during the purchased duration. It does &lt;strong&gt;not&lt;/strong&gt; mean infinite instantaneous transfer. The selected throughput remains the capacity constraint.&lt;/p&gt;

&lt;p&gt;That distinction matters because a plan should be sized around both traffic volume and the rate at which the application must move it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple break-even calculation
&lt;/h2&gt;

&lt;p&gt;For a fixed-price plan, the traffic level at which it becomes cheaper than pay-per-GB is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;break-even GB = fixed plan price ÷ pay-per-GB rate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Suppose a team currently pays $3 per GB. A workload transferring 100 TB in decimal units is approximately 100,000 GB:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;100,000 GB × $3/GB = $300,000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is an illustrative comparison, not a universal market price. Real rates, taxes, discounts, and billing units vary. The useful part is the formula: replace the assumptions with your own numbers before making a decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check whether the throughput can carry the workload
&lt;/h2&gt;

&lt;p&gt;Cost is only half of the comparison. A fixed-throughput plan must be able to deliver the required volume inside the selected period.&lt;/p&gt;

&lt;p&gt;For example, 400 Mbps running continuously for 30 days has a theoretical transfer ceiling of roughly 129.6 TB in decimal units:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;400,000,000 bits/s ÷ 8 × 2,592,000 seconds
≈ 129.6 TB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Actual application throughput will be lower. Protocol overhead, target response times, connection setup, retries, geography, and the success rate of each request all reduce the amount of useful data collected.&lt;/p&gt;

&lt;p&gt;This is why the best plan is not automatically the fastest one. It is the smallest throughput tier that can complete the real workload with reasonable headroom.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to include in the comparison
&lt;/h2&gt;

&lt;p&gt;Before changing pricing models, measure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Useful traffic&lt;/strong&gt;, not only total traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Peak and average throughput&lt;/strong&gt; across workers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retry volume&lt;/strong&gt; caused by timeouts, blocks, or invalid responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session behavior&lt;/strong&gt;, including rotating and sticky sessions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protocol requirements&lt;/strong&gt;, such as HTTP, SOCKS5, or UDP over SOCKS5.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Location availability&lt;/strong&gt; for the countries or regions being targeted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duration&lt;/strong&gt;, because a one-day burst and a continuous 30-day pipeline need different capacity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Acceptable-use requirements&lt;/strong&gt;, especially for automated collection and ad-related workflows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For residential proxy workloads, the available IP pool also matters. A plan can provide access to more than 4 million rotating or sticky residential IPs without charging per individual proxy, while the commercial variable remains throughput and duration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use a calculator with editable assumptions
&lt;/h2&gt;

&lt;p&gt;I built a &lt;a href="https://unlimitedresidentialproxy.com/calculator" rel="noopener noreferrer"&gt;residential proxy cost calculator&lt;/a&gt; to make the comparison easier. It lets you change the traffic assumption and compare it against available throughput and duration combinations.&lt;/p&gt;

&lt;p&gt;The calculator is most useful as a planning tool:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Enter a realistic monthly traffic estimate.&lt;/li&gt;
&lt;li&gt;Use the actual per-GB rate from your current bill.&lt;/li&gt;
&lt;li&gt;Select a throughput tier that can carry the workload.&lt;/li&gt;
&lt;li&gt;Add headroom for retries and slower targets.&lt;/li&gt;
&lt;li&gt;Compare the total cost over the same period.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;

&lt;p&gt;Pay-per-GB pricing is often the simplest choice for experiments and low-volume jobs. Unmetered throughput becomes more attractive when traffic is large, continuous, or difficult to predict.&lt;/p&gt;

&lt;p&gt;The right comparison is not “unlimited versus metered” in isolation. It is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;total cost + required throughput + successful data delivered
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once those three numbers are measured, the decision becomes much less subjective.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>data</category>
      <category>devops</category>
      <category>networking</category>
    </item>
    <item>
      <title>How to Rotate Proxies in Python with Requests (2026 Guide)</title>
      <dc:creator>Michael Guy</dc:creator>
      <pubDate>Mon, 28 Sep 2026 21:29:40 +0000</pubDate>
      <link>https://dev.to/michaelguy/how-to-rotate-proxies-in-python-with-requests-2026-guide-nh7</link>
      <guid>https://dev.to/michaelguy/how-to-rotate-proxies-in-python-with-requests-2026-guide-nh7</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://unlimitedresidentialproxy.com/blog/how-to-rotate-proxies-python" rel="noopener noreferrer"&gt;UnlimitedResidentialProxy&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Websites may apply rate limits or access controls to automated requests. For permitted data collection, residential proxy rotation can be one useful configuration alongside careful pacing, retries, and error handling.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Only automate requests that you are authorized to make. Respect the target website's terms, robots directives, rate limits, and applicable law.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why rotate residential proxies?
&lt;/h2&gt;

&lt;p&gt;Sending every request through one static exit can make a long-running collection job fragile. Rotating residential sessions distributes authorized requests across available exits. It does not make automation undetectable, guarantee access, or replace responsible request pacing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install Requests
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; pip &lt;span class="nb"&gt;install &lt;/span&gt;requests
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Configure the proxy gateway
&lt;/h2&gt;

&lt;p&gt;Rotation is handled by the gateway, so your Python code does not need to maintain and validate a large list of proxy IPs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;PROXY_HOST&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;&amp;lt;YOUR_GATEWAY_HOST&amp;gt;&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;PROXY_PORT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;7777&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;PROXY_USER&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;USERNAME&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;PROXY_PASS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;PASSWORD&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

&lt;span class="n"&gt;proxy_url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;http://&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_USER&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_PASS&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;@&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_HOST&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_PORT&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;proxies&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;http&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;proxy_url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;proxy_url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;target_url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://httpbin.org/ip&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;attempt&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="n"&gt;target_url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;proxies&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;proxies&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;raise_for_status&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

        &lt;span class="n"&gt;exit_ip&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;origin&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;unknown&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Request &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;attempt&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;: IP is &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;exit_ip&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exceptions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;RequestException&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Request &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;attempt&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; failed: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The timeout prevents a request from waiting indefinitely. &lt;code&gt;raise_for_status()&lt;/code&gt; turns unsuccessful HTTP responses into exceptions, while &lt;code&gt;.get("origin", "unknown")&lt;/code&gt; avoids a &lt;code&gt;KeyError&lt;/code&gt; if the response shape changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use SOCKS5 when needed
&lt;/h2&gt;

&lt;p&gt;Install Requests with SOCKS support:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="s1"&gt;'requests[socks]'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then change the proxy URL scheme:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;proxy_url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;socks5h://&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_USER&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_PASS&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;@&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_HOST&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;PROXY_PORT&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using &lt;code&gt;socks5h://&lt;/code&gt; sends DNS resolution through the proxy. The rest of the request and error-handling structure stays the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rotation, sticky sessions, and targeting
&lt;/h2&gt;

&lt;p&gt;The unlimited plans provide access to a shared rotating residential pool advertised at 4M+ IPs. Rotation and sticky-session behavior depend on your session configuration and live exit availability, so a new or unique IP is not guaranteed for every request.&lt;/p&gt;

&lt;p&gt;For country targeting, the gateway username can include a country parameter such as &lt;code&gt;-country-us&lt;/code&gt;. Use the exact syntax supplied in your dashboard and verify availability for the location you need.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical troubleshooting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Confirm the gateway host, port, username, and password.&lt;/li&gt;
&lt;li&gt;URL-encode special characters in credentials when necessary.&lt;/li&gt;
&lt;li&gt;Keep timeouts enabled and add bounded retries with backoff.&lt;/li&gt;
&lt;li&gt;Test through an IP-check endpoint before running a larger job.&lt;/li&gt;
&lt;li&gt;Reduce concurrency when the target begins returning rate-limit responses.&lt;/li&gt;
&lt;li&gt;Do not assume that every request must return a different exit IP.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Choosing bandwidth for larger workloads
&lt;/h2&gt;

&lt;p&gt;Unlimited plans are priced by aggregate throughput and duration rather than by traffic volume. If you are comparing throughput tiers, use the &lt;a href="https://unlimitedresidentialproxy.com/calculator" rel="noopener noreferrer"&gt;residential proxy cost calculator&lt;/a&gt; or review the &lt;a href="https://unlimitedresidentialproxy.com/pricing" rel="noopener noreferrer"&gt;unlimited residential proxy plans&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For the maintained version of this tutorial, see the &lt;a href="https://unlimitedresidentialproxy.com/blog/how-to-rotate-proxies-python" rel="noopener noreferrer"&gt;original Python proxy rotation guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>webscraping</category>
      <category>tutorial</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
