Added MindGeek profile scraper for all MG sites.

This commit is contained in:
2020-01-27 22:54:14 +01:00
parent 24fe61e064
commit 6d4fd5fd77
11 changed files with 124 additions and 23 deletions

View File

@@ -1,5 +1,9 @@
'use strict';
function inchesToCm(inches) {
return Math.round(Number(inches) * 2.54);
}
function feetInchesToCm(feet, inches) {
return Math.round((Number(feet) * 30.48) + (Number(inches) * 2.54));
}
@@ -33,6 +37,7 @@ module.exports = {
cmToFeetInches,
feetInchesToCm,
heightToCm,
inchesToCm,
lbsToKg,
kgToLbs,
};