Added profile scraper with releases to Hush. Added qtexts to q to return text nodes individually. Including network in profile site.
This commit is contained in:
@@ -5,6 +5,11 @@ function inchesToCm(inches) {
|
||||
}
|
||||
|
||||
function feetInchesToCm(feet, inches) {
|
||||
if (typeof feet === 'string' && !inches) {
|
||||
const [feetPart, inchesPart] = feet.match(/\d+/g);
|
||||
return feetInchesToCm(feetPart, inchesPart);
|
||||
}
|
||||
|
||||
return Math.round((Number(feet) * 30.48) + (Number(inches) * 2.54));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user