stumptown-content icon indicating copy to clipboard operation
stumptown-content copied to clipboard

[scraper] use the document API to get raw content

Open wbamberg opened this issue 6 years ago • 1 comments

Currently the scraper gets:

  • pre-macro content from: https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Element/progress?raw
  • post-macro content from: https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Element/progress?raw&macros

But both are available from https://developer.mozilla.org/api/v1/doc/en-US/Web/HTML/Element/progress . So we should use that instead.

wbamberg avatar Oct 25 '19 00:10 wbamberg

It also means we can drop things like removeNode(dom, 'section.Quick_links');

peterbe avatar Oct 25 '19 12:10 peterbe