Y
Hacker News
new
|
ask
|
show
|
jobs
by
hrasyid
3013 days ago
An API is a contract. HTML can be tweaked and become incompatible with your parser at the developer's whim.
3 comments
gkya
3013 days ago
Oh luckily major APIs never change. /s
link
hrasyid
3010 days ago
Not as easily as an HTML page
link
matheusmoreira
3013 days ago
That just means your code must be maintained. You can verify that the HTML has a given structure and log a failure if it doesn't.
link
amelius
3013 days ago
Use Deep Learning to circumvent that.
link