开发者

Wget data from a script

开发者 https://www.devze.com 2023-03-06 05:04 出处:网络
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 confirma

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号