__init__.py 580 B

123456789101112131415
  1. from .account_pool import AccountManagePool
  2. from .competitive_product import (
  3. CompetitiveProductClient,
  4. CompetitiveProductServer
  5. )
  6. from .nmpa import NMPAClient, NMPAServer
  7. from .proxy import ProxyPoolServer, get_base_url
  8. # 主题数据爬虫
  9. nmpa = NMPAClient('国家药品监督管理局', 'py_theme', 'nmpa_c')
  10. # 竞品管理
  11. ybw = CompetitiveProductClient('元博网', 'ybw', 'py_spider', 'ybw_list')
  12. zbytb = CompetitiveProductClient('中国招标与采购网', 'zbytb', 'py_spider', 'zbytb_list')
  13. accountManagePool = AccountManagePool('py_spider', 'match_account')