mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-05-29 17:08:26 +00:00
[auto-b] Added static websites' info -ref 45b2206c, da1e902e, 8ce31c3b, 1c4d5bab, 6bf85c7e, ef27b136..
This commit is contained in:
@@ -24,7 +24,9 @@ async function extract_metadata(site, source) {
|
||||
temp_dict["itemprop"] = meta[key].attribs.itemprop
|
||||
}
|
||||
if (meta[key].attribs.content) {
|
||||
temp_dict["content"] = meta[key].attribs.content
|
||||
if (meta[key].attribs.content.replace("\n", "").replace("\t", "").replace("\r", "").trim() != ""){
|
||||
temp_dict["content"] = meta[key].attribs.content
|
||||
}
|
||||
}
|
||||
|
||||
["property", "name", "itemprop"].forEach((item, i) => {
|
||||
|
||||
Reference in New Issue
Block a user