Refactoring deep scrape. Added tag posters.

This commit is contained in:
2020-03-16 04:10:52 +01:00
parent c8ebe7892a
commit 0f09fd53eb
31 changed files with 851 additions and 589 deletions

View File

@@ -155,7 +155,7 @@ async function scrapeProfile(html, actorUrl, withReleases) {
const bio = qa('.stat').reduce((acc, el) => {
const prop = q(el, '.label', true).slice(0, -1);
const key = slugify(prop, { delimiter: '_' });
const key = slugify(prop, '_');
const value = q(el, '.value', true);
return {