Data extracting from website, In future website changes...What will happen?

Hi

In my project, the data is extracting from the websites, for now it is working.

But in future the current websites will change, what will happen at that time??

if web sites are changed then old code will not work we have to change the code