1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】

@[TOC]

原文地址:

chenhx.blog.csdn.net/article/det…

本文最后更新时间:2021年1月6日 20点17分(本文章是问题索引,您遇到问题,直接在本文中内搜索关键字)

很多人学习python,不知道从何学起。
很多人学习python,掌握了基本语法过后,不知道在哪里寻找案例上手。
很多已经做案例的人,却不知道如何去学习更加高深的知识。
那么针对这三类人,我给大家提供一个好的学习平台,免费领取视频教程,电子书籍,以及课程的源代码!??¤
QQ群:232030553

专栏文章的更新时间可以看这篇文章:

chenhx.blog.csdn.net/article/det…

介于最近问文章中已经给出问题解答的朋友越来越多。特把以前的一些问题进行一个汇总,在这里大家可以通过异常或者问题关键字,直接搜索,就可以查找到自己需要的问题,如果没有搜索到。再私信(CSDN有个问题,24小时只能与5个陌生人沟通,您关注之后成为粉丝就可以无限沟通了)。

郑重声明与注意事项:

  • 代码免费,且仅供研究与学习Python之用,请勿用于非法,后果自行承担。
  • 个人研究请于下载后24小时之内进行删除。
  • 专栏提供的是学习研究Python过程中遇到问题的解决方案、以及一些详细的安装使用教程,与爬虫代码无关。
  • 订阅的朋友可以私信本人免费帮忙解决一些简单的Python问题(注意关注我的CSDN,否则私信会受限制)
  • 如果您是完完全全没有接触过Python、没接触过编程的小白(通过我的文章或者指导还是无法自行解决问题),可以找我有chang服务(远程帮您操作,运行一套完整的解决方案,未安装运行成功全额退款),价格:订阅的朋友单次99,未订阅的朋友单次199(定金70%,尾款30%)。
  • 且行且珍惜

淘宝抢购的代码地址

github.com/chenhaoxian…

这是我fork原来作者的,并且在他的基础上可能进行迭代。

京东抢购的代码地址

github.com/chenhaoxian…

这是我fork原来作者的,并且在他的基础上可能进行迭代。

最新版本的代码可以在程序中自动获取eid和fp

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

(Caused by SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),))

问题描述:

[W:pyppeteer.chromium_downloader] start chromium download.
Download may take a few minutes.
[W:pyppeteer.chromium_downloader] start chromium download. Download may take a few minutes. HTTPSConnectionPool(host=‘storage.googleapis.com’, port=443): Max retries exceeded with url: /chromium-browser-snapshots/Win_x64/575458/chrome-win32.zip (Caused by SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),))
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

和京东时间误差***多少毫秒是怎么界定的,正负怎么判断

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

接口返回:【‘addressList’】,我想更新eid,fp,但去下订单,按F12,出来的eid和fp一直不变,怎么办呢?

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

我同时用360极速浏览器和chrome87版本的浏览器获取eid、fp 发现2个浏览器的这两个值不同的,请问要用哪个为准

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

预约普通的商品为什么不行,为什么不能抢购其他商品

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

Traceback (most recent call last): requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

问题描述:

--- Logging error ---
Traceback (most recent call last):
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/jd_seckill/jd_spider_requests.py", line 458, in _seckill
    self.submit_seckill_order()
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/jd_seckill/jd_spider_requests.py", line 704, in submit_seckill_order
    resp = self.session.post(
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/venv/lib/python3.8/site-packages/requests/sessions.py", line 578, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/venv/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/venv/lib/python3.8/site-packages/requests/sessions.py", line 665, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/venv/lib/python3.8/site-packages/requests/sessions.py", line 665, in 
    history = [resp for resp in gen] if allow_redirects else []
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/venv/lib/python3.8/site-packages/requests/sessions.py", line 166, in resolve_redirects
    raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects), response=resp)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 1081, in emit
    msg = self.format(record)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 925, in format
    return fmt.format(record)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 664, in format
    record.message = record.getMessage()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "", line 1, in 
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 129, in _main
    return self._bootstrap(parent_sentinel)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/jd_seckill/jd_spider_requests.py", line 409, in new_func
    return func(self, *args, **kwargs)
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/jd_seckill/jd_spider_requests.py", line 424, in seckill
    self._seckill()
  File "/Users/chenhx/Desktop/github/jd_seckill_anyi/jd_seckill/jd_spider_requests.py", line 461, in _seckill
    logger.info('抢购发生异常,稍后继续执行!', e)
Message: '抢购发生异常,稍后继续执行!'
Arguments: (TooManyRedirects('Exceeded 30 redirects.'),)
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

Python脚本如何切换京东账号登录

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chenhx.blog.csdn.net/article/det…

京东的登录二维码过期如何处理

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

在chromedriver下载页面,怎么根据系统选择下载

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

Exception in Tkinter callback KeyboardInterrupt

问题描述:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1895, in __call__
    return self.func(*args)
  File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 37, in 
    b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
  File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 13, in run_killer
    ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
  File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 127, in sec_kill
    self.keep_wait()
  File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 120, in keep_wait
    sleep(60)
KeyboardInterrupt
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

AttributeError: ‘NoneType’ object has no attribute ‘get’

