amazon-bestseller:刮除所有Amazon网站并显示给定ASIN的畅销书详细信息

  • X2_714986
    了解作者
  • 143.3KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-21 08:03
    上传日期
搜寻所有Amazon网站以获取您产品的Amazon畅销书排名 这是一个Selenium + Python + ChromeDriver应用程序,它将您的Amazon ASIN产品标识符作为第一个也是唯一的参数,依次访问每个站点,抓取数据,并在Selenium窗口的最后显示您的跨站点排名。 使用sudo ./install.sh安装 使用source venv/bin/activate激活环境 使用python amazon-bestseller.py <ASIN> 此脚本需要ChromeDriver,可以从下载 获取与您当前的Chrome安装匹配的安装并将其放在~/.local/bin/ 例如: (venv) kf106@media-pc:~/amazon-bestseller$ python amazon-bestseller.py B07W5HS8XZ
amazon-bestseller-master.zip
  • amazon-bestseller-master
  • docs
  • img
  • screenshot.png
    144KB
  • result.html
    11.5KB
  • install.sh
    1.5KB
  • requirements.txt
    34B
  • amazon-bestseller.py
    1.2KB
  • .gitignore
    1.3KB
  • readme.md
    791B
内容介绍
## Scrape all Amazon sites for your product's Amazon Bestseller Rankings This is a Selenium + Python + ChromeDriver application that takes your Amazon ASIN product identifier as its first and only argument, visits each site in turn, scrapes the data and presents your cross-site rankings in the Selenium window at the end. Install with `sudo ./install.sh` Activate environment with `source venv/bin/activate` Run with `python amazon-bestseller.py <aSIN rel='nofollow' onclick='return false;'>` This script requires ChromeDriver, which can be downloaded from https://chromedriver.chromium.org/downloads Get the one that matches your current Chrome install and put it in `~/.local/bin/` For example: `(venv) kf106@media-pc:~/amazon-bestseller$ python amazon-bestseller.py B07W5HS8XZ` ![Screenshot](docs/img/screenshot.png)
评论
    相关推荐