Vinted-Scraper
这是一个从 Vinted & Depop 下载图像和抓取数据并将其存储在 SQLite 数据库中的工具。
--目前正在开发(WIP)--
如何使用
下载/克隆此 repo
使用
pip install -r requirements.txt下载依赖项运行脚本
python scraper.py
Vinted
将帐户的用户 ID 放入 users.txt 并运行脚本。脚本将下载所有图片并将其放入下载文件夹。数据将存储在 SQLite 数据库中。
弹出
将账户的用户名放入 users.txt 文件中,然后使用-d选项运行脚本。脚本将下载所有图片和视频,并将其保存在 downloads 文件夹中。数据将存储在 SQLite 数据库中。
Related MCP server: MD Webcrawl MCP
参数
-p [Vinted] 从您的私人消息中抓取所有图片。(需要-s登录并-u设置您的用户 ID)-s "your_vinted_fr_session" [Vinted] 登录您的帐户。如何获取 sessionid?-u [Vinted] 设置你的用户 ID-i [Vinted] 定义最多下载的图片数量。最少下载 1 张图片。(例如: -i 1表示仅下载产品的第一张图片)-n [Depop] 禁用文件下载(仅抓取产品信息)-g [Depop]同时下载已售出的物品-b [Depop] 从特定项目开始。(例如: python3 scraper.py -d -n -b "coose-navy-lee-sweatshirt-amazing-lee" )
例子:
从您的 Vinted 帐户下载私人消息中的所有图片python scraper.py -p -u 123456789 -s "RS9KcmE1THMxV3NlclRsbEVRdU52ZVp4UG.......ASFe26"
将被抓取的数据
用户的所有产品图片都将被下载。用户的头像也将被下载。
所有信息都将存储在下表中的 sqlite db 中:
Vinted 用户
UsernameUser_idGenderGiven_item_countTaken_item_countFollowers_countFollowing_countPositive_feedback_countNegative_feedback_countFeedback_reputationAvatarCreated_atLast_loged_on_tsCity_idCityCountry_titleVerification_emailVerification_facebookVerification_googleVerification_phone
Vinted 产品
IDUser_idUrl Favourite GenderCategorySizeStateBrandColorsPriceImagesDescriptionTitlePlatform
Depop 用户
UsernameUser_idBiofirst_namefollowersfollowinginitialsitems_soldlast_namelast_seenAvatarreviews_ratingreviews_totalverifiedwebsite
Depop 产品
IDSoldUser_idGenderCategorySizeStateBrandColorsPriceImageDescriptionTitlePlatformAddressdiscountedPriceAmountdateUpdated
如果您有任何功能请求,请随时提出问题:)
免责声明
此脚本仅供教育用途。它旨在演示网页抓取技术,不得用于任何商业或个人用途。请注意,使用此软件可能违反 Vinted 和 Depop 网站的服务条款,您将承担因使用此软件而产生的任何后果的全部责任。此脚本的创建者对使用此软件造成的任何损害、伤害或损失概不负责。使用风险自负。
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.