staticgen icon indicating copy to clipboard operation
staticgen copied to clipboard

Stops on 404 405

Open yene opened this issue 5 years ago • 5 comments

Crawler stops on 404 or 405

yene avatar Jan 05 '20 15:01 yene

I forgot to document this option: https://github.com/tj/staticgen/blob/master/config.go#L28 that should do the trick, at least for 404

tj avatar Jan 05 '20 23:01 tj

Got stuck on 404 too.

used this config, but still staticgen doesn't progress beyong 404 error.

{
  "url": "https://www.tssltd.ru",
  "concurrency": 1,
  "dir": "tss-dist",
  "allow_404": true
}

What am I doing wrong?

skatkov avatar Jul 27 '20 18:07 skatkov

Hmm I'll try to check it out soon, config looks fine to me

tj avatar Jul 28 '20 08:07 tj

@tj did you had time to give it a look? Maybe some pointers where problem could be?

skatkov avatar Aug 12 '20 12:08 skatkov

not yet sorry! A quick grep doesn't show Allow404 anywhere though, looks like I maybe added the config but didn't implement it yet

tj avatar Aug 12 '20 14:08 tj