それマグで!

知識はカップより、マグでゆっくり頂きます。 takuya_1stのブログ

習慣に早くから配慮した者は、 おそらく人生の実りも大きい。

XPATH のパス名を取り出せるので、HTMLドキュメント中の要素の文字列の量を計算する

HTML の要素を取り出したものからXpathを作りたい

/html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[4]

みたいな、XPATHを取り出していきたい

node = Nokogiri::HTML( html_doc ).search("#footer") #

ノードを取得すると

node.path

これだけで、バッチリPathを取り出せる

ためしに、このブログの要素を全部Pathにして

テキストの量でPathを取り出した。

>> print m.page.search("body *").map{|e| [e.text.size,e.path]}.sort_by{|e| e[0] }.map{|e| e[0] = (e[0].to_s.rjust(5));  e.join(', ') }.join("\n")
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[17]/div[2]/br
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[16]/div[2]/iframe
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[15]/div[2]/a/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[15]/div[2]/a
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[14]/div[2]/a/img
    0, /html/body/div[2]/img[1]
    0, /html/body/div[2]/img[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[14]/div[2]/a
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[13]/div[2]/a/img
    0, /html/body/div[4]/iframe
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[13]/div[2]/a
    0, /html/body/div[6]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[12]/div[2]/a/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[12]/div[2]/a
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]/a[1]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]/a[1]/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[2]/div/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[2]/div/a/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]/div[1]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]/div[2]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[4]/script[2]
    0, /html/body/script[8]
    0, /html/body/div[5]/div/div[1]/meta
    0, /html/body/script[7]
    0, /html/body/script[6]
    0, /html/body/script[5]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/form/input[2]
    0, /html/body/script[3]
    0, /html/body/script[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[8]/div[2]/form/input[1]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[3]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[3]/span
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[5]/div[2]/script[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[5]/div[2]/div
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/div/u
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[3]/span/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[8]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[4]/div
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[8]/span
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/div/i
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[3]/br[3]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[3]/br[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[3]/br[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/a/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[4]/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[8]/span/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]/div[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/br
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]/a[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[3]/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]/div[1]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]/a[1]/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[2]/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]/a[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]/a[1]/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]/div[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[1]/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[1]
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]/div[2]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[2]/div[2]/a/img
    0, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[4]/div
    0, /html/body/div[5]/div/script
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[18]/div[2]/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[18]/div[2]/a/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/form/input[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/ins
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/script[1]
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/br
    0, /html/body/footer/div/address/a/img
    0, /html/body/div[5]/div/div[2]/div/aside/div/div[8]/div[2]/form/input[2]
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time/span[4]
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[7]/div[2]/script
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time/span[2]
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[2]/div[2]/a
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time/span[2]
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[18]/div[2]/a
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[2]/div/a
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time/span[4]
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time/span[4]
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[4]
    1, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time/span[2]
    1, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]/a[3]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time/span[3]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time/span[5]
    2, /html/body/div[5]/div/div[3]/script[2]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time/span[5]
    2, /html/body/div[5]/div/div[1]/script[3]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time/span[5]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[4]
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time/span[3]
    2, /html/body/div[5]/div/div[2]/div/aside/div/div[7]/div[1]
    2, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/form
    2, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time/span[3]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[1]/a[2]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[1]/a[2]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[2]/a
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h3/a[1]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h3/a[2]
    3, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[2]/div
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[4]/a[1]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[4]/a[3]
    3, /html/body/div[5]/div/div[2]/div/aside/div/div[11]/div[2]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[4]/a[4]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[5]/a[1]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[5]/a[2]
    3, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[2]/a
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[3]
    4, /html/body/div[4]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time/span[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time/span[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[1]/a[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[1]/a[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time/span[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[1]/a[1]
    4, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[4]/a[2]
    5, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]/a[2]
    5, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[1]/a
    5, /html/body/div[5]/div/div[2]/div/aside/div/div[11]/div[1]/a
    5, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]/a[2]
    5, /html/body/div[5]/div/div[2]/div/div/div/div/div/span/a
    5, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[1]/span[1]
    5, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[1]/a
    5, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]/a[2]
    5, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[2]/span[2]
    5, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[2]/span[1]
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/h2[1]/a
    6, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[1]
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[6]/a
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[1]/a[2]
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[3]/a[2]
    6, /html/body/div[5]/div/header/div/h1
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[5]
    6, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[3]/a[1]
    6, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[1]/span[2]
    6, /html/body/div[5]/div/header/div/h1/a
    6, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[1]
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[1]
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[6]/a
    7, /html/body/div[5]/div/div[2]/div/aside/div/div[13]/div[1]
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[6]/a
    7, /html/body/div[5]/div/div[2]/div/aside/div/div[18]/div[2]
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[6]/a
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[1]
    7, /html/body/div[5]/div/div[2]/div/aside/div/div[8]/div[2]/form
    7, /html/body/div[2]
    7, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[1]
    7, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/a
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[6]/a
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[14]/div[2]
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[5]/a
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[2]/div[1]
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[13]/div[2]
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[15]/div[2]
    8, /html/body/div[5]/div/div[2]/div/aside/div/div[12]/div[2]
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[4]/a
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[6]/ul/li
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[6]/ul/li/a
    9, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[4]/a
    9, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/div/span
    9, /html/body/div[5]/div/div[2]/div/div/aside/div
    9, /html/body/div[5]/div/div[2]/div/aside/div/div[16]/div[2]
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[6]/ul/li/a
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[6]/ul/li
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[6]/ul/li/a
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[6]/ul/li
    9, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[4]/a
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p/span[1]
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[3]/a
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[12]/div[1]
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[2]/a
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p/span[1]/span
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p/span[1]
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p/span[1]/span
   10, /html/body/footer/div/address/a/span
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p/span[1]
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[18]/div[1]
   10, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p/span[1]/span
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[15]/div[1]
   10, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[1]
   11, /html/body/div[5]/div/div[2]/div/aside/div/div[9]/div[2]
   11, /html/body/footer/div/p/a
   11, /html/body/div[5]/div/div[2]/div/aside/div/div[2]/div[2]
   11, /html/body/div[5]/div/div[2]/div/aside/div/div[16]/div[1]
   11, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[5]/iframe
   11, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[5]/iframe
   11, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[5]/iframe
   11, /html/body/div[5]/div/div[2]/div/aside/div/div[14]/div[1]
   13, /html/body/div[5]/div/div[2]/div/aside/div/div[11]/div[1]
   13, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/span/a
   13, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/span/a/span
   14, /html/body/div[1]/div/a
   14, /html/body/div[5]/div/div[2]/div/aside/div/div[3]/div[2]
   14, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[7]/a
   14, /html/body/div[1]/div
   14, /html/body/div[5]/div/div[2]/div/aside/div/div[17]/div[1]
   15, /html/body/div[5]/div/div[2]/div/aside/div/div[8]/div[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p/span[2]/a
   16, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p/span[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p/span[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p/span[2]/a
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p/span[2]/a/time
   16, /html/body/div[5]/div/div[2]/div/aside/div/div[5]/div[1]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p/span[2]/a/time
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[2]
   16, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[1]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p/span[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p/span[2]/a
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[2]
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p/span[2]/a/time
   16, /html/body/div[5]/div/div[2]/div/div/aside
   16, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[2]
   17, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[1]
   17, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[1]
   17, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[1]
   17, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[1]/a
   17, /html/body/footer/div/address/a
   18, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[9]
   18, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h2[2]
   19, /html/body/div[5]/div/div[2]/div/aside/div/div[7]/div[2]/noscript/a
   19, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[2]/a
   19, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[1]/a
   19, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/h1/a
   19, /html/body/div[5]/div/div[2]/div/aside/div/div[7]/div[2]/noscript
   21, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a/time
   21, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[5]/a
   21, /html/body/div[3]
   21, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[8]/div/a
   21, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a/time
   21, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[5]
   21, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a/time
   22, /html/body/footer/div/p
   23, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[7]
   23, /html/body/div[5]/div/div[2]/div/aside/div/div[11]
   23, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/h2[3]
   23, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[1]
   23, /html/body/div[5]/div/div[2]/div/aside/div/div[8]/div[1]
   24, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[4]
   24, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[10]/div/a
   24, /html/body/div[5]/div/div[2]/div/aside/div/div[13]
   25, /html/body/div[1]
   26, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/h2[1]
   26, /html/body/div[5]/div/div[2]/div/aside/div/div[18]
   26, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/h2[2]
   26, /html/body/div[5]/div/div[2]/div/aside/div/div[9]
   27, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[2]/div/a
   27, /html/body/div[5]/div/div[2]/div/aside/div/div[12]
   27, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/h3
   27, /html/body/div[5]/div/div[2]/div/aside/div/div[15]
   27, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[1]
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[12]/div/a
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[14]
   28, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[1]
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[6]
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[2]
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[7]/div[2]
   28, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[5]
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[16]
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[6]/div/a
   29, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/pre[3]
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[15]/div/a
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[14]/div/a
   29, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[6]/ul
   29, /html/body/script[4]
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[13]/div/a
   29, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[6]/ul
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]/p[3]
   29, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[6]/ul
   29, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[4]
   30, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[3]
   30, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[2]
   30, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[9]/div/a
   30, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[1]
   31, /html/body/script[9]
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[2]
   32, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[17]/div/a
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]/a
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]/a
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[2]/a
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/h1/a
   32, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]/a
   33, /html/body/div[5]/div/div[2]/div/aside/div/div[3]
   33, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[3]
   33, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[1]
   34, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[19]/div/a
   34, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[11]/div/a
   34, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[7]
   34, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[6]
   34, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[4]
   35, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[20]/div/a
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[2]/a
   35, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[7]/div/a
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[11]/a
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[11]
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[10]/iframe/a
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[10]/iframe
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[10]
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/h1/a
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[2]
   35, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/h1
   36, /html/body/footer/div/address
   36, /html/body/div[5]/div/header/div/h2
   36, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[5]/div/a
   37, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[6]
   37, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul/li[1]
   39, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[4]/div/a
   39, /html/body/div[5]/div/div[2]/div/aside/div/div[7]
   40, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[5]
   40, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[1]/div/a
   41, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[2]
   41, /html/body/div[5]/div/div[2]/div/div/div/div/div/span
   42, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a/span[1]
   43, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/div
   43, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[3]/div/a
   43, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[16]/div/a
   45, /html/body/div[5]/div/div[2]/div/aside/div/div[8]
   47, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[3]
   48, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/div[1]
   48, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header/div[1]
   48, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header/h1
   48, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/div[1]
   48, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[2]
   49, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[5]
   49, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[5]
   49, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[5]
   50, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/span
   51, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/p
   51, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[2]
   51, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header/h1
   51, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/p
   51, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/p
   52, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]/script[2]
   56, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/pre[1]
   56, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div/p[7]
   61, /html/body/div[5]/div/div[2]/div/aside/div/div[1]/div[2]
   61, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[5]
   61, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/p[2]
   62, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[3]
   62, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[3]
   62, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[3]
   67, /html/body/div[5]/div/header/div
   68, /html/body/div[5]/div/header
   70, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[6]
   70, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[6]
   70, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[6]/a
   70, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[6]
   70, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[6]
   70, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[18]/div/a
   71, /html/body/footer/div
   72, /html/body/footer
   73, /html/body/div[5]/div/div[2]/div/div/div/div/div
   76, /html/body/div[5]/div/div[2]/div/aside/div/div[1]
   81, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[1]
   82, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[8]/div
   85, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[10]/div
   86, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/p[4]
   87, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div/pre[2]
   88, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[2]/div
   89, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[12]/div
   90, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[14]/div
   90, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[15]/div
   90, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[13]/div
   90, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[6]/div
   91, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[9]/div
   93, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[17]/div
   94, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[8]
   95, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[19]/div
   95, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[11]/div
   96, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[7]/div
   96, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[20]/div
   97, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[5]/div
   97, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[10]
  100, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[2]
  100, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[4]/div
  101, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[12]
  101, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[1]/div
  102, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[13]
  102, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[6]
  102, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[15]
  102, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[14]
  103, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[9]
  104, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[3]/div
  104, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[16]/div
  105, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[17]
  107, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[19]
  107, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[11]
  108, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]/a
  108, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[20]
  108, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[7]
  109, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[5]
  112, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[4]
  113, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[1]
  116, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[16]
  116, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[3]
  129, /html/body/div[5]/div/div[1]/script[1]
  131, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[18]/div
  132, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/header
  143, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul/li[18]
  145, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/header
  148, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/header
  158, /html/body/div[5]/div/div[1]/script[2]
  161, /html/body/div[5]/div/div[3]/script[1]
  170, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]/div[2]
  176, /html/body/div[5]/div/div[3]
  201, /html/body/div[5]/div/div[2]/div/aside/div/div[5]/div[2]/script[1]
  206, /html/body/div[5]/div/div[2]/div/aside/div/div[5]/div[2]
  231, /html/body/div[5]/div/div[2]/div/aside/div/div[5]
  246, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[4]/script[1]
  251, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer/div[4]
  287, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[4]/script
  291, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[4]/script
  292, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/pre[2]
  324, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]/ul
  329, /html/body/div[5]/div/div[2]/div/aside/div/div[6]/div[2]
  352, /html/body/div[5]/div/div[2]/div/aside/div/div[6]
  353, /html/body/script[10]
  392, /html/body/div[5]/div/div[2]/div/aside/div/div[4]/div[2]
  416, /html/body/div[5]/div/div[2]/div/aside/div/div[4]
  418, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/div
  423, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer/div[4]
  427, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer/div[4]
  494, /html/body/script[1]
  548, /html/body/div[5]/div/div[2]/div/aside/div/div[17]/div[2]
  560, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/div
  571, /html/body/div[5]/div/div[2]/div/aside/div/div[17]
  624, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div/footer
  650, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div/pre[1]
  810, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/footer
  817, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div/footer
 1290, /html/body/div[5]/div/div[1]/script[4]
 1326, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]/div
 1327, /html/body/div[5]/div/div[2]/div/div/div/div/article[2]
 1370, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div/div
 1393, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]/div
 1394, /html/body/div[5]/div/div[2]/div/div/div/div/article[3]
 1622, /html/body/div[5]/div/div[1]
 2335, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]/div
 2336, /html/body/div[5]/div/div[2]/div/div/div/div/article[1]
 2398, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]/ul
 2403, /html/body/div[5]/div/div[2]/div/aside/div/div[10]/div[2]
 2437, /html/body/div[5]/div/div[2]/div/aside/div/div[10]
 3426, /html/body/script[11]
 4702, /html/body/div[5]/div/div[2]/div/aside/div
 4703, /html/body/div[5]/div/div[2]/div/aside
 5258, /html/body/div[5]/div/div[2]/div/div/div/div
 5274, /html/body/div[5]/div/div[2]/div/div/div
 5312, /html/body/div[5]/div/div[2]/div/div
10026, /html/body/div[5]/div/div[2]/div
10030, /html/body/div[5]/div/div[2]
11951, /html/body/div[5]/div
11963, /html/body/div[5]=> nil
広告を非表示にする