mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-09-13 21:27:43 +02:00
1.04
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{"version":"2020.V.01.03",
|
||||
{"version":"2020.V.01.04",
|
||||
"build":"pass",
|
||||
"test":"pass",
|
||||
"websites":"37",
|
||||
|
||||
@@ -215,6 +215,7 @@
|
||||
#output-section-1,
|
||||
#output-section-2,
|
||||
#output-section-3,
|
||||
#output-section-4,
|
||||
#most-common-words-section,
|
||||
#words-info-section {
|
||||
display: none;
|
||||
@@ -723,6 +724,13 @@
|
||||
</div>
|
||||
<div id="output-table-3"></div>
|
||||
</div>
|
||||
<div class="box-border-style" id="output-section-4">
|
||||
<div class="div-header">
|
||||
<div class="div-left">Detected Profiles (Special)</div>
|
||||
<div class="div-right"></div>
|
||||
</div>
|
||||
<div id="output-table-4"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
@@ -761,6 +769,8 @@
|
||||
$('#output-table-2').html("");
|
||||
$('#output-section-3').hide();
|
||||
$('#output-table-3').html("");
|
||||
$('#output-section-4').hide();
|
||||
$('#output-table-4').html("");
|
||||
}
|
||||
|
||||
function setup_selectable(tag) {
|
||||
@@ -909,6 +919,20 @@
|
||||
$('#output-section-3').show();
|
||||
}
|
||||
|
||||
if (data.user_info_special.data.length > 0) {
|
||||
var temp_tr = ""
|
||||
data.user_info_special.data.forEach(function (site) {
|
||||
if (site.found > 0) {
|
||||
temp_image = ""
|
||||
temp_tr += '<div class="user-info-container"><div class="user-info-container-left"><div>Link: <a href="' + site.link + '">' + site.link + '</a></div><div>Rate: ' + site.rate + '</div><div>Title: ' + site.title + '</div><div>Text: ' + site.text + '</div></div><div class="user-info-container-right">' + temp_image + '</div></div>'
|
||||
console.log(temp_tr)
|
||||
}
|
||||
});
|
||||
|
||||
$("#output-table-4").html(temp_tr)
|
||||
$('#output-section-4').show();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -721,6 +721,7 @@ app.post("/url", async function (req, res, next) {
|
||||
var info = { "items": [], "original": "", "corrected": "", "total": 0, "checking": "Using " + req.body.string + " with no lookups" }
|
||||
var user_info_normal = {data:{},type:"all"}
|
||||
var user_info_advanced = {data:{},type:"all"}
|
||||
var user_info_special = {data:{},type:"all"}
|
||||
var all_words = { "prefix": [], "name": [], "number": [], "symbol": [], "unknown": [], "maybe": [] }
|
||||
var words_info = []
|
||||
var temp_words = []
|
||||
@@ -730,7 +731,7 @@ app.post("/url", async function (req, res, next) {
|
||||
}
|
||||
else {
|
||||
if (req.body.option.includes("FindUserProflesSpecial")) {
|
||||
user_info_advanced.data = await find_username_special(req.body.string, req.body.option);
|
||||
user_info_special.data = await find_username_special(req.body.string, req.body.option);
|
||||
}
|
||||
if (req.body.option.includes("FindUserProflesFast")) {
|
||||
user_info_advanced.data = await find_username_normal(req.body.string, req.body.option);
|
||||
@@ -861,7 +862,7 @@ app.post("/url", async function (req, res, next) {
|
||||
|
||||
Object.keys(all_words).forEach((key) => (all_words[key].length == 0) && delete all_words[key]);
|
||||
}
|
||||
res.json({ info, table: all_words, common: temp_words, words_info: words_info, user_info_normal: user_info_normal,user_info_advanced: user_info_advanced });
|
||||
res.json({ info, table: all_words, common: temp_words, words_info: words_info, user_info_normal: user_info_normal,user_info_advanced: user_info_advanced,user_info_special: user_info_special});
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user