Skip to main content

SE::Yandex::SafeBrowsing - Checking domain in Yandex blacklist

SE::Yandex::SafeBrowsing

SE::Yandex::SafeBrowsing parser overview

SE::Yandex::SafeBrowsingSE::Yandex::SafeBrowsing checks if a domain is in Yandex blacklist.

A-Parser functionality allows saving parsing settings for SE::Yandex::SafeBrowsing parser for further use (presets), setting up parsing schedule and much more.

Saving results is possible in the format and structure that you need, thanks to the built-in powerful Template Toolkit that allows applying additional logic to the results and outputting data in various formats, including JSON, SQL and CSV.

List of collected data

  • Detection in the list of suspicious sites

Data collected by SE::Yandex::SafeBrowsing parser

Use cases

  • Checking a list of domains for inclusion in Yandex blacklist
  • Monitoring your domains for inclusion in Yandex blacklist

Query examples

As queries, you need to specify the URL of the site you are looking for, for example:

http://a-parser.com/  
http://www.yandex.ru/
http://google.com/
http://vk.com/
http://facebook.com/
http://youtube.com/

As a result, the URL is displayed and whether it is in Yandex blacklist. Example:

http://vk.com/: 0  
http://www.yandex.ru/: 0
http://youtube.com/: 0
http://facebook.com/: 0
http://google.com/: 0
http://a-parser.com/: 0

Result output options

A-Parser supports flexible formatting of results thanks to the built-in Template Toolkit, which allows it to output results in any form, as well as in a structured form, such as CSV or JSON.

Saving in SQL format

Result format:

[% "INSERT INTO yandexSafeBrowsing VALUES('" _ query _ "', '" _ p1.exists _ "')\n" %]

Example result:

INSERT INTO dns VALUES('http://google.com', '0')
INSERT INTO yandexSafeBrowsing VALUES('http://yandex.ru', '0')
INSERT INTO yandexSafeBrowsing VALUES('http://a-parser.com', '0')
INSERT INTO yandexSafeBrowsing VALUES('http://vk.com', '0')
INSERT INTO yandexSafeBrowsing VALUES('http://facebook.com', '0')

Dumping results in JSON

Result format:

[% data = {}; 
data.query = query;
data.ip = p1.ip; %]$data.json\n

Example result:

{"ip":"31.13.79.35","query":"facebook.com"}
{"ip":"172.217.174.174","query":"google.com"}
{"ip":"5.255.255.50","query":"yandex.ru"}
{"ip":"142.250.71.14","query":"youtube.com"}
{"ip":"87.240.190.67","query":"vk.com"}
{"ip":"176.9.9.90","query":"a-parser.com"}

Possible settings