This is a simple script which lets you scrape an OKC conversation.
-
Make yourself an
auth.ini
file that looks like this:[auth] username=your_username password=your_password
-
Run either
./archive URL_TO_CONVERSATION
to archive a single conversation, or./archive -a
to archive all your conversations. -
Celebrate! The
messages/
directory will contain your conversations! They will be named after the user you're talking to, and contain the thread ID from the URL.
The code could do with refactoring. And tests. And quality control.
- Perl (5.10.0 or later)
- Config::Tiny
- WWW::Mechanize
- utf8::all
Same as Perl 5 itself.