项目作者: Boxfort

项目描述 :
Tumblr Image Scraper
高级语言: Python
项目地址: git://github.com/Boxfort/Scrapr.git
创建时间: 2017-09-02T10:30:50Z
项目社区:https://github.com/Boxfort/Scrapr

开源协议:GNU General Public License v3.0

下载


Scrapr

Scrapr is a simple command line image scraper for https://www.tumblr.com.

Requirements

  • Python 2.7
  • BeautifulSoup
    • pip install beautifulsoup4
  • Python-dev
    • sudo apt-get install python-dev

Usage

python main.py [-h] [-t TAG] [-p PAGE] [-n PAGES] [-d DIRECTORY] name

Positional arguments:

  1. name name of blog

Optional arguments:

  1. -h, --help show this help message and exit
  2. -t TAG download images with specified tag.
  3. -p PAGE page to start on.
  4. -n PAGES number of pages to scrape.
  5. -d DIRECTORY directory to save the images.