Hi,
appreciate your work and used your script for long times. Now Hetzner deprecated the old style DNS API system and is referring to:
New DNS API documentation
Would you mind to migrate your script to that new API endpoint? :-)
best regards, Tom