Re:After 10 Years, Yelp Gave My App 4 Days
by chillfox on Wednesday July 31, 2024 @08:08PM
(#41124883)
I used to not bother with APIs and instead use selenium to drive the websites. It neatly avoided all of the politics around API access.
[ Parent
| on HN ]
Re:After 10 Years, Yelp Gave My App 4 Days
by bitwize on Wednesday July 31, 2024 @08:54PM
(#41125190)
That may be a CFAA violation, a felony in the United States. See Ryanair DAC v. Booking Holdings, Inc.
That's because Booking was also committing some type of misrepresentation and taking revenue away from Ryanair through their browser automation. Even then, the infraction was sooo bad that they got a $5k fine.
I think the hiQ Labs vs LinkedIn case is a better representation that scraping is generally allowed: https://en.wikipedia.org/wiki/HiQ_Labs_v._LinkedIn
Re:After 10 Years, Yelp Gave My App 4 Days
by CamperBob2 on Wednesday July 31, 2024 @09:14PM
(#41125281)
When it comes to CFAA violations, corporations get a $5K fine, while individuals get hounded to suicide.
Re:After 10 Years, Yelp Gave My App 4 Days
by jascination on Wednesday July 31, 2024 @09:22PM
(#41125328)
Start a company then do my nefarious work under that, got it!
Re:After 10 Years, Yelp Gave My App 4 Days
by bdangubic on Thursday August 01, 2024 @12:13AM
(#41126094)
You should do ABSOLUTELY EVERYTHING in your life under a company. And I mean EVERYTHING
Re:After 10 Years, Yelp Gave My App 4 Days
by wombatpm on Thursday August 01, 2024 @01:34AM
(#41126443)
My wife hates it when 1099 her for services rendered, especially since she refuses to bill against the PO I set up for her. The kids at least accepted NET15 payment terms. Although the oldest said if I short pay him for lawn care again, he’s going to take away my early pay discount.
Re:After 10 Years, Yelp Gave My App 4 Days
by smallnamespace on Thursday August 01, 2024 @04:04AM
(#41127087)
Have you considered short paying him again through the same entity? After all, that's one use case of limited liability ;)
Re:After 10 Years, Yelp Gave My App 4 Days
by lelandfe on Thursday August 01, 2024 @11:53AM
(#41130492)
Kafka is smiling appreciatively at your approach to marriage
Re:After 10 Years, Yelp Gave My App 4 Days
by exe34 on Thursday August 01, 2024 @03:10AM
(#41126836)
corporations are more people than people.
Re:After 10 Years, Yelp Gave My App 4 Days
by jamil7 on Thursday August 01, 2024 @01:26AM
(#41126400)
Unironically, yes.
Re:After 10 Years, Yelp Gave My App 4 Days
by oblio on Thursday August 01, 2024 @09:12AM
(#41128764)
How does that work, though? Setting up a company has an initial cost and then recurrent costs (accountant, etc). Are the benefits that high for the average Joe?
Re:After 10 Years, Yelp Gave My App 4 Days
by jamil7 on Thursday August 01, 2024 @10:10AM
(#41129245)
It's hard to answer without specifics, even if you're not doing anything neferious there are a lot of benefits to putting an entity between yourself and your customers. It depends on where you live and what your business is of course.
Re:After 10 Years, Yelp Gave My App 4 Days
by satvikpendem on Thursday August 01, 2024 @02:36AM
(#41126673)
> In November 2022 the U.S. District Court for the Northern District of California ruled that hiQ had breached LinkedIn's User Agreement and a settlement agreement was reached between the two parties.
Reminder that the earlier ruling was overturned, it is no longer clear whether scraping is legal or not.
Re:After 10 Years, Yelp Gave My App 4 Days
by djbusby on Wednesday July 31, 2024 @10:56PM
(#41125763)
Very Probably No way they could find me.
Re:After 10 Years, Yelp Gave My App 4 Days
by traviswingo on Wednesday July 31, 2024 @09:00PM
(#41125217)
This literally made me lol. Not sure if it’s true. I might be true. But come on!
Re:After 10 Years, Yelp Gave My App 4 Days
by sunaookami on Thursday August 01, 2024 @12:31AM
(#41126170)
Just say you train an AI on it and it's all fair game.
Re:After 10 Years, Yelp Gave My App 4 Days
by chillfox on Saturday August 03, 2024 @09:06PM
(#41150436)
Good thing I am not an American, don't live in the US and have no intentions of visiting then.
(I gave you an upvote, I don't think your comment deserve to be nuked for bringing up a possible legal risk)
Re:After 10 Years, Yelp Gave My App 4 Days
by CalRobert on Thursday August 01, 2024 @12:59AM
(#41126309)
HTTP is an API of sorts…
Re:After 10 Years, Yelp Gave My App 4 Days
by selcuka on Thursday August 01, 2024 @02:07AM
(#41126563)
> HTTP is an API of sorts…
True, but it is an API that they can't easily deprecate on a whim.
Re:After 10 Years, Yelp Gave My App 4 Days
by reddalo on Thursday August 01, 2024 @03:34AM
(#41126942)
But they can quickly change the "structure" of that API.
Re:After 10 Years, Yelp Gave My App 4 Days
by vladstudio on Thursday August 01, 2024 @04:14AM
(#41127128)
I believe this is where smarter tools like Kadoa [0] can be of help. It detects data structure changes for existing workflows, and adapts to them.
Re:After 10 Years, Yelp Gave My App 4 Days
by account42 on Thursday August 01, 2024 @05:58AM
(#41127562)
A small problem compared to not having an API key and being stonewalled as to why.
Re:After 10 Years, Yelp Gave My App 4 Days
by michaelcampbell on Thursday August 01, 2024 @08:33AM
(#41128488)
I worked for a very early billpay company where you could pay your bills online to vendors, even if the vendor didn't support it. We used API's where we could, but where we couldn't...
We had a whole team dedicated to keeping up the changes vendors would make to their websites that we scraped for info. The team was called, of course, "Scrape and P(r)ay".
Re:After 10 Years, Yelp Gave My App 4 Days
by xeromal on Thursday August 01, 2024 @12:38PM
(#41130949)
Isn't that similar to deleting your API key except you can at least fix the structure of the selenium one.
Re:After 10 Years, Yelp Gave My App 4 Days
by chillfox on Saturday August 03, 2024 @08:57PM
(#41150397)
If you build your scraper to find data on the page based on the shape of the data itself instead of the structure of the page then it will be resilient to most changes that don't materially change what data is displayed on the page.
So, prefer regex over css selectors, and css selectors over xpath, where possible. And don't select based on nesting or position if possible.
Re:After 10 Years, Yelp Gave My App 4 Days
by viraptor on Friday August 02, 2024 @12:10PM
(#41140026)
You're one CAPTCHA added to the flow from this access being effectively deprecated.
In the AI era, is this as true?
Re:After 10 Years, Yelp Gave My App 4 Days
by viraptor on Saturday August 03, 2024 @11:51PM
(#41151054)
Depends on your development and per-action cost. And on the possible latency. It also changes your whole stack from "send a request" to "emulate each step in a browser while taking screenshots at (hopefully) the right event/delay" - that's a huge difference.