How does Yandex do its trick?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xarzu
    New Member
    • Apr 2007
    • 90

    How does Yandex do its trick?

    How does Yandex do its trick?

    I want to programatically get the contents of a Yandex.com search result.

    The proglem is that a search page url does not change when you do a search on yandex.com and advance to see more pages. It must be done somehow by javascript. Any ideas?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Either they used AJAX which does utilize javascript. Or they submitted the form using POST, which does not need javascript.

    To know which one, you'll have to look at the source code.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      they do an ajax-call - example: searching for 'foo'

      Code:
      Request URL:http://www.yandex.com/yandsearch?callback=jQuery17206589801728259772_1353055233908&yu=6637636561352994895&text=foo&lr=87&p=1&ajax=%7B%22b-serp2-list%22%3A%7B%7D%2C%22b-more%22%3A%7B%7D%7D&_=1353055234047
      Request Method:GET

      Comment

      Working...