vipx-bot-detect icon indicating copy to clipboard operation
vipx-bot-detect copied to clipboard

yaml parser errors for extended_crawler.yml

Open tateima opened this issue 5 years ago • 1 comments

Very straightforward one, my parser library is failing when attempting to parse the bot detection config with this error

yq . vendor/vipx/bot-detect/Resources/metadata/extended_crawler.yml yq: Error running jq: ScannerError: while scanning for the next token found character '\t' that cannot start any token in "vendor/vipx/bot-detect/Resources/metadata/extended_crawler.yml", line 73, column 22.

There is a hidden indentation around the here

    meta: { website: 'https://www.botify.com' }**********

tateima avatar Dec 04 '20 02:12 tateima

Hey @tateima! Thanks for reporting. You are more than welcome to make a PR to fix this!

Please keep in mind, however, that I haven't used this library for some time now and I don't know exactly how up-to-date the configuration of the bots still is.

lennerd avatar Dec 05 '20 12:12 lennerd