diff options
author | anekos | 2010-05-07 20:22:09 +0000 |
---|---|---|
committer | anekos | 2010-05-07 20:22:09 +0000 |
commit | 97d9598ec888c6c4a0920601631d45a4f5ea3e21 (patch) | |
tree | f7de383fa6a4ce631bf76d95ad88cf21fbb4ccdc | |
parent | 8c136e63ae9ef1d641b8f6240bbeb92f4e46700c (diff) | |
download | vimperator-plugins-97d9598ec888c6c4a0920601631d45a4f5ea3e21.tar.bz2 |
コミットメッセージ考えるのがめんどくさいです
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37420 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | stella.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -934,10 +934,14 @@ Thanks: get pageinfo () { let doc = content.document; + let wd = doc.querySelector('#watch-description > div > span > span.watch-video-date'); + let desc = wd.nextSibling; + while (desc && desc.tagName != 'SPAN') + desc = desc.nextSibling; return [ [ 'comment', - doc.querySelector('#watch-description > div > span > span > a').nextSibling.textContent.trim() + desc ? desc.textContent.trim() : '' ], [ 'tags', |