Skip to main content

SE::Brave - Brave search engine scraper

Brave

Parser Overview

The Brave search results parser allows you to collect data from a fast-growing, privacy-oriented search engine. With it, you can obtain link databases ready for further use. You can use queries in the same format as you enter them in Brave, including search operators.

Thanks to A-Parser multi-threaded operation, the query processing speed can be very high, allowing you to process large volumes of data in a short time.

A-Parser functionality allows you to save parsing settings for future use (presets), set a parsing schedule, and much more. You can use query multiplication, substitution of subqueries from files, and iteration of alphanumeric combinations and lists to obtain the maximum possible number of results.

Saving results is possible in the form and structure you need, thanks to the built-in powerful Template Toolkit template engine, which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

Collected Data

  • Links, anchors, and snippets from the search results, as well as the date from the snippet (if available)
  • List of related keywords

Capabilities

  • support for all Brave search operators (site:, inurl:, etc.)
  • specifying the number of pages (from 1 to 10); on average, Brave provides about 10 results per page
  • specifying the search region and interface language of the resulting page
  • ability to obtain accurate local results; location detection by IP or exact specification is supported
  • ability to choose the type of results; in addition to the main organic results, the Brave parser can collect news or video results
  • supports specifying the result time (all time or for a specific interval from 24 hours to a year)
  • session support

Use Cases

  • Collecting link databases - for XRumer, AllSubmitter, GSA Ranker, etc.
  • SERP dumping, including links, anchors, and snippets, allows for deep analysis for SEO specialists and marketers.
  • Searching for backlinks and site mentions
  • Any other options involving obtaining search results for an unlimited number of queries

Queries

As queries, you need to specify search phrases exactly as if you were entering them directly into the Brave search form, for example:

buy car
windows in Kyiv
site:https://lenta.ru
inurl:guestbook

Query Substitutions

You can use built-in macros for query multiplication; for example, if we want to get a very large database of forums, we will specify several main queries in different languages:

forum
forum
foro
论坛

In the query format, we will specify a character iteration from a to zzzz; this method allows for maximum rotation of search results and obtaining many new unique results:

$query {az:a:zzzz}

This macro will create 475254 additional queries for each original search query, which will total 4 x 475254 = 1901016 search queries—an impressive figure, but no problem at all for A-Parser. At a speed of 2000 queries per minute, such a task will be processed in just 16 hours.

Using Operators

You can use search operators in the query format, so they will be automatically added to each query from your list, for example:

inurl:$query

Output Results Examples

A-Parser supports flexible result formatting thanks to the built-in Template Toolkit template engine, which allows it to output results in an arbitrary form, as well as in a structured one, such as CSV or JSON

Exporting a List of Links

Result format:

$serp.format('$link\n')

Example result:

https://www.mobile.de/ru
https://auto.drom.ru/
https://autospot.ru/brands/
https://www.destacar.de/
https://www.autoscout24.de/auto/gebrauchtwagen/bayern/falkenstein/
https://www-autoservice-falkenstein.skoda-auto.de/?e=7
https://auto.ru/
https://www.autohaus-schueler.de/
https://www.avtogermes.ru/sale/
https://falkenstein.seat.de/
...

Result format:

[% FOREACH item IN serp;
loop.count _ ' - ' _ item.link _ ' - ' _ item.anchor _ ' - ' _ item.snippet _ "\n";
END %]

Example result:

