l0o0 / translators_CN

Zotero translator中文网页抓取翻译器🎉This is Zotero translators for Chinese Sites(beta), not the official Zotero repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

国家科技图书文献中心/National Science and Technology Library/NSTL

doubanchan opened this issue · comments

你遇到了什么问题? [必填]

  • 无法识别条目

发生问题的链接 [必填]
链接

问题描述 [必填]
如:“作者”字段没有分开。
在Firefox、Chrome均未识别;在编辑器Scaffold上“TranslatorTester: National Science and Technology Library - China Test 1: failed (Detection failed)

你的预期结果
如:“作者”名字应该分开。

浏览器

  • Chrome(谷歌浏览器)
  • FireFox(火狐浏览器)
  • Scaffold

自查清单

  • 我已经按照教程将翻译器更新到最新版

其他
似乎无有效的调试信息;否能解释下detectWeb,不了解monitorDOMChanges。

Edge 未能复现以上错误。
image
image

加了一行 Z.debug( typeof zhType );,Scaffold中结果是 undefined

否能解释下detectWeb,不了解monitorDOMChanges。

monitorDOMChanges(),第一个参数是要监测的Element,第二个参数是监测属性,当第一个参数的Element发生第二个参数所描述的变化时,再次触发detectWeb()重新判断页面类型,用于在动态加载的页面等待相关元素加载出来。

在Firefox、Chrome均未识别;在编辑器Scaffold上“TranslatorTester: National Science and Technology Library - China Test 1: failed (Detection failed)
加了一行 Z.debug( typeof zhType );,Scaffold中结果是 undefined

说明在你的页面中未获取到“期刊论文”这几个字,你打开dev tools看一下,标题前面的“【期刊论文】”这几个字应该是什么selector

@doubanchan 这个问题还存在吗?