Skip to content

Instantly share code, notes, and snippets.

@poppen
Created March 10, 2009 09:14
Show Gist options
  • Save poppen/76823 to your computer and use it in GitHub Desktop.
Save poppen/76823 to your computer and use it in GitHub Desktop.
--- kojii_net.yaml.orig 2006-08-19 12:30:33.000000000 +0900
+++ kojii_net.yaml 2009-03-10 18:13:00.000000000 +0900
@@ -5,5 +5,5 @@
handle: http://www\.kojii\.net/\w+/\w+\d+\.html$
extract_xpath:
# title: /html/head//title
- body: /html/body//table
+ body: /html/body//table//table//td[1]
#extract_after_hook: $data->{title} =~ s|</?TITLE>||ig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment