scrapy-taobao
scrapy模拟淘宝登陆,未加代理ip的处理。希望有好的代理处理方法分享出来。
确保安装了scrapy。
self.http_user = 'xxxxxxxx' # taobao username
self.http_pass = 'xxxxxxxx' # taobao password
记得修改taobao_spider.py中的用户名username和密码password。<br>
运行命令
scrapy crawl taobao
如果用户登陆需要输入验证码,则会自动打开验证码的图片链接让客户手动输入,输入错误会重新打开验证码的图片链接供用户再次输入。
登陆成功的提示
login-success, get user nick: ["user nick"]
用户看到这句代表登陆成功,可以进行一些其他数据的提取。
Metadata
Release files for scrapy-taobao 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrapy_taobao-1.1.5.tar.gz | 6.6 kB | Without provenance | Details for scrapy_taobao-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapy_taobao-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for scrapy_taobao-1.1.5-py3-none-any.whl |
Total release size: 14.0 kB
Release files / scrapy_taobao-1.1.5.tar.gz
| Download URL | scrapy_taobao-1.1.5.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39fdcebb580c4f89999eb2ced9f09ebb31b8e0cd8d2b37374d3c3ce088420ae0
|
|
BLAKE2b-256 checksum How to use checksums |
5b5c93efef48e76b908119b138b339dcdc852ca75c61d046f1f1f4cf26881734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Release files / scrapy_taobao-1.1.5-py3-none-any.whl
| Download URL | scrapy_taobao-1.1.5-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d9c5d1c6199ee8971168c063a9abf6c5d401ad0fce0deeaa00965d3b496080c
|
|
BLAKE2b-256 checksum How to use checksums |
19f6266e4732b2f3abba733aa58ae54fcd1c9dd26a16fc2ce7984103700e6dac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Security for scrapy-taobao 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.