Files
OneForAll-mirror/data/rules/whatweb/meta-author.json
T
2020-07-29 00:02:06 +08:00

16 lines
600 B
JSON

{
"name": "Meta-Author",
"author": "Brendan Coles <bcoles@gmail.com>",
"version": "0.1",
"description": "This plugin retrieves the author name from the meta name tag - info: http://www.webmarketingnow.com/tips/meta-tags-uncovered.html#author",
"website": null,
"matches": [
{
"regexp": "(?i-mx:<meta[^>^=]+name[\\s]*=[\\s]*['\"]?author['\"]?[^>^=]+content[\\s]*=[\\s]*['\"]([^'^\"^>]+))"
},
{
"regexp": "(?i-mx:<meta[^>^=]+content[\\s]*=[\\s]*['\"]([^\"^'^>]+)['\"][^>^=]+name[\\s]*=[\\s]*['\"]?author['\"]?)"
}
]
}