import { githubExtractor } from "../site-extractors/github.js";
import { stackoverflowExtractor } from "../site-extractors/stackoverflow.js";
import { mdnExtractor } from "../site-extractors/mdn.js";
import { docsGenericExtractor } from "../site-extractors/docs-generic.js";
import { redditExtractor } from "../site-extractors/reddit.js";
import { youtubeExtractor } from "../site-extractors/youtube.js";
import { amazonExtractor } from "../site-extractors/amazon.js";
const siteExtractors = [
  githubExtractor,
  stackoverflowExtractor,
  mdnExtractor,
  docsGenericExtractor,
  redditExtractor
];
function registerSiteExtractor(extractor) {
  siteExtractors.push(extractor);
}
function getSiteExtractors() {
  return siteExtractors;
}
function _resetSiteExtractorsForTest() {
  siteExtractors.length = 0;
  siteExtractors.push(
    githubExtractor,
    stackoverflowExtractor,
    mdnExtractor,
    docsGenericExtractor,
    redditExtractor
  );
  registerSiteExtractor(youtubeExtractor);
  registerSiteExtractor(amazonExtractor);
}
registerSiteExtractor(youtubeExtractor);
registerSiteExtractor(amazonExtractor);
export {
  _resetSiteExtractorsForTest,
  getSiteExtractors,
  registerSiteExtractor
};
//# sourceMappingURL=site-extractors.js.map