Example #1
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = "ExaleadSearch"
     self.addr = "http://www.exalead.com/search/web/results/"
     self.per_page_num = 30
Example #2
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = self.register(domain)
     self.module = 'Search'
     self.source = 'ShodanAPISearch'
     self.addr = 'https://api.shodan.io/shodan/host/search'
     self.key = Oneforall.shodan_api_key
Example #3
0
 def __init__(self, domain):
     Search.__init__(self)
     self.source = 'GiteeSearch'
     self.module = 'Search'
     self.addr = 'https://search.gitee.com/'
     self.domain = self.register(domain)
     self.header = self.get_header()
Example #4
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'SogouSearch'
     self.addr = 'https://www.sogou.com/web'
     self.limit_num = 1000  # 限制搜索条数
Example #5
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'GoogleSearch'
     self.init = 'https://www.google.com/'
     self.addr = 'https://www.google.com/search'
Example #6
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'SoSearch'
     self.addr = 'https://www.so.com/s'
     self.limit_num = 640  # 限制搜索条数
     self.per_page_num = 10  # 默认每页显示10页
Example #7
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'DuckDuckGoSearch'
     self.addr = 'https://duckduckgo.com/html/'
     self.header = self.get_header()
     self.delay = 2
Example #8
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'BingSearch'
     self.init = 'https://www.bing.com/'
     self.addr = 'https://www.bing.com/search'
     self.limit_num = 1000  # 限制搜索条数
Example #9
0
 def __init__(self, domain):
     Search.__init__(self)
     self.module = 'Search'
     self.source = 'BaiduSearch'
     self.init = 'https://www.baidu.com/'
     self.addr = 'https://www.baidu.com/s'
     self.domain = domain
     self.limit_num = 750  # 限制搜索条数
Example #10
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'AskSearch'
     self.addr = 'https://www.search.ask.com/web'
     self.limit_num = 200  # 限制搜索条数
     self.per_page_num = 10  # 默认每页显示10页
Example #11
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'YandexSearch'
     self.init = 'https://yandex.com/'
     self.addr = 'https://yandex.com/search'
     self.limit_num = 1000  # 限制搜索条数
     self.delay = 5
Example #12
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'FoFaAPISearch'
     self.addr = 'https://fofa.so/api/v1/search/all'
     self.delay = 1
     self.email = api.fofa_api_email
     self.key = api.fofa_api_key
Example #13
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'ZoomEyeAPISearch'
     self.addr = 'https://api.zoomeye.org/web/search'
     self.delay = 2
     self.user = api.zoomeye_api_usermail
     self.pwd = api.zoomeye_api_password
Example #14
0
 def __init__(self, domain):
     Search.__init__(self)
     self.source = 'GithubAPISearch'
     self.module = 'Search'
     self.addr = 'https://api.github.com/search/code'
     self.domain = self.register(domain)
     self.session = requests.Session()
     self.auth_url = 'https://api.github.com'
     self.token = api.github_api_token
Example #15
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'YahooSearch'
     self.init = 'https://search.yahoo.com/'
     self.addr = 'https://search.yahoo.com/search'
     self.limit_num = 1000  # 限制搜索条数
     self.delay = 5
     self.per_page_num = 40
Example #16
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'GoogleAPISearch'
     self.addr = 'https://www.googleapis.com/customsearch/v1'
     self.delay = 1
     self.key = api.google_api_key
     self.cx = api.google_api_cx
     self.per_page_num = 10  # 每次只能请求10个结果
Example #17
0
 def __init__(self, domain):
     Search.__init__(self)
     self.domain = domain
     self.module = 'Search'
     self.source = 'BingAPISearch'
     self.addr = 'https://api.cognitive.microsoft.com/' \
                 'bingcustomsearch/v7.0/search'
     self.id = Oneforall.bing_api_id
     self.key = Oneforall.bing_api_key
     self.limit_num = 1000  # 必应同一个搜索关键词限制搜索条数
     self.delay = 1  # 必应自定义搜索限制时延1秒
Example #18
0
 def __init__(self, domain):
     Search.__init__(self)
     self.source = 'GithubSearch'
     self.module = 'Search'
     self.addr = 'https://github.com/search'
     self.domain = self.register(domain)
     self.header = self.get_header()
     self.session = requests.Session()
     self.login_url = 'https://github.com/login'
     self.post_url = 'https://github.com/session'
     self.email = Oneforall.github_email
     self.password = Oneforall.github_password