Returning the cleaned body of the article.
Activity
oyeanuj commentedon Jul 16, 2016
I'd be super interested in this!
mikuhl-dev commentedon Jul 29, 2018
Yes please!
[-]add `body` property[/-][+]Add `body` property[/+]julianpinedayyz commentedon Oct 6, 2019
+1
janzheng commentedon May 19, 2020
I modified the code a bit and saved it into a separate function and it works like a charm:
and then when I run metascraper:
The reason I had to modify
composeRuleis because the regular helper has avalidatorfunction that filters out "foreign" keys likebodyvpul commentedon Jun 18, 2020
Made a slight change to @janzheng 's code. Return
data[from]only if data exists. Without this, the function crashes on non-article urls.