Yandex search library
Project description
Yandex Search
Search library for yandex.ru search engine.
Yandex allows 10,000 searches per day when registered with a validated (international) mobile number.
Example
>>> yandex = yandex_search.Yandex(api_user='asdf', api_key='asdf') >>> yandex.search('"Interactive Saudi"') {"items": [{ "snippet": "Your Software Development Partner In Saudi Arabia . Since our early days in 2003, our main goal in Interactive Saudi Arabia has been: \"To earn customer respect and maintain long-term loyalty\".", "url": "http://www.interactive.sa/en", "title": "Interactive Saudi Arabia Limited", "domain": "www.interactive.sa" }] }
Getting Started
register account: https://passport.yandex.ru/registration
use google translate addon (right-click “translate page”)
configure yandex: https://xml.yandex.ru/settings.xml
find “key” under “test”
set IP to your querying machine
Notes
Yandex highlights matching terms, leading to extra whitespace from ‘ ‘.join
Alternatives
pyyaxml is py2-only and was giving me grief ;)
Documentation
search operators:
settings:
docs:
History
0.3.0 (2017-06-11)
better log output for issues with error message code parsing
0.2.0 (unreleased)
made it better ;)
0.1.0-dev (unreleased)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yandex_search-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f71c4a28ee8ba498e56abcbacb24edf171d459f60702924977d126a2e5e4ee |
|
MD5 | ea13ec3adc0bb6461cd3068f328fbf9c |
|
BLAKE2b-256 | 3bed84ec730ca5e5dd0dd38eea37a67b8cc0ed45f26949565cf1bfb8f26567db |