Update gen_example.py

Added in query URL printing for debugging purposes.