Move "Getting page" log line to before `urlopen()` is called

The reason is that if any exception is raise,
the log line is not placed properly.