| Plagger documentation | view source | Contained in the Plagger distribution. |
Plagger::Cookies - cookie_jar factory class
# config.yaml: Firefox's cookies.txt
global:
user_agent:
cookies: /path/to/cookies.txt
# or more verbosely
global:
user_agent:
cookies:
type: Safari
file: /path/to/Cookies.plist
autosave: 1
Plagger::Cookies is a factory class to create HTTP::Cookies subclass instances by detecting the proper subclass using its filename (and possibly magic, if the filename format is share amongst multiple subclasses, eventually).
Thanks to brian d foy and Gisle Aas for creating HTTP::Cookies::* subclass modules.
Tatsuhiko Miyagawa
| Plagger documentation | view source | Contained in the Plagger distribution. |