Subversion Repositories SmartDukaan

Rev

Rev 1785 | Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1785 Rev 1786
Line 246... Line 246...
246
  def body_callback(self, buf):
246
  def body_callback(self, buf):
247
    self.contents = self.contents + buf
247
    self.contents = self.contents + buf
248
 
248
 
249
 
249
 
250
def main():
250
def main():
251
  for search_string in SEARCH_STRINGS[0:1]:
251
  for search_string in SEARCH_STRINGS:
252
    find_google_position(search_string)
252
    find_google_position(search_string)
253
 
253
 
254
def init_curl(rankRequest, rankCheck):
254
def init_curl(rankRequest, rankCheck):
255
  # set up curl:
255
  # set up curl:
256
  rankRequest.setopt(pycurl.USERAGENT, USER_AGENT)
256
  rankRequest.setopt(pycurl.USERAGENT, USER_AGENT)