Fix URL prefix, to avoid extraneous redirects.
Add referer=1, ajax=1 to all GET/POST requests.
More readable extraction (rx/pq) callback.