metalsmith to scrape content from classeur
Highlights:
See the annotated source or github repo
npm i --save github:leviwheatcroft/metalsmith-classeur
Metalsmith('src')
.use(
classeur({
userId: 'aH7WHo2HQFrX5CHbGZx4',
apiKey: '9aXKQnP2UjjEeSSUcyGCMAOhnm4Vsf8u',
srcId: 'EKZEhM2Ju4EJHHeqNFOG',
destPath: 'articles',
invalidateCache: true
})
)
.build( ... )
srcId
{String} (required) id of classeur folder you wish to scrape (get this from the shareable url for the folderdestPath
{String} (required) the path under which you want to place the scraped filesuserId
{String} (required) userId from classeurapiKey
{String} (required) apiKey from classeurLevi Wheatcroft levi@wht.cr
Contributions welcome; Please submit all pull requests against the master branch.