Wget data from a script
Here's an example website:
http://www.indianyellowpages.com/business-services/advertising/
When you c开发者_如何学Click any of the 'View Contact Details' buttons (and register, no e-mail confirmation needed), a small window pops up. How would I download data from this window using wget (or curl)?
EDIT: Or perl.
You can do this with either wget or curl. or Perl.
The correct procedure would first involve you recording a "manual" session to figure out exactly what requests your browser sends to achieve what it's doing. Then you convert that into the proper wget or curl command line or perl script. Or whatever.
精彩评论