Categories
Challenge Development

Python, Selenium for custom browser automation scraper

Recently we’ve got the tricky website, its data being of dynamic nature. Yet we’ve applied the modern day scraping tools to fetch data. We’ve develop an effective Python scraper using Selenium library for browser automation.

About the project

We were asked to have a look at a retailer website.

And our task was to gather data on 210 products’ availability in 945 shops. The scrape resulted in about 200K data entries in a CSV format. Moreover, every line contained information about name, link, brand, store and the availability of a product. Below you can familiarise yourself with a small data sample we were able to gather.

Categories
Challenge Development

Discord Bot to detect on-site anti-scrape & scrape-proof tools

Today, I’ll share of a Dicord server that accomodates a bot able to detect multiple modern scrape-protection and scrape-detection means. The server name is Scraping Enthusiasts, channel with the bot being #antibot-test

Categories
Challenge Development

TLS (SSL) Fingerprinting

In the post we share about web fingerprinting and particularly TLS fingerprinting. First let’s categorize the fingerprinting.

Categories
Challenge Development

Node.js, Python & Ruby Bots Zoo repo

Today, I got in touch with the Node.js [and Python] bots garden/zoo providing modern bots with different kinds of browsers (Firefox, Chrome, Headless/not headless) using different automation frameworks (Puppeteer, Selenium, Playwright) in several programming languages.

Categories
Development

Service for getting real SMS on virtual online numbers + API

With 365SMS service you can receive SMS to a virtual number and verify your accounts on Facebook, Instagram, Twitter, Amazon, Airbnb, etc.

  • Buying virtual numbers and receiving SMS in automatic mode.
  • A virtual phone number is issued for 20 minutes. During this time, you can receive an unlimited number of SMS absolutely free.
  • You pay only for the received SMS, prices are as low as 0.3 EUR per number. If the number did not accept SMS, the money will be returned to the balance.
  • Large selection of services (incl. Linkedin) and countries for SMS activation.
  • Convenient API for comfortable work with external software.
  • User-friendly interface. Search by country and service makes it easy to buy a virtual phone number.
  • Dicounts for numbers in bulk.

Note

Since the virtual number is not in the country it represents, so a created 3d party account might be blocked. Therefore it’s better to:

1. Use mobile proxies that match the geolocation of the region of the purchased virtual number;
2. Use a mobile user agent.

Often the problem is not in the number, but in the wrong registration method.

Free numbers

Another vistual number SMS service, incl. free numbers.

Categories
Data Mining Development

AI code-writing assistant that understands data content and generates code

Recently I’ve encountred a client that predicts “in 6 month AI will be able to do much coding instead of man”.

…in years you’ll be able to on the fly, ask the AI to purchase a server, or create a website with X website builder… and basically, I bet it will write code on the fly on your demand where it connects to these tool’s APIs to really make things happen. It could do this now for some easy stuff but it’s unreliable and will mess up.

Now we’ve ancountered a interesing public repo, called Sketch. It’s AI code-writing assistant for Pandas (Python) users.

Categories
Development

Scrape YouTube comments using Python & Selenium

Scraping youtube comments has become crucial if you are working on some sentiment analysis project. The comments section will give you an overview of the public sentiment toward any election or sports results, scams, wars, etc. Comments reflect an overall feeling of a person. What according to them is right and wrong is mentioned in the comments.

Categories
Challenge Development

CodeStar connection full working policy at AWS

The original AWSCodeStarFullAccess policy is full [to provide access to  AWS CodeStar via the AWS Management Console] yet it still does not grant enough access to create a Code connection for IAM at CodePipeline. So we had to manage to create a custom policy based on AWS tutorial suggestions.

Categories
Development

Puppeteer async scraper with browsers number to be tuned based on CPU capacity

Recently we’ve got a tricky website of dynamic content to scrape. The data are loaded thru XHRs into each part of the DOM (HTML markup). So, the task was to develop an effective scraper that does async while using reasonable CPU recourses.

Categories
Development

Choosing reliable [rotating] residential proxies

Our experience with the residential proxy services. The table info is in progress.

ServiceResidentialCost/monthTraffic/month$ per GBRotatingIP whitelistingPerformance and moreNotes
Oxylabs.io
$ 30025 GB9 - 12

"pay-as-you-go" - 15
yesyes- 30K requests
- 1.3 GB of data
- 5K pages crawled
Not allowing to scrape some of grey zone targets, incl. Linkedin.
Rainproxy.io yes$ 4from 1 GB4yes
Infatica.io
from $ 96from 10 GB3.5 - 12
yesyesOver 95% success
*Bans from Cloudflare are also few, less than 5%.
No "pay-as-you-go" plan
BrightDatayes15
Charity Engine -docsyes-- starting from 3.6
Additionally:
CPU computing
- from $0.01 per avg CPU core-hour
- from $0.10 per GPU-hour - source.
failed to connect so far
Smartproxy
Link to a price page

1 GB
8-10
"pay-as-you-go" - 12.5
yesyes65M+ IPs, 195+ countriesNot allowing to scrape some of grey zone targets, incl. Linkedin.
ScrapeOps Proxy AggregatoryesAPI Credits per monthN/A N/AyesAllows multithreading, the service provides browsers at its servers. It allows to run N [cloud] browsers from a local machine.
The number of threads depends on the subscription: min 5 threads.
The All-In-One Proxy API that allows to use over 20+ proxy providers from a single API
Lunaproxy.comyesfrom $15x Gb per 90 days0.85 - 5 Each plan allows certain traffic amount for 90 days only.
LiveProxies.ioyesfrom $454-50 GB5 - 12yesyesEg. 200 IPs with 4 GB for $70.00, for 30 Days limit
Mango Proxy yesfrom $121-50 GB8.5-12
"pay-as-you-go" - 12.5
yes

See more exensive and detailed comparison in here.

Undetectable’s proxy partners.