Поправил дебаг

This commit is contained in:
Book Pauk
2019-01-23 01:00:41 +07:00
parent 3e48422530
commit 3e5600c8af

View File

@@ -26,7 +26,7 @@ class BookConverter {
const parsedUrl = new URL(url); const parsedUrl = new URL(url);
if (parsedUrl.hostname == 'samlib.ru' || if (parsedUrl.hostname == 'samlib.ru' ||
parsedUrl.hostname == 'budclub.ru') { parsedUrl.hostname == 'budclub.ru') {
await fs.writeFile(outputFile, await this.convertHtml(data)); await fs.writeFile(outputFile, await this.convertSamlib(data));
return; return;
} }