l0o0 / translators_CN

Zotero translator中文网页抓取翻译器🎉This is Zotero translators for Chinese Sites(beta), not the official Zotero repo
GNU Affero General Public License v3.0
3.98k stars 521 forks source link

Jd/京东 #361

Open doubanchan opened 3 weeks ago

doubanchan commented 3 weeks ago

你想添加的功能 [必填]

doubanchan commented 3 weeks ago

(1)修改url代码
newItem.url = url; 替换为 newItem.url = attr(document, 'link[rel="canonical"]', 'href').replace(/^\/\//, 'https://');

jiaojiaodubai commented 1 week ago

“非书籍页面”和“出版社未识别正确”可否提供案例?

doubanchan commented 1 week ago

“非书籍页面”和“出版社未识别正确”可否提供案例?

(3)出版社未正确识别: 例子,“品牌”覆盖了“出版社” (2)非书籍页面 例子,应该不需要匹配非书籍(虽然京东也有少量的CD)页面