Skip to main content

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)

Source distribution for scrapy-taobao 1.1.5
File Size Uploaded
scrapy_taobao-1.1.5.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scrapy-taobao 1.1.5
File Interpreter ABI Platform
scrapy_taobao-1.1.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page