If you want to use Python scripting with ELinks add
--with-python to the configure invocation copy hooks.py to ~/.elinks

For the present hooks.py is not very usable. You are welcome to make it better.
Good Luck!
