예제 #1
0
파일: bing.py 프로젝트: Loptr250/ifind
 def __init__(self, service, source = 'web', adult = 'Strict', market = 'en-GB', resultsPerPage = 10, lat = None, lon = None, radius = 5, sites=None, **args):
   SearchEngine.__init__(self, service, **args)
   sitesearch.__init__(self, sites)
   self.sites = sites
   self.source = source
   self.adult = adult
   self.market = market
   self.resultsPerPage = resultsPerPage
   self.lat = lat
   self.lon = lon
   self.radius = radius
예제 #2
0
파일: bingV2.py 프로젝트: Loptr250/ifind
  def __init__(self, service, source = 'Web', adult = 'Strict', market = 'en-GB', resultsPerPage = 8, filters = None, sortBy = None, newsCategory = None, sites=None, **args):
    SearchEngine.__init__(self, service, **args)
    sitesearch.__init__(self, sites)

    self.source = source
    self.adult = adult
    self.market = market
    self.resultsPerPage = resultsPerPage
    self.filters = filters
    self.sortBy = sortBy
    self.newsCategory = newsCategory
예제 #3
0
 def __init__(self,
              service,
              source='web',
              adult='Strict',
              market='en-GB',
              resultsPerPage=10,
              lat=None,
              lon=None,
              radius=5,
              sites=None,
              **args):
     SearchEngine.__init__(self, service, **args)
     sitesearch.__init__(self, sites)
     self.sites = sites
     self.source = source
     self.adult = adult
     self.market = market
     self.resultsPerPage = resultsPerPage
     self.lat = lat
     self.lon = lon
     self.radius = radius
예제 #4
0
    def __init__(self,
                 service,
                 source='Web',
                 adult='Strict',
                 market='en-GB',
                 resultsPerPage=8,
                 filters=None,
                 sortBy=None,
                 newsCategory=None,
                 sites=None,
                 **args):
        SearchEngine.__init__(self, service, **args)
        sitesearch.__init__(self, sites)

        self.source = source
        self.adult = adult
        self.market = market
        self.resultsPerPage = resultsPerPage
        self.filters = filters
        self.sortBy = sortBy
        self.newsCategory = newsCategory