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个陌生人沟通,您关注之后成为粉丝就可以无限沟通了)。
郑重声明与注意事项:
github.com/chenhaoxian…
这是我fork原来作者的,并且在他的基础上可能进行迭代。
github.com/chenhaoxian…
这是我fork原来作者的,并且在他的基础上可能进行迭代。
含有解决方案的文章地址:
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, inhistory = [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…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
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, inb1 = 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…
问题描述:
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, inb1 = 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…
问题详情:
Traceback (most recent call last): File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 6, infrom 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…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
我这边到了时间之后,也是显示 “抢购失败,无法获取生成订单的基本信息,接口返回:null“, 是怎么回事呢?
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
含有解决方案的文章地址:
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' 复制代码
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
chenhx.blog.csdn.net/article/det…
这两篇包含不同的解决方案。
问题描述:
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
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…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
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…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
运行淘宝/天猫超市的脚本是使用无头浏览器来测试。 必须安装好:chromedriver
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
chenhx.blog.csdn.net/article/det…
更加方便获取eid和fp的一种方式-通过HTML文件【京东飞天茅台1499抢购】
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
问题描述:
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…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…
含有解决方案的文章地址:
chenhx.blog.csdn.net/article/det…