Giter VIP home page Giter VIP logo

multiple-images-watermark-remover's Introduction

Multiple Images Watermak Remover

Mode of operation

The program uses the webscraping technique and uses the watermarkremover.io website to remove watermarks from images of your choice. The edited files will be saved in the download directory of your machine.

The code is written in NodeJS (JavaScript) and uses the NPM package "puppeteer".

Why use the program ?

You don't need this program if you are a simple person who wants to remove a watermark from an image of your choice. But if you are a developer creating an ambitious project in which you want to use the watermark removal technique on multiple images and add other features, you can use the piece of code provided in the index.js file to adapt it to your needs.

How to install and use it ?

First of all, I'd like to point out that this program uses the 2captcha API to bypass any Captchas that may occur during scraping. Create a developer account on 2captcha.com and get your token. You will have to pay a few dollars to make it work, but don't worry, it's not expensive at all (about 3 USD for 1000 captchas) !

  • Have NodeJS installed on your machine
  • Download the project
  • Run the npm install command in your terminal
  • Put the URLs of your images in the file imagesUrl.txt (one URL per line)
  • On line 9 of index.js : provider: { id: "2captcha", token: "XXXX" }, paste your 2captcha token in place of the XXXX.
  • Run the program: node index.js in your terminal

Author

Website : https://camillerakoto.fr

enjoy !

multiple-images-watermark-remover's People

Contributors

camillerkt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

multiple-images-watermark-remover's Issues

I'm not a coder, but I ran the code well, but now have a problem

When I run this code, it always runs 3-4 images smoothly and then it quits automatically. Every time it exits, the code's prompt is always timeout 30000ms.
TimeoutError: waiting for selector .hyUBYzfailed: timeout 30000ms exceeded at new WaitTask (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:680:34) at DOMWorld._waitForSelectorInPage (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:564:26) at Object.internalHandler.waitFor (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:34:29) at DOMWorld.waitForSelector (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:493:29) at Frame.waitForSelector (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:1019:51) at Page.waitForSelector (/Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2265:33) at /Users/sam1995/Downloads/Multiple-Images-Watermark-Remover-master/index.js:43:16

What data do I need to change to avoid this problem?

ERROR PROCESING IMAGES

Hi

i am trying to process and recibe this error: TimeoutError: waiting for selector .hyUBYz failed: timeout 30000ms exceeded

what do I need to do to fix this error?

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.