GithubHelp home page GithubHelp logo

showhelloworld / auto_hatchful Goto Github PK

View Code? Open in Web Editor NEW

This project forked from navid2zp/auto_hatchful

0.0 1.0 0.0 21 KB

Bypass Shopify's bot detection and create bulk logos using hatchful logo maker.

License: MIT License

Python 100.00%

auto_hatchful's Introduction

auto_hatchful

Bypass Shopify's bot detection and create bulk logos using hatchful logo maker.

Requirements

You need chrome driver to run this script. Download the driver here: https://sites.google.com/a/chromium.org/chromedriver/downloads

Driver file should be located in the root of the script (next to main.py):

|-- auto_hatchful
        |-- main.py
        |-- scraper.py
        |-- chromedriver.exe # or chromedriver depending on your OS

Install the python requirements: pip install -r requirements.txt

Usage

Edit the list.csv and add as many "name" and "slogan" you want (leave the logo empty) and then run the script: python main.py

The script will create each logo and will place them in the logos folder.

The script will skip any row in list.csv file with a logo path so you can run the script multiple times and it will ignore all the ones with logo path and only creates a logo for the ones without a path.

Using FireFox driver

You can use FireFox driver by overriding the _browser variable in __init__ function in HatchfulScraper class located in scraper.py file.

Script behavior

Delays and random movements

There are random periods of sleep and mouse movements to avoid being detected as a bot. You can probably change and lower the times to make the script work faster but you need to try different durations to get to the minimum delay numbers/durations.

Change number of tries for failure

The script will retry 5 times if creating a logo fails. You can change the number of tries here located in main.py file.

License

MIT

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.