Permalink
Browse files

Add mimeType to Google Scholar snapshots (#1758)

  • Loading branch information...
adomasven authored and dstillman committed Oct 8, 2018
1 parent 686ee8c commit 5011d0d199dbd0336d3c42c77a34f8165017d2fb
Showing with 3 additions and 2 deletions.
  1. +3 −2 Google Scholar.js
View
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2018-01-27 15:12:16"
"lastUpdated": "2018-10-08 07:50:18"
}
// attr()/text() v2
@@ -233,7 +233,8 @@ function scrapeIds(doc, ids) {
if (titleLink) {
item.attachments.push({
url: titleLink,
title: "Snapshot"
title: "Snapshot",
mimeType: "text/html"
});
}
//attach linked document as attachment if available

0 comments on commit 5011d0d

Please sign in to comment.