We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da67668 commit 14e9cc3Copy full SHA for 14e9cc3
utils/helper.js
@@ -114,6 +114,8 @@ module.exports = {
114
const keys = $(".ubhypers");
115
const values = $(".dhypers");
116
const downloadPdfLink = $("#downloadpdf a")[0]?.attribs.href;
117
+ let pagesLabel = $(".ubhypers:contains('Pages')");
118
+ let pagesValue = pagesLabel.parent().next().find(".dhypers").text();
119
let contentType = "zip";
120
function addOtherMetaData(limit, keys, values, PNdetails) {
121
let value;
@@ -187,8 +189,8 @@ module.exports = {
187
189
PNdetails.pdfUrl = `http://www.panjabdigilib.org/webuser/searches/${downloadPdfLink}`;
188
190
}
191
PNdetails.contentType = contentType;
192
+ PNdetails.Pages = pagesValue;
193
delete PNdetails[""];
-
194
return PNdetails;
195
},
196
0 commit comments