问题描述:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\48797\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
    return self.func(*args)
  File "D:/脚本-淘宝taobao_seckill20210104/taobao_seckill/main.py", line 37, in 
    b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
  File "D:/脚本-淘宝taobao_seckill20210104/taobao_seckill/main.py", line 13, in run_killer
    ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
  File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 127, in sec_kill
    self.keep_wait()
  File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 113, in keep_wait
    self._login()
  File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 95, in _login
    self.driver.get(login_url)
AttributeError: 'NoneType' object has no attribute 'get'
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

淘宝购物车,茅台数量需要设置多少

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

ERROR:ssl_client_socket_openssl.cc(1158)] handshake failed; returned -1, SSL error code 1, net_error -100

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

ModuleNotFoundError: No module named ‘selenium’

问题详情:

Traceback (most recent call last):
  File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 6, in 
    from seckill.seckill_taobao import ChromeDrive
  File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 11, in 
    from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东的EID和FP也已经有了,可是config.ini这个文件在哪呢,怎么获得

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

我这边到了时间之后,也是显示 “抢购失败,无法获取生成订单的基本信息,接口返回:null“, 是怎么回事呢?

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

请问这个京东脚本运行后,输入2为啥没反应

问题描述:

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】_第1张图片

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

我提前1分钟打开main,然后选2,到10点没反应

问题描述:

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】_第2张图片

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东预约功能无效?还是到明天那个点才能行?

问题描述:1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】_第3张图片

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

pycharm安装后,Python Interpreter只有这两个Package

问题描述:

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】_第4张图片

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东脚本修改如何修改抢购数量

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东茅台提高抢购成功率的几种方式(降低被京东风控的概率)

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

import requests ModuleNotFoundError: No module named ‘requests‘

问题描述:

import requests
ModuleNotFoundError: No module named 'requests'
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chenhx.blog.csdn.net/article/det…

这两篇包含不同的解决方案。

FileNotFoundError: No such file: config.ini

问题描述:

1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】_第5张图片

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

linux命令行如何获取京东的eid和fp

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

windows安装lxml失败、ModuleNotFoundError: No module named ‘lxml’

问题描述:

python main.py
Traceback (most recent call last):
File “main.py”, line 3, in
from jd_spider_requests import JdSeckill
File “/Users/chenhx/Desktop/github/jd_seckill/jd_spider_requests.py”, line 10, in
from lxml import etree
ModuleNotFoundError: No module named ‘lxml’
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chenhx.blog.csdn.net/article/det…

Python的编码问题

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

python2如何升级到python3

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

执行pip install lxml报错

问题描述:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: lxml in /Users/chenhx/Library/Python/2.7/lib/python/site-packages (4.5.1)
复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chrome浏览器下载与安装(包含windows和mac)

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chrome浏览器版本对应的chromedriver下载与安装教程

运行淘宝/天猫超市的脚本是使用无头浏览器来测试。 必须安装好:chromedriver

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

没找到chrome浏览器版本对应的chromedriver怎么办

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

淘宝、天猫超市抢购注意事项

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

淘宝、天猫抢购&配置的教程

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目中config.ini配置中的eid和fp怎么获取

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chenhx.blog.csdn.net/article/det…

更加方便获取eid和fp的一种方式-通过HTML文件【京东飞天茅台1499抢购】

jd_seckill_anyi项目中config.ini配置中的buy_time怎么设置

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目中config.ini配置中的DEFAULT_USER_AGENT怎么设置,要不要设置

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目中config.ini配置中的payment_pwd怎么设置,要不要设置

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目运行报错:抢购链接获取失败,稍后自动重试,是什么情况

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

本机上有多个python版本怎么解决

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目可能造成京东账号变成黒号的行为

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

multiprocess segfault on OSX

问题描述:

Process: Python [39974]
Path: /System/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.7
Code Type: X86-64 (Native)
Parent Process: Python [39965]
Responsible: Terminal [258]
User ID: 501

Date/Time: 2016-02-19 12:05:12.981 +0000
OS Version: Mac OS X 10.14.6
Report Version: 11
Anonymous UUID: 36B6C9B8-4E1D-FCD0-677F-7B3719CA910C

Sleep/Wake UUID: B6BE108A-FCFD-460C-8778-4DB9AED9AB21

Time Awake Since Boot: 970000 seconds
Time Since Wake: 3300 seconds

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000110

VM Regions Near 0x110:
-->
__TEXT 000000010e700000-000000010e701000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python

复制代码

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

jd_seckill_anyi项目报错:抢购失败,无法获取生成订单的基本信息,接口返回:【‘addressList’】

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

安装PyCharm这个软件的时候有没有需要点对勾的

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

Python的版本如何选择

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

天猫超市的茅台购买一定需要支付密码录入在程序里面吗

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东上抢茅台需要充plus会员吗

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

京东上抢茅台需不需要配置账号

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

我的京东账号被风控了,怎么办

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

如何降低自己被京东风控的概率

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

Unable to find chromedriver, Please check the drive path.

含有解决方案的文章地址:

chenhx.blog.csdn.net/article/det…

你可能感兴趣的:(python,python爬虫,python编程,编程语言,网络爬虫)