bulk cek index google, gratis ora bayar
buat new file di google Google Sheets
keterangan
1. isi seperti di gambar (kolom URL + kolom index kosongkan)
2. klik TOOL -> script editor
3. paste code ini
function checkIfPageIsIndexed(url)
{
if (!url)
return "N/A";
url = "https://www.google.com/search?q=site:"+url;
var options = {
'muteHttpExceptions': true,
'followRedirects': false
};
var response = UrlFetchApp.fetch(url, options);
var html = response.getContentText();
if ( html.match(/Your search -.*- did not match any documents./) )
return "URL is Not Indexed";
// <div id="resultStats">1 result<nobr> (0.21 seconds) </nobr></div>
// <div id="resultStats">About 112,000,000 results<nobr> (0.22 seconds) </nobr></div>
var num_pages_indexed = false;
if ( num_pages_indexed = html.match(/id="resultStats">.*result/) )
{
num_pages_indexed = num_pages_indexed[0] + "(s)";
num_pages_indexed = num_pages_indexed.replace("id=\"resultStats\">","");
// num_pages_indexed = num_pages_indexed.replace("<","");
}
else
num_pages_indexed = "ERROR";
return "URL is Indexed and returned "+num_pages_indexed;
}
4. jalankan perintah "=checkIfPageIsIndexed(A2)" tanpa tanda kutip di kolom index sesuai kolom domain
ex: =checkIfPageIsIndexed(A2), =checkIfPageIsIndexed(A3), =checkIfPageIsIndexed(A4).. dst
source: facebook
0 Response to "bulk cek index google, gratis ora bayar 😉 "
Posting Komentar