download web pages that are updated by ajax

J

Jabba Laci

Hi,

I want to download a web page that is updated by AJAX. The page
requires no human interaction, it is updated automatically:
http://www.ncbi.nlm.nih.gov/nuccore/CP002059.1

If I download it with wget, I get a file of size 97 KB. The source is
full of AJAX calls, i.e. the content of the page is not expanded.
If I open it in a browser and save it manually, the result is a file
of almost 5 MB whose content is expanded.

(1) How to download such a page with Python? I need the post-AJAX
version of the page.
(2) Can it be done with wget or some other command-line utility? I
would be interested in that too.

Thanks,

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top