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.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
yandex-search-0.2.0.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for yandex_search-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5251e5c4a48d282bf04c3b85b219c7eb19ff034608d377a5dab8a92ef20512da |
|
MD5 | fd2b587f63a4d3870f4c7a35f86f35cf |
|
BLAKE2b-256 | d309b89d84520d2d48b082cccc3105d82082ab6bf02e732d3b76c32722c35b77 |