Python script to resize html area coordinates