Yandex search results parser for collecting links by topic and region.
This project automatically collects unique links from Yandex search results for a given topic and region. The script uses Puppeteer to emulate a browser, supports filtering by keywords and domains, and saves results to a text file.
- Yandex search with real user emulation
- Customizable topic and region
- Filtering by keywords in snippets
- Excluding unwanted domains
- Saving unique links to a file
- Minimal console output (progress and summary only)
- Install dependencies:
npm install
- Run the parser:
npm run start
All parameters are set in src/index.js
in the config
object:
topic
— search topiclocation
— search regioncriteria
— keyword filtersignoreDomains
— list of domains to excludepages
— number of pages to parsedelay
— delay between pages (ms)yandexCookiesPath
— path to Yandex cookies (optional, recommended)
Links are saved to a text file with the date and time in the filename. Example:
22-07-2025-14-30-12-yandex.txt
- For best results, use up-to-date Yandex cookies (optional, but recommended).
- All result and temp files are ignored by git (see
.gitignore
). - Google search is not supported (removed by request).
MIT