某东茅台python自动抢购

京东购物车抢购商品Python代码

 

 

  1. import sys

  2. from jd_spider_requests import JdSeckill

  3.  
  4.  
  5. if __name__ == '__main__':

  6. a = """

  7.  
  8. oooo oooooooooo. .oooooo..o oooo o8o oooo oooo

  9. `888 `888' `Y8b d8P' `Y8 `888 `"' `888 `888

  10. 888 888 888 Y88bo. .ooooo. .ooooo. 888 oooo oooo 888 888

  11. 888 888 888 `"Y8888o. d88' `88b d88' `"Y8 888 .8P' `888 888 888

  12. 888 888 888 8888888 `"Y88b 888ooo888 888 888888. 888 888 888

  13. 888 888 d88' oo .d8P 888 .o 888 .o8 888 `88b. 888 888 888

  14. .o. 88P o888bood8P' 8""88888P' `Y8bod8P' `Y8bod8P' o888o o888o o888o o888o o888o

  15. `Y888P

  16.  
  17. 功能列表:

  18. 1.预约商品

  19. 2.秒杀抢购商品

  20. """

  21. print(a)

  22.  
  23. jd_seckill = JdSeckill()

  24. choice_function = input('请选择:')

  25. if choice_function == '1':

  26. jd_seckill.reserve()

  27. elif choice_function == '2':

  28. jd_seckill.seckill_by_proc_pool()

  29. else:

  30. print('没有此功能')

  31. sys.exit(1)

  32. 某东茅台python自动抢购_第1张图片

  33.  

你可能感兴趣的:(杂类)