1 - https://www.mobile.de/ru - mobile.de: used cars — ads for ... - mobile.de/ru is part of mobile.de, Germany's largest vehicle market. mobile.de makes buying a car easy. With a simple search and a few clicks, you get a complete overview of the market.
2 - https://auto.drom.ru/ - Sale of cars in Russia. Use... - 775,361 ads for the sale of cars. Sale of new and used cars from 10,000 rubles. Car dealerships and private ads.
3 - https://www.destacar.de/ - Cars from Germany to order | ... - Destacar is always ready to help you in searching, selecting, inspecting, and purchasing a car in Germany. We will help you buy a used car in Germany, perform an inspection and test drive so that you are completely confident in the condition of your car.
4 - https://autospot.ru/brands/ - Buy a car in Moscow: prices for ... - ✸ Car selection by parameters in Moscow: prices in the Autospot car catalog. ✸ Catalog of cars with prices and technical specifications - sale from official dealers.
5 - https://www.autoscout24.de/auto/gebrauchtwagen/bayern/falkenstein/ - Gebrauchtwagen Falkenstein: Auto günstig kaufen - Gebrauchtwagen & Jahreswagen in Falkenstein kaufen und verkaufen bei AutoScout24.de - Europas großem Automarkt » Jetzt finden oder inserieren!
6 - https://www-autoservice-falkenstein.skoda-auto.de/?e=7 - ŠKODA Gebrauchtwagen in Falkenstein | Auto-Service Falkenstein GmbH - ŠKODA Gebrauchtwagen in Falkenstein | Auto-Service Falkenstein GmbH ✔ Günstig finanzieren ✔ Beste ŠKODA Vorführwagen und Jahreswagen ✔ ŠKODA gebraucht kaufen ✔ Probefahrt vereinbaren
7 - https://auto.ru/ - Auto.ru: buy, sell and exchange ... - This site operates in accordance with the legislation of the Russian Federation and is not intended for operation in your region. By continuing to use the site, ...
8 - https://www.autohaus-schueler.de/ - Ihr Audi und VW Autohaus Schüler in Falkenstein - Ihr Autohaus Schüler in Falkenstein, Oelsnitz, Plauen & Wilkau-Hasslau - Wir bieten ein großes Angebot an Neu- und Gebrauchtwagen, Audi & VW Service.
...

The built-in utility $tools.CSVLine allows you to create correct tabular documents ready for import into Excel or Google Sheets.

General result format:

[%  FOREACH item IN p1.serp;
tools.CSVline(item.link, item.anchor, item.snippet);
END %]

File name:

$datefile.format().csv

Initial text:

Link,Anchor,Snippet

Example result:

Link,Anchor,Snippet
https://www.mobile.de/ru,"mobile.de: used cars — ads for ...","mobile.de/ru is part of mobile.de, Germany's largest vehicle market. mobile.de makes buying a car easy. With a simple search and a few clicks, you get a complete overview of the market."
https://auto.drom.ru/,"Sale of cars in Russia. Use...","775,361 ads for the sale of cars. Sale of new and used cars from 10,000 rubles. Car dealerships and private ads."
https://www.destacar.de/,"Cars from Germany to order | ...","Destacar is always ready to help you in searching, selecting, inspecting, and purchasing a car in Germany. We will help you buy a used car in Germany, perform an inspection and test drive so that you are completely confident in the condition of your car."
https://autospot.ru/brands/,"Buy a car in Moscow: prices for ...","✸ Car selection by parameters in Moscow: prices in the Autospot car catalog. ✸ Catalog of cars with prices and technical specifications - sale from official dealers."
https://www.autoscout24.de/auto/gebrauchtwagen/bayern/falkenstein/,"Gebrauchtwagen Falkenstein: Auto günstig kaufen","Gebrauchtwagen & Jahreswagen in Falkenstein kaufen und verkaufen bei AutoScout24.de - Europas großem Automarkt » Jetzt finden oder inserieren!"
https://www-autoservice-falkenstein.skoda-auto.de/?e=7,"ŠKODA Gebrauchtwagen in Falkenstein | Auto-Service Falkenstein GmbH","ŠKODA Gebrauchtwagen in Falkenstein | Auto-Service Falkenstein GmbH ✔ Günstig finanzieren ✔ Beste ŠKODA Vorführwagen und Jahreswagen ✔ ŠKODA gebraucht kaufen ✔ Probefahrt vereinbaren"
https://auto.ru/,"Auto.ru: buy, sell and exchange ...","This site operates in accordance with the legislation of the Russian Federation and is not intended for operation in your region. By continuing to use the site, ..."
https://www.autohaus-schueler.de/,"Ihr Audi und VW Autohaus Schüler in Falkenstein","Ihr Autohaus Schüler in Falkenstein, Oelsnitz, Plauen & Wilkau-Hasslau - Wir bieten ein großes Angebot an Neu- und Gebrauchtwagen, Audi & VW Service."
...
tip

In the General result format, the Template Toolkit template engine is used to output the $serp array in a FOREACH loop.

In the result file name, you simply need to change the file extension to csv.

