Does the script print the results to the screen?
And are you letting it run to completion? When I run
it, it takes a while to complete, as there's a sleep()
call in there to prevent the site from thinking you're
a robot - if you abort too early, the file indeed
may be empty due to buffering. Try getting, say, the
first 5 results, and let it run to completion.