How we scrape 300k prices per day from Google Flights
medium.com
medium.com
... by externalizing the costs to a third party.
In general, I'm really surprised that they published this article. It's like they described exactly the data that somebody working on preventing scraping would need to block this traffic, in totally unnecessary level of detail. (E.g. telling exactly which ASN this traffic would be arriving from, describing the very specific timing of their traffic spikes, the kind of multi-city searches that probably see almost no organic traffic).
I just don't get it. It's like they're intentionally trying to get blocked so that they can write a follow-up "how Google blocked our bootstrapped business" blog post.
I'm always surprised by the level of ignorance, but I've seen more than one startup burn because the founders didn't understand which taxes were due and, thus, failed to account for them in their pricing.
> I'm always surprised by the level of ignorance
Such as the ignorance displayed in your comment?
It's not illegal. Google can sue them and bury them in court fees and potentially win a civil suit, but it sure as hell isn't illegal.
However, 300k requests per day surely is enough that this could be considered a sort of denial of service attack and violate fair use.
If Google wanted to, they would scale down their servers for a day, wait for this traffic peak to hit, document how it made the service unavailable to others, and now you have a valid offense to sue for.
illegal means violate criminal code.
> now you have a valid offense to sue for
That's civil, not criminal.
It's pedantic, but words matter.
https://www.eff.org/deeplinks/2019/09/victory-ruling-hiq-v-l...
Yes. That's also what I said above when I said "Google can sue them". It's not illegal is my entire point. You can sue anyone, for any reason, at any time, and even win. That doesn't make something illegal.
If Google sends them a C&D, and expressly forbids them from doing this activity, and implements technical measures to prevent them from doing so, and they continue doing so then they may start approaching the area of illegal (Craigslist v. 3Taps would agree, hiQ v. LinkedIn would disagree).
300k requests / day is a little over 3 per second. That's not much.
I do think that if they ever get traction they'll have a lot of problems - there's a reason GDS access to flight availability is slow, expensive, and difficult to implement well. Scraping definitely won't scale.
The article mentions that they are using rotating residential proxies.
I am very interested in what a 'rotating residential proxy' is. Are they routing requests through random people's internet connections? Are these people willing participants? Where do they come from?
A residential proxy is listed as an "IP address provided by an Internet Service Provider", but I still don't really understand how they get access to them. ISPs have to be selling them access, right?
Providers of the 'free' Hola vpn.
"80M+ Monthly devices hosting Luminati's SDK" & "100% Peers chose to opt-in to Luminati's network" (https://luminati.io/network-details)
There is a 0% chance that 80M+ are agreeing "I am OK with Luminati selling access to my home internet connection to any party able to pay", which seems like an honest description of their business model. More likely Luminati is paying unscrupulous app developers to include this SDK in their apps, and some put some legalese into 10,000 word install-time agreements that no one reads.
When you block small scrapers from your site but permit giants like Googlebot and Bing all you're doing is locking in a monopoly that's bad for everyone
Google does not need anyone's permission to scrape publicly accessible data, and they are not required to follow any opt-out requests.
> As a user of the Site, you agree not to:
> 1. Systematically retrieve data or other content from the Site to create or compile, directly or indirectly, a collection, compilation, database, or directory without written permission from us.
It's data scraping/middlemen all the way down... I wonder if Google indexes their scrape results to throw some loops in the mix.
The point being that there's irony in every direction, the proverbial "pot calling the kettle black." Lots of irony in both directions.
[1] https://www.eff.org/deeplinks/2019/09/victory-ruling-hiq-v-l...
Blogging about it publicly, as they're doing it: that may appear newish, but I'm sure some other startup did that 15 years ago.
Which is what this guy could have done, instead of behaving like pond scum. It’s not like it’s particularly complicated to get programmatic access to a GDS API, that’s what they’re there for.
Well, it’s expensive to provide live answers for flight search queries across hundreds of airlines and thousands of airports... Some of the old booking interfaces are ugly, but for simple searching most of them provide relatively sane REST/JSON
I don’t understand your attitude, steal it until you make it?
Meanwhile on the topic of attitudes, referring to a startup as 'pond scum' simply because they scrape an extremely expensive data set, especially regarding an industry with a long and controversial history of strategies designed to avoid price transparency.. hmm.
> Brisk Voyage finds cheap, last-minute weekend trips for our members. The basic idea is that we continuously check a bunch of flight and hotel prices, and when we find a trip that’s a low-priced outlier, we send an email with booking instructions.
Edit: Ok, this could actually be interesting. At least in the short while. .)
(Disclaimer: I work for priceline).
I wonder if that could already bring them on Googles radar. If so, Google would probably send a cease and desist letter and this startup would simply give up.
I wonder if Google would also demand their legal expenses? Probably a couple thousand dollars?
I know, nobody would go to court against Google - but what would happen if this did go to court? Which laws would Google cite to deem this illegal?