To make the "Initial text" option available in the Task Editor, you need to activate "More options". In "Initial text", write the column names separated by commas and make the second line empty.

Result format:

$related.format('$key\n')

Example result:

test speed
ookla speed test
speed test wifi
internet speed test
run speed test
fast speed test
mbps test
test 2
test match
google speed test
...

Saving in SQL Format

Result format:

[%  FOREACH serp;
"INSERT INTO serp VALUES('" _ query _ "', '";
link _ "', '";
anchor _ "')\n";
END %]

Example result:

    
INSERT INTO serp VALUES('test', 'https://www.speedtest.net/', 'Speedtest by Ookla - The Global Broadband Speed Test')
INSERT INTO serp VALUES('test', 'https://www.merriam-webster.com/dictionary/test', 'TEST Definition & Meaning - Merriam-Webster')
INSERT INTO serp VALUES('test', 'https://englishtest.duolingo.com/', 'Duolingo English Test')
INSERT INTO serp VALUES('test', 'https://link.springer.com/journal/11749', 'Home | TEST | Springer Nature Link')
INSERT INTO serp VALUES('test', 'https://test.io/', 'Home | Test IO')
INSERT INTO serp VALUES('test', 'https://www.spectrum.com/internet/speed-test', 'Spectrum Internet Speed Test: Broadband Internet Speed Check')
INSERT INTO serp VALUES('test', 'https://fast.com/', 'Internet Speed Test | Fast.com')
INSERT INTO serp VALUES('test', 'https://en.wikipedia.org/wiki/Test', 'Test - Wikipedia')
...

Dumping Results to JSON

General output format:

[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;

obj = {};
obj.results = [];

FOREACH item IN p1.serp;
obj.results.push({
link = item.link
anchor = item.anchor
snippet = item.snippet
});
END;

obj.json %]

Initial text:

[

Final text:

]

Example result:

