lgraubner / sitemap-generator

Easily create XML sitemaps for your website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crawler Add Fetch Condition

guga-grigolia opened this issue · comments

Feature.

Hi I want to use simplecrawler's Add Fetch Condition functionality and I was not able to pass my own exclusions or override existing ones. If there is some possibility I'd be really thankful if you will point it out for me, or I can create PR for that.

Regards,
Guga

At the moment this is not possible, but can be easily added.

I'm thinking of something like generator.getCrawler() to expose the simplecrawler instance. That way you can easily add new fetch conditions. How does this sound?

Just released v8.1.0 which provides a getCrawler() method. I hope it helps :)

I think the tag is not published on npmjs.com. I can not install that tag through npm.

My bad, seems to have been errored without me noticing. Should be out now for real.

Thank you