GithubHelp home page GithubHelp logo

imagescrapper's Introduction

ImageScrapper

Install now.

About

Image scrapper is a chrome extension that can be used to exctract image URLs out of any web page and download them in bulk.

Features

  1. This can also be used to download files of other type (example : pdf)
  2. We can also choose to upload the images directly to google photos (takes up memory from google drive quota )
  3. Ability to pause downloads or download images in the deserved order.
  4. Save the list of URLs to chrome's local storage to download later.
  5. Import and export configurations.

How to use

  1. Study the web page you want to get images from , and do the configuration accordingly in settings page.see How to Configure for details. demo_1
  2. click the accept button in the notifications.
    demo_2
  3. Wait till the application fetches the URLs and click the download button. Content page should not be closed util all the images are fetched.

How to Configure

  1. url : Match pattern that matches to deserved URLs.
  2. path : address of the DOM elements in the document which have URLs of pictures you want to fetch
  3. next : address of the element that has link to the document containing next set of pictures. Leave it blank if there are no more pictures to be fetched.

Syntax

Just like xpath , address should be like location path.The location path consists of steps.Each step is either in form X or X=X or X=X=X

  • id=x --> get elements of id = x
  • childNodes=x --> get xth childNode
  • class=x --> get elements of classname = x
  • class=x=y --> get yth element of class = x
  • tag=x --> get elements of tagname = x
  • tag=x=y --> get yth element of tagname = x
  • ?=x --> get attribute value of name = x
  • navigate --> get document after navigating the address obtained

Example

In javascript , class=gallery=0/tag=input=0/?=value translates to

document.getElementsByclassName('gallery')[0].getElementsByTagName(‘input’)[0].value

Configuration that was shown in the demonstration is

{
  "https://www.unsplash.com/search" : {
    "path":"class=_1pn7R/tag=a=0/?=href/navigate/class=_2yFK- IEpfq=0/tag=img=0/?=src",
    "next":"",
    "url":"https://www.unsplash.com/search/photos/*"
    }
}

imagescrapper's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.