{"results":[{"link":"https://www.speedtest.net/","snippet":"Use Speed<strong>test</strong> on all your devices with our free desktop and mobile apps.","anchor":"Speedtest by Ookla - The Global Broadband Speed Test"},{"link":"https://www.merriam-webster.com/dictionary/test","snippet":"The meaning of TEST is <strong>a means of testing</strong>. How to use test in a sentence.","anchor":"TEST Definition & Meaning - Merriam-Webster"},{"link":"https://englishtest.duolingo.com/","snippet":"The Duolingo English Test is a fast, affordable online English exam accepted by institutions worldwide. Take it anytime and get results in 2 days","anchor":"Duolingo English Test"},{"link":"https://link.springer.com/journal/11749","snippet":"Journal TEST <strong>focuses on cutting-edge research in all areas of Statistics and Probability with significant theoretical, methodological, and applied impact</strong>. ...","anchor":"Home | TEST | Springer Nature Link"},{"link":"https://test.io/","snippet":"Test IO delivers a full range of web, mobile, and IoT <strong>test</strong>ing, delivered as a service.","anchor":"Home | Test IO"},{"link":"https://www.spectrum.com/internet/speed-test","snippet":"Test your broadband Internet and WiFi speed with the Internet Speed Test. Check your upload and download speeds for your home Internet network.","anchor":"Spectrum Internet Speed Test: Broadband Internet Speed Check"},{"link":"https://fast.com/","snippet":"FAST.com will <strong>test</strong> Internet speed globally on any device (phone, laptop, or smart TV with browser).","anchor":"Internet Speed Test | Fast.com"},{"link":"https://en.wikipedia.org/wiki/Test","snippet":"Look up test, testing, Test, or TEST in Wiktionary, the free dictionary. ... Test (assessment), <strong>an educational assessment intended to measure the respondents&#x27; knowledge or other abilities</strong> ... Test., abbreviation for Testament, referring to the Old Testament and New Testament of the Christian Bible.","anchor":"Test - Wikipedia"},{"link":"https://speed.cloudflare.com/","snippet":"Test your Internet connection. Check your network performance with our Internet speed <strong>test</strong>. Powered by Cloudflare&#x27;s global edge network.","anchor":"Internet Speed Test - Measure Network Performance | Cloudflare"},{"link":"https://testmy.net/","snippet":"TestMy.net is a powerful broadband speed <strong>test</strong> that will <strong>test</strong> your Internet, calculate your transfer rate and output accurate, reliable and easy to understand results. TestMy.net is an independent third party and is not affiliated with your Internet service provider.","anchor":"Internet Speed Test"},{"link":"https://www.livechat.com/typing-speed-test/","snippet":"The faster you type, the faster you communicate with others. With our free typing speed <strong>test</strong>, you can check your WPM and CPM typing scores in a flash!","anchor":"Free Typing Test - Check Your Typing Speed in 60 Seconds | LiveChat ..."},{"link":"https://fiber.google.com/speedtest/","snippet":"Test your current internet speed, and find out how fast your broadband wi-fi handles uploads and downloads. See Google Fiber plan options for faster internet.","anchor":"Internet Speed Test | Check Broadband Speed | Google Fiber"},{"link":"https://zoom.us/test","snippet":"Preview your next Zoom Meeting using out <strong>test</strong> meeting tool to check your settings and display.","anchor":"Join a Test Meeting | Zoom"},{"link":"https://implicit.harvard.edu/implicit/takeatest.html","snippet":"On the next page, you&#x27;ll be asked to select an Implicit Association Test (IAT) from a list of possible topics. We&#x27;ll also ask you (optionally) to report your attitudes or beliefs about these topics and give you some information about yourself. We ask these questions because the IAT can be more valuable if you also describe your own self-understanding of the attitude or stereotype that the IAT measures.","anchor":"Take a Test"},{"link":"https://www.act.org/content/act/en/products-and-services/the-act.html","snippet":"The ACT <strong>test</strong> is a curriculum-based education and career planning tool for high school students that assesses the mastery of college readiness standards","anchor":"The ACT Test for Students | ACT"},{"link":"https://play.google.com/store/apps/details?id=org.zwanoo.android.speedtest&hl=en_US","snippet":"Test your download and upload speeds as well as three measures of latency to check a slow connection or use the app to make sure your network is ready for a gaming session. Use real-world data to find out where mobile network coverage is strong and weak for providers in your area with the Speed<strong>test</strong> Maps tab.","anchor":"Speedtest by Ookla - Apps on Google Play"},{"link":"https://speedtest.xfinity.com/","snippet":"Xfinity Speed Test – You need to enable JavaScript to run this app","anchor":"Xfinity Speed Test - Check Your Internet Speed"},{"link":"https://www.ada.org/education/testing/exams/dental-admission-test-dat","snippet":"Find out how to apply for, prepare for, take, and receive scores for the Dental Admission Test (DAT).","anchor":"Dental Admission Test (DAT) | American Dental Association"},{"link":"https://www.16personalities.com/free-personality-test","snippet":"Take our free personality <strong>test</strong> and discover your personality type in 10 minutes. Get a ‘freakishly accurate’ description of who you are and why you do things the way you do.","anchor":"Free personality test | 16Personalities"},{"link":"https://www.faa.gov/uas/recreational_flyers/knowledge_test_updates","snippet":"The law requires that all recreational flyers pass an aeronautical knowledge and safety <strong>test</strong> and provide proof of passage if asked by law enforcement or FAA personnel. The Recreational UAS Safety Test (TRUST) was developed to meet this requirement. TRUST provides education and <strong>test</strong>ing on important safety and regulatory information.","anchor":"The Recreational UAS Safety Test (TRUST) | Federal Aviation ..."}]}
tip

To make the "Initial text" and "End text" options available in the Task Editor, you need to activate "More options".

Possible Settings

Parameter nameDefault valueDescription
Serp typeAllDetermines whether to parse general results (All), news (News), or videos (Videos)
Pages count5Number of pages to parse (from 1 to 10)
RegionAll regionsChoice of country from which the search is performed
Display languageEnglish (United States)Ability to choose the interface language of the search results page, for maximum identity of results in the parser and in the browser
Safe searchModerateAbility to enable "Safe Search"
Search timeAnySERP time (time-dependent search)
Local resultsOn (auto, from IP)Local search, possible values: Off - disabled, Auto - location is determined by the request IP, Manual - the location specified in Manual location is used
Manual locationField for entering the exact location, used only when Local results = Manual. The location must be specified as a pair of coordinates separated by a comma in the format latitude,longitude, for example: 55.780844,37.6572693