The world of web scraping is varied and complex and Proxies API sits at one of the most crucial junctions. Allowing web scrapers/crawlers to bypass IP blocks by using a single API endpoint to access our 20 million-plus high-speed proxies on rotation.
Example:
curl "http://api.proxiesapi.com/?auth_key=YOUR_KEY&url=URL"
One of the questions we get frequently is how we are different from services like OctoParse or Diffbot. Many times it is like comparing Apples and Oranges but when we send this comparison table to our customer's developer team, their CXO, their marketing or SEO team, they typically get it quite easily if we are a suitable service or not.
So here is how we are different from Scrapy.
Scrapy is an extremely powerful crawling and scraping library written in Python.
Here is how easy it is to create a multi-threaded crawler and parse it at a single endpoint.
import scrapy
class MySpider(scrapy.Spider):
name = 'example.com'
allowed_domains = ['example.com']
start_urls = [
'',
'',
'',
]
def parse(self, response):
for h3 in response.xpath('//h3').getall():
yield {"title": h3}
for href in response.xpath('//a/@href').getall():
yield scrapy.Request(response.urljoin(href), self.parse)
and to scrape, it allows both XPath and CSS selectors.
>>> response.xpath('//span/text()').get()
'good'
>>> response.css('span::text').get()
'good'
Scrapy vs Proxies API
Aspect | Proxies API | Scrapy |
---|---|---|
Who is it for? | Developers | Developers |
Cost | 1000 free CallsStarts at $49 pm | Open Source |
API access | Yes | yes |
Size of project | enterprisemediumsmall | enterprisemediumsmall |
Easy to setup | single api call for everything | manual setup |
Product/Service | product | product |
Rotating Proxies | Yes | no |
Single API? | Yes | no |
Desktop App | no | no |
Visual Scraping | no | no |
Untitled |