Работа над Fb2Parser
This commit is contained in:
@@ -53,7 +53,8 @@ class Fb2Parser {
|
|||||||
async getDescAndCover(bookFile) {
|
async getDescAndCover(bookFile) {
|
||||||
let data = await fs.readFile(bookFile);
|
let data = await fs.readFile(bookFile);
|
||||||
data = await utils.gunzipBuffer(data);
|
data = await utils.gunzipBuffer(data);
|
||||||
//data = this.checkEncoding(data);
|
|
||||||
|
data = this.checkEncoding(data);
|
||||||
|
|
||||||
const xml = new XmlParser();
|
const xml = new XmlParser();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user