Loading...
Loading...
Compare original and translation side by side
kns.cnki.netkns.cnki.netmcp__chrome-devtools__take_snapshotmcp__chrome-devtools__take_snapshotmcp__chrome-devtools__evaluate_script() => {
const rows = document.querySelectorAll('.result-table-list tbody tr');
const checkboxes = document.querySelectorAll('.result-table-list tbody input.cbItem');
const results = Array.from(rows).map((row, index) => {
const nameCell = row.querySelector('td.name');
const titleLink = nameCell?.querySelector('a.fz14');
const authorCell = row.querySelector('td.author');
const sourceCell = row.querySelector('td.source');
const dateCell = row.querySelector('td.date');
const dataCell = row.querySelector('td.data');
const quoteCell = row.querySelector('td.quote');
const downloadCell = row.querySelector('td.download');
const isOnlineFirst = !!nameCell?.querySelector('.marktip');
return {
number: index + 1,
title: titleLink?.innerText?.trim() || '',
url: titleLink?.href || '',
exportId: checkboxes[index]?.value || '',
authors: Array.from(authorCell?.querySelectorAll('a.KnowledgeNetLink') || []).map(a => a.innerText?.trim()),
journal: sourceCell?.querySelector('a')?.innerText?.trim() || '',
date: dateCell?.innerText?.trim() || '',
database: dataCell?.innerText?.trim() || '',
citations: quoteCell?.innerText?.trim() || '',
downloads: downloadCell?.innerText?.trim() || '',
isOnlineFirst: isOnlineFirst
};
});
const totalText = document.querySelector('.pagerTitleCell')?.innerText || '';
const totalMatch = totalText.match(/([\d,]+)/);
const pageInfo = document.querySelector('.countPageMark')?.innerText || '';
return {
papers: results,
totalCount: totalMatch ? totalMatch[1] : 'unknown',
pageInfo: pageInfo
};
}mcp__chrome-devtools__evaluate_script() => {
const rows = document.querySelectorAll('.result-table-list tbody tr');
const checkboxes = document.querySelectorAll('.result-table-list tbody input.cbItem');
const results = Array.from(rows).map((row, index) => {
const nameCell = row.querySelector('td.name');
const titleLink = nameCell?.querySelector('a.fz14');
const authorCell = row.querySelector('td.author');
const sourceCell = row.querySelector('td.source');
const dateCell = row.querySelector('td.date');
const dataCell = row.querySelector('td.data');
const quoteCell = row.querySelector('td.quote');
const downloadCell = row.querySelector('td.download');
const isOnlineFirst = !!nameCell?.querySelector('.marktip');
return {
number: index + 1,
title: titleLink?.innerText?.trim() || '',
url: titleLink?.href || '',
exportId: checkboxes[index]?.value || '',
authors: Array.from(authorCell?.querySelectorAll('a.KnowledgeNetLink') || []).map(a => a.innerText?.trim()),
journal: sourceCell?.querySelector('a')?.innerText?.trim() || '',
date: dateCell?.innerText?.trim() || '',
database: dataCell?.innerText?.trim() || '',
citations: quoteCell?.innerText?.trim() || '',
downloads: downloadCell?.innerText?.trim() || '',
isOnlineFirst: isOnlineFirst
};
});
const totalText = document.querySelector('.pagerTitleCell')?.innerText || '';
const totalMatch = totalText.match(/([\d,]+)/);
const pageInfo = document.querySelector('.countPageMark')?.innerText || '';
return {
papers: results,
totalCount: totalMatch ? totalMatch[1] : 'unknown',
pageInfo: pageInfo
};
}CNKI search results ({totalCount} total, page {pageInfo}):
1. {title} {isOnlineFirst ? "[网络首发]" : ""}
Authors: {authors joined by "; "}
Journal: {journal} | Date: {date} | Type: {database}
Citations: {citations} | Downloads: {downloads}
URL: {url}
2. ...CNKI search results ({totalCount} total, page {pageInfo}):
1. {title} {isOnlineFirst ? "[网络首发]" : ""}
Authors: {authors joined by "; "}
Journal: {journal} | Date: {date} | Type: {database}
Citations: {citations} | Downloads: {downloads}
URL: {url}
2. ...mcp__chrome-devtools__take_snapshotcheckboxStaticTextlinkkcms2/article/abstractlinkkcms2/author/detaillinknavi.cnki.net/knavi/detailStaticTextStaticTextmcp__chrome-devtools__take_snapshotcheckboxStaticTextkcms2/article/abstractlinkkcms2/author/detaillinknavi.cnki.net/knavi/detaillinkStaticTextStaticText| Data | Selector | Notes |
|---|---|---|
| Table | | Each row = one paper |
| Checkbox | | value = export encrypted ID |
| Number | | Row sequence number |
| Title | | Paper title link |
| Authors | | Author name links |
| Journal | | Journal/source link |
| Date | | Publication date text |
| DB Type | | Database type (期刊/学位论文) |
| Citations | | Citation count |
| Downloads | | Download count |
| Online 1st | | "网络首发" label |
| Total | | "共找到 X 条结果" |
| Page | | "1/300" format |
| 数据 | 选择器 | 备注 |
|---|---|---|
| 表格 | | 每行对应一篇论文 |
| 复选框 | | value = 导出加密ID |
| 编号 | | 行序号 |
| 标题 | | 论文标题链接 |
| 作者 | | 作者姓名链接 |
| 期刊 | | 期刊/来源链接 |
| 日期 | | 出版日期文本 |
| 数据库类型 | | 数据库类型(期刊/学位论文) |
| 引用量 | | 引用次数 |
| 下载量 | | 下载次数 |
| 网络首发 | | “网络首发”标签 |
| 总数 | | “共找到 X 条结果” |
| 页码 | | “1/300”格式 |