Perl & LWP
Sean M. Burke
下單後立即進貨 (約1週~2週)
買這商品的人也買了...
-
$1,250$1,188 -
$1,050$998 -
$640$608 -
$2,170$2,062 -
$980$833 -
$990$970 -
$980$931 -
$2,200$2,090 -
$1,630$1,549 -
$1,300$1,235 -
$720$612 -
$1,630$1,549 -
$1,150$1,093 -
$590$466 -
$690$538 -
$720$612 -
$750$638 -
$560$476 -
$750$638 -
$650$507 -
$1,150$1,093 -
$650$507 -
$550$468 -
$299$254 -
$1,925$1,829
相關主題
商品描述
The Web is a vast data source that contains everything from stock prices to movie credits, and with LWP all that data is just a few lines of code away. Anything you do on the Web, whether it's buying or selling, reading or writing, uploading or downloading, news to e-commerce, can be controlled with Perl and LWP. You can automate Web-based purchase orders as easily as you can set up a program to download MP3 files from a web site.
Perl & LWP covers:
- Understanding LWP and its design
- Fetching and analyzing URLs
- Extracting information from HTML using regular expressions and
tokens
- Working with the structure of HTML documents using trees
- Setting and inspecting HTTP headers and response codes
- Managing cookies
- Accessing information that requires authentication
- Extracting links
- Cooperating with proxy caches
- Writing web spiders (also known as robots) in a safe fashion
Perl & LWP includes many step-by-step examples that show how
to apply the various techniques. Programs to extract information from the web
sites of BBC News, Altavista, ABEBooks.com, and the Weather Underground, to name
just a few, are explained in detail, so that you understand how and why they
work.
Perl programmers who want to automate and mine the web can pick up
this book and be immediately productive. Written by a contributor to LWP, and
with a foreword by one of LWP's creators, Perl & LWP is the
authoritative guide to this powerful and popular toolkit
Table of Contents
Foreword
Preface
1. Introduction to Web Automation
2. Web Basics
3. The LWP Class Model
4. URLs
5. Forms
6. Simple HTML Processing with Regular Expressions
7. HTML Processing with Tokens
8. Tokenizing Walkthrough
9. HTML Processing with Trees
10. Modifying HTML with Trees
11. Cookies, Authentication, and Advanced Requests
12. Spiders
A. LWP Modules
B. HTTP Status Codes
C. Common MIME Types
D. Language Tags
E. Common Content Encodings
F. ASCII Table
G. User's View of Object-Oriented Modules
Index