kennedyr / 1and1-ip-updater Goto Github PK
View Code? Open in Web Editor NEWA python script that automatically updates the ip address of a Domain Name registered at 1 and 1 whenever the server's IP address changes.
A python script that automatically updates the ip address of a Domain Name registered at 1 and 1 whenever the server's IP address changes.
Hello
I don't find any script to update automaticly the ip on 1and1.
I'm getting few issues with the script.
With ipcheck.py
Traceback (most recent call last):
File "ipcheck.py", line 176, in <module>
sys.exit(main())
File "ipcheck.py", line 169, in main
ipCheck()
File "ipcheck.py", line 96, in ipCheck
except URLError, e:
NameError: global name 'URLError' is not defined
and with 1and1.py
Traceback (most recent call last):
File "1and1.py", line 41, in <module>
req = br.click_link(text='1&1 Home Linux')
File "/usr/local/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 553, in click_link
link = self.find_link(**kwds)
File "/usr/local/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 620, in find_link
raise LinkNotFoundError()
mechanize._mechanize.LinkNotFoundError
Thanks in advance for your help.
Seems like their website has changed, I think the tool is just outdated.
~$ python 1and1.py
1and1.py:18: UserWarning: gzip transfer encoding is experimental!
br.set_handle_gzip(True)
https://my.1and1.com:443/;jsessionid=B44376B442B6F04CC81C0A4526EC5249.TCpfix332a?__reuse=1409789709968
https://my.1and1.com/dashboard-preloading;jsessionid=B44376B442B6F04CC81C0A4526EC5249.TCpfix332a
Traceback (most recent call last):
File "1and1.py", line 41, in <module>
req = br.click_link(text='1&1 Home Linux')
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 553, in click_link
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 620, in find_link
mechanize._mechanize.LinkNotFoundError
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.