NikolaiT/GoogleScraper

No results for Yandex

krawez opened this issue · 1 comments

Yandex results deliver unfortunatelly no results, though it says success

I fixed it in the following commit: 40ab7f1

You can specify the CSS selectors for your search engine page in the file parsing.py. For yandex the selectors are now:

    normal_search_selectors = {
        'results': {
            'de_ip': {
                'container': '.serp-list',
                'result_container': '.serp-item',
                'link': 'a.link::attr(href)',
                'snippet': 'div.text-container::text',
                'title': 'div.organic__url-text::text',
                'visible_link': '.typo_type_greenurl::text'
            }
        